mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 17:20:21 +00:00
Added a shared render helper and GTK3 draw handler with clip handling while keeping GTK2 expose wiring behind build guards in xtext.c.
Added a stored GTK3 draw cairo context to the widget struct and initialized it during setup.
This commit is contained in:
@@ -148,6 +148,7 @@ struct _GtkXText
|
||||
cairo_surface_t *background_surface; /* 0 = use palette[19] */
|
||||
GdkWindow *draw_window; /* points to ->window */
|
||||
cairo_surface_t *draw_surface; /* temporary surface for offscreen draws */
|
||||
cairo_t *draw_cr; /* GTK3 draw context */
|
||||
GdkCursor *hand_cursor;
|
||||
GdkCursor *resize_cursor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user