Re: wip/baedert/drawing branch

2017-05-18 Thread Matthias Clasen
On Thu, May 18, 2017 at 3:19 PM, Timm Bäder wrote: > > > How _are_ they done now ? > > gtk_widget_snapshot just draws it around the widget if > gtk_widget_has_visible_focus returns TRUE for it: > https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c?h= >

Re: wip/baedert/drawing branch

2017-05-18 Thread Timm Bäder
On 18.05, Matthias Clasen wrote: > On Thu, May 18, 2017 at 11:52 AM, Timm Bäder wrote: > Hey Tim, thanks for writing this up. > > Let me ask a few questions that are unclear to me, before we discuss the > individual things: > > - What are the overall goals here ? That would be

Re: wip/baedert/drawing branch

2017-05-18 Thread Matthias Clasen
On Thu, May 18, 2017 at 11:52 AM, Timm Bäder <m...@baedert.org> wrote: > Hi, > > I've collected a whole bunch of changes in th wip/baedert/drawing branch. > Here's a little overview of how things work in there, so we can decide > if it's the right way forward. > Hey

wip/baedert/drawing branch

2017-05-18 Thread Timm Bäder
Hi, I've collected a whole bunch of changes in th wip/baedert/drawing branch. Here's a little overview of how things work in there, so we can decide if it's the right way forward. Internals: - gtk_widget_snapshot automatically draws CSS background and border for all widgets. It then calls