Add BMP and GIF support

This commit is contained in:
Ray Chason
2026-08-24 12:02:35 -04:00
committed by Ray Chason
parent 97a6c131a9
commit cc47605531
6 changed files with 396 additions and 148 deletions
+1 -2
View File
@@ -129,7 +129,6 @@ static XtSignalId X11_sig_id;
#endif
static void init_menu_nhcolors(struct xwindow *);
static Boolean nhApproxColor(Screen *, Colormap, char *, XColor *);
static Boolean nhCvtStringToPixel(Display *, XrmValuePtr, Cardinal *,
XrmValuePtr, XrmValuePtr, XtPointer *);
static void get_window_frame_extents(Widget, long *, long *, long *, long *);
@@ -460,7 +459,7 @@ static XtConvertArgRec const nhcolorConvertArgs[] = {
* The approximate color found is returned in color as well.
* Return True if something close was found.
*/
static Boolean
Boolean
nhApproxColor(
Screen *screen, /* screen to use */
Colormap colormap, /* the colormap to use */