From 407389668b4806de585c5ab26b9e49d1bd92afab Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Thu, 22 Nov 2012 01:19:20 +0100 Subject: Hotlist now works without windom. --- atari/gemtk/gemtk.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'atari/gemtk/gemtk.h') diff --git a/atari/gemtk/gemtk.h b/atari/gemtk/gemtk.h index 51844519f..6c590b5a3 100644 --- a/atari/gemtk/gemtk.h +++ b/atari/gemtk/gemtk.h @@ -62,6 +62,8 @@ short msg_box_show(short type, const char * msg); #define GW_FLAG_CUSTOM_TOOLBAR 0x08 // no internal toolbar handling #define GW_FLAG_CUSTOM_SCROLLING 0x10 // no internal scroller handling +#define GW_FLAG_DEFAULTS (GW_FLAG_PREPROC_WM | GW_FLAG_RECV_PREPROC_WM) + #define GW_STATUS_ICONIFIED 0x01 #define GW_STATUS_SHADED 0x02 @@ -78,8 +80,8 @@ struct guiwin_scroll_info_s { int y_unit_px; int x_pos; int y_pos; - int x_pos_max; - int y_pos_max; + int x_units; + int y_units; }; enum guwin_area_e { @@ -110,7 +112,7 @@ bool guiwin_update_slider(GUIWIN *win, short mode); void guiwin_send_redraw(GUIWIN *win, GRECT *area); VdiHdl guiwin_get_vdi_handle(GUIWIN *win); bool guiwin_has_intersection(GUIWIN *win, GRECT *work); - +void guiwin_toolbar_redraw(GUIWIN *gw, GRECT *clip); /* -- cgit v1.2.3