diff options
Diffstat (limited to 'atari/gui.h')
-rwxr-xr-x | atari/gui.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/atari/gui.h b/atari/gui.h index cdf51e1cf..eb73598ba 100755 --- a/atari/gui.h +++ b/atari/gui.h @@ -82,10 +82,13 @@ struct s_focus_info }; /* defines for data attached to components: */ -#define CDT_OBJECT 0x004f424aUL -#define CDT_OWNER 0x03UL -#define CDT_ICON 0x04UL -#define CDT_ICON_TYPE 0x05UL +#define CDT_OBJECT 0x004f424aUL +#define CDT_OWNER 0x03UL +#define CDT_ICON 0x04UL +#define CDT_ICON_TYPE 0x05UL +#define CDT_ICON_TYPE_NONE 0x00UL +#define CDT_ICON_TYPE_OBJECT 0x01UL
+#define CDT_ICON_TYPE_BITMAP 0x02UL struct gui_window; @@ -125,6 +128,8 @@ struct s_gui_win_root struct gui_window { struct s_gui_win_root * root; CMP_BROWSER browser; + /* icon to be drawn when iconified, or NULL for default resource. */ + struct bitmap * icon; struct gui_window *next, *prev; }; |