WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
14609
gdk painting changes
https://bugs.webkit.org/show_bug.cgi?id=14609
Summary
gdk painting changes
Holger Freyther
Reported
2007-07-13 10:54:27 PDT
Various gdk painting changes spanning across multiple files including fixes for PlatformScrollbar, not using a GdkPixmap for drawing the themes because GraphicsContext will store the used native GdkWindow to draw on.
Attachments
Painting Chnages
(18.07 KB, patch)
2007-07-13 10:58 PDT
,
Holger Freyther
zimmermann
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Holger Freyther
Comment 1
2007-07-13 10:58:09 PDT
Created
attachment 15502
[details]
Painting Chnages Fix drawing of PlatformScrollbar, fix ownership of it, do not tripple buffer RenderThemeGdk, this should fix drawing rounded buttons as well. Lazily get the gdkDrawable as it might not be created at the time Widget::setGtkWidget is getting called. The drawable will exist when doing painting.
Nikolas Zimmermann
Comment 2
2007-07-15 15:50:19 PDT
Comment on
attachment 15502
[details]
Painting Chnages Hi Holger, even though I'm not a gdk/gtk expert this looks like a nice patch. I'm not sure wheter you are adhering to the style guide in the gdk port, if yes, tiny remark: +struct FrameGdkExposeData{ + GtkContainer *container; + GdkEventExpose *expose; +}; missing space after {, stars should be moved. + +static void +frame_gdk_expose_child(GtkWidget *widget, gpointer _data) +{ Don't use two lines here. Other than style remarks, all fine, r=me. Greetings, Niko
Nikolas Zimmermann
Comment 3
2007-07-15 15:50:30 PDT
Comment on
attachment 15502
[details]
Painting Chnages Hi Holger, even though I'm not a gdk/gtk expert this looks like a nice patch. I'm not sure wheter you are adhering to the style guide in the gdk port, if yes, tiny remark: +struct FrameGdkExposeData{ + GtkContainer *container; + GdkEventExpose *expose; +}; missing space after {, stars should be moved. + +static void +frame_gdk_expose_child(GtkWidget *widget, gpointer _data) +{ Don't use two lines here. Other than style remarks, all fine, r=me. Greetings, Niko
Holger Freyther
Comment 4
2007-07-15 22:57:03 PDT
We do adhere the CodingStyle (well besides webkitgtklayout.c as in another patch). So please let me fix that before landing this patch.
Holger Freyther
Comment 5
2007-07-16 13:41:48 PDT
Landed in
r24322
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug