Commit Graph

23023 Commits

Author SHA1 Message Date
5eabd8c6fa scrolledwindow: Move paint function into expose handler
Also remove the is_drawable() check. It will not be needed once we have
the draw vfunc.
2010-09-26 15:11:38 +02:00
8af968946f viewport: No need to check if the widget is drawable anymore 2010-09-26 15:11:38 +02:00
bf8df2daea viewport: Port to draw vfunc 2010-09-26 15:11:38 +02:00
4a23b12911 viewport: Pass sizes explicitly to paint functions 2010-09-26 15:11:38 +02:00
e087fe7e99 viewport: Merge gtk_viewport_paint() into expose function 2010-09-26 15:11:38 +02:00
01a1e16dcf viewport: Don't paint stuff in realize handler 2010-09-26 15:11:38 +02:00
f383e1f183 notebook: Port to draw vfunc 2010-09-26 15:11:38 +02:00
21099d31ed notebook: The drawable check is not necessary
Large patch, but that's only indentation.
2010-09-26 15:11:38 +02:00
fadf269a36 notebook: Draw tabs and arrows with Cairo
Includes a fix to only draw the current page once during a drag
operation.
2010-09-26 15:11:38 +02:00
ad030e1696 notebook: Simplify draw_tab function a bit
Don't keep lots of local variables that are only used once.
2010-09-26 15:11:38 +02:00
806bcb10ff notebook: remove check for is_drawable
When we reach that code, the widget will always be drawable
2010-09-26 15:11:37 +02:00
c46ce97145 notebook: Reorder expose function in preparation of draw vfunc 2010-09-26 15:11:37 +02:00
f94ff0b3b9 notebook: Use a for loop when iterating over a list 2010-09-26 15:11:37 +02:00
468e453a31 notebook: Draw focus when drawing tab
Instead of using a special function, draw the focus of a tab when the
tab actually is painted. Simplifies the code quite a bit.
2010-09-26 15:11:37 +02:00
a5e487846a notebook: Remove useless optimization
It will become especially useless once we draw with Cairo exclusively.
2010-09-26 15:11:37 +02:00
1c94efc921 paned: Port to draw vfunc 2010-09-26 15:11:37 +02:00
f2d7e6c8d4 infobar: Port to draw vfunc 2010-09-26 15:11:37 +02:00
299d533376 statusbar: Port to draw vfunc 2010-09-26 15:11:37 +02:00
782af63273 layout: Port to draw vfunc 2010-09-26 15:11:37 +02:00
8fc35150a2 iconview: Port to draw vfunc 2010-09-26 15:11:37 +02:00
c8b16f66b6 iconview: Check if the cr is clipped instead of using region 2010-09-26 15:11:37 +02:00
ab781bd89b iconview: Simplify rubberband drawing 2010-09-26 15:11:37 +02:00
0d6461714b menu: Port to draw vfunc 2010-09-26 15:11:37 +02:00
240ca0bb21 menubar: Port to draw vfunc 2010-09-26 15:11:37 +02:00
00375c7692 textview: Port to draw vfunc 2010-09-26 15:11:37 +02:00
9daab81ab5 separatortoolitem: Port to draw vfunc 2010-09-26 15:11:37 +02:00
818005f3fe toolbar: Port to draw vfunc 2010-09-26 15:11:37 +02:00
9a8c9d6579 toolbar: Don't propagate events to placeholders
In particular don't when that's done using uninitialized memory
2010-09-26 15:11:36 +02:00
a18ec3485c toolpalette: Port to draw vfunc 2010-09-26 15:11:36 +02:00
f525837e39 treeview: Port to draw vfunc 2010-09-26 15:11:36 +02:00
327a04807e treeview: Update rubberbanding code to Cairo 2010-09-26 15:11:36 +02:00
bf3b4438bb treeview: Do not put different windows in else if branches anymore 2010-09-26 15:11:36 +02:00
f679516ce1 treeview: Use Cairo for all bin window drawing 2010-09-26 15:11:36 +02:00
62f5fdc856 treeview: Invalidate on expander changes, don't just repaint
Repaints are supposed to be initiated by GDK, not by random repaints.
2010-09-26 15:11:36 +02:00
bc1cd6c5cb treeview: Draw empty tree view with Cairo 2010-09-26 15:11:36 +02:00
0cbe62f943 API: Add gtk_container_propagate_draw()
Equivalent to gtk_container_propagate_expose(), just for the draw event.
Also port GtkContainer to the draw vfunc
2010-09-26 15:11:36 +02:00
90379ed68a widget: Store the expose event in the cairo_t, not just the window
This way we can grab it for propagating expose events. Not sure if we
need to do this once we're all Cairo, but for now we do.
2010-09-26 15:11:36 +02:00
fb4ba51d44 accellabel: Port to draw vfunc 2010-09-26 15:11:36 +02:00
4aefc82496 label: Port to draw vfunc 2010-09-26 15:11:36 +02:00
2e75cecd49 scale: Port to draw vfunc 2010-09-26 15:11:36 +02:00
e605272436 range: Port to draw vfunc 2010-09-26 15:11:36 +02:00
745f110814 range: Make drawing use a single cairo context 2010-09-26 15:11:36 +02:00
c85f91e14c tests: Remove ability to set backend from testfilechooser
There's no backends anymore
2010-09-26 15:11:35 +02:00
1d5796c95b arrow: Port to draw vfunc 2010-09-26 15:11:35 +02:00
9233a08991 calendar: Port to draw vfunc 2010-09-26 15:11:35 +02:00
725749cd14 calendar: Fix drawing order for windows 2010-09-26 15:11:35 +02:00
02572cdf7e calendar: Create one cairo_t per expose event and pass it around 2010-09-26 15:11:35 +02:00
ed996bcd68 cellview: Port to draw vfunc 2010-09-26 15:11:35 +02:00
0a6b7e5759 spinner: Port to draw vfunc 2010-09-26 15:11:35 +02:00
7121ec2880 image: Port to draw vfunc 2010-09-26 15:11:35 +02:00