Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gtk] Borders, Background, Shadow: refactor to use Widget.Drawn #71

Open
lytico opened this issue Mar 25, 2024 · 0 comments
Open

[Gtk] Borders, Background, Shadow: refactor to use Widget.Drawn #71

lytico opened this issue Mar 25, 2024 · 0 comments

Comments

@lytico
Copy link
Collaborator

lytico commented Mar 25, 2024

issue

  1. Border support is limited with Gtk.Css-Features.

  2. There is a problem with Drawing a Picture as Background

Currently this is implemented with an url to a tempfile

  1. Shadows doesn't work at all, although implemented:

ViewExtensions.UpdateShadow

proposal

Draw borders / backgrounds using Widget.Drawn-Event

set in ViewHandler / Borderhandler

and draw Colors/Paints/Borders over Cairo.Context

@lytico lytico changed the title [Gtk] Borders, Background: refactor to use Widget.Drawn [Gtk] Borders, Background, Shadow: refactor to use Widget.Drawn Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant