mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 10:10:19 +00:00
- Converted text background loading to build Cairo surfaces directly from pixbufs for renderer use.
- Updated the xtext renderer to accept Cairo background surfaces and dropped the GtkStyle attach during realize to keep rendering Cairo/Pango-focused. - Switched background surface ownership and cleanup to use cairo_surface_t across the shared state and settings update path.
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
#ifndef HEXCHAT_PIXMAPS_H
|
||||
#define HEXCHAT_PIXMAPS_H
|
||||
|
||||
#include <cairo.h>
|
||||
|
||||
extern GdkPixbuf *pix_ulist_voice;
|
||||
extern GdkPixbuf *pix_ulist_halfop;
|
||||
extern GdkPixbuf *pix_ulist_op;
|
||||
@@ -40,7 +42,7 @@ extern GdkPixbuf *pix_tree_util;
|
||||
extern GdkPixbuf *pix_book;
|
||||
extern GdkPixbuf *pix_zoitechat;
|
||||
|
||||
extern GdkPixmap *pixmap_load_from_file (char *file);
|
||||
extern cairo_surface_t *pixmap_load_from_file (char *file);
|
||||
extern void pixmaps_init (void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user