diff options
author | Ole Loots <ole@monochrom.net> | 2011-09-19 18:38:48 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2011-09-19 18:38:48 +0000 |
commit | 0f2871e41889f254cb614883ae9bbc6ab6fbceae (patch) | |
tree | 7d1a65739fbd044ea7ad490404c81710515ac5de /atari/gui.h | |
parent | 60f641bc44e7c40f3114630f60d0a30b57813e89 (diff) | |
download | netsurf-0f2871e41889f254cb614883ae9bbc6ab6fbceae.tar.gz netsurf-0f2871e41889f254cb614883ae9bbc6ab6fbceae.tar.bz2 |
Added context menu,
Allow to set bitmap for iconified window. ( altough it's usesless right now because favicon support has been dropped)
svn path=/trunk/netsurf/; revision=12821
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; }; |