Define wrapper for Label widgets

Renders to a Pixmap and then sets the Pixmap. This in itself does not
change the appearance, but provides a means to do percentage bars,
italics and more.
This commit is contained in:
Ray Chason
2026-08-14 11:08:25 +03:00
committed by Pasi Kallinen
parent f7bb4eaae8
commit 6043d189e1
6 changed files with 488 additions and 4 deletions
+5
View File
@@ -514,9 +514,14 @@ extern void X11_preference_update(const char *);
extern void X11_update_inventory(int);
extern win_request_info *X11_ctrl_nhwindow(winid, int, win_request_info *);
extern X11_map_symbol X11_glyph_char(const glyph_info *);
extern XFontStruct *X11_bold_font(Display *, XFontStruct *);
extern XFontStruct *X11_italic_font(Display *, XFontStruct *);
#ifdef ENHANCED_SYMBOLS
extern XFontStruct *X11_unicode_font(Display *, XFontStruct *);
#endif
/* Functions for management of enhanced labels */
extern void X11_wrap_widget(Widget);
extern void X11_update_label(Widget);
#endif /* WINX_H */