diff options
author | Ole Loots <ole@monochrom.net> | 2013-09-21 05:29:04 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-10-06 01:24:17 +0200 |
commit | 49f4fa0d787c867ed24ac49897feb347939d4ef3 (patch) | |
tree | 3400ff2f7072abd6f05863aed7157f7084e51cb9 /atari/gemtk/gemtk.h | |
parent | 074b07253551fb6aeb1d71ee4dfbf9b838cbf663 (diff) | |
download | netsurf-49f4fa0d787c867ed24ac49897feb347939d4ef3.tar.gz netsurf-49f4fa0d787c867ed24ac49897feb347939d4ef3.tar.bz2 |
Hotlist and History and Cookies Manager implemented.
(The Cookie Manager window is a new one)
Diffstat (limited to 'atari/gemtk/gemtk.h')
-rw-r--r-- | atari/gemtk/gemtk.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/atari/gemtk/gemtk.h b/atari/gemtk/gemtk.h index 3e406b5e3..88ad0ccdb 100644 --- a/atari/gemtk/gemtk.h +++ b/atari/gemtk/gemtk.h @@ -33,6 +33,17 @@ extern unsigned short _systype_v; unsigned short _systype (void); +/* GEMTK Utils API: */ + +#define GEMTK_DBG_GRECT(s,g) \ + printf("%s", s); \ + printf("\tx0: %d, \n", (g)->g_x); \ + printf("\ty0: %d, \n", (g)->g_y); \ + printf("\tx1: %d, \n", (g)->g_x+(g)->g_w); \ + printf("\ty1: %d, \n", (g)->g_y+(g)->g_h); \ + printf("\tw: %d, \n", (g)->g_w); \ + printf("\th: %d \n", (g)->g_h); \ + /* * Chech for GRECT intersection without modifiend the src rectangles * return true when the GRECT's intersect, fals otherwise. @@ -47,6 +58,9 @@ int gemtk_keybd2ascii( int keybd, int shift); /** set VDI clip area by passing an GRECT */ void gemtk_clip_grect(VdiHdl vh, GRECT *rect); +void gemtk_wind_get_str(short aes_handle, short mode, char *str, int len); + + #ifndef POINT_WITHIN # define POINT_WITHIN(_x,_y, r) ((_x >= r.g_x) && (_x <= r.g_x + r.g_w ) \ && (_y >= r.g_y) && (_y <= r.g_y + r.g_h)) @@ -180,6 +194,8 @@ GUIWIN * gemtk_wm_add(short handle, uint32_t flags, GUIWIN * gemtk_wm_find(short handle); +void gemtk_wm_dump_window_info(GUIWIN *win); + short gemtk_wm_remove(GUIWIN *win); GUIWIN * gemtk_wm_validate_ptr(GUIWIN *win); @@ -192,6 +208,8 @@ short gemtk_wm_dispatch_event(EVMULT_IN *ev_in, EVMULT_OUT *ev_out, short msg[8] void gemtk_wm_get_grect(GUIWIN *win, enum guwin_area_e mode, GRECT *dest); +short gemtk_wm_get_toolbar_edit_obj(GUIWIN *win); + short gemtk_wm_get_handle(GUIWIN *win); uint32_t gemtk_wm_get_state(GUIWIN *win); |