diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-09-02 15:52:41 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-09-02 15:52:41 +0000 |
commit | 74fa727509874983884a35b44b646be034b1fd69 (patch) | |
tree | 1daf083961efd039e318c7a1157b6aa2a83b9d54 /riscos/gui.h | |
parent | b51f807fe326f6d9aec0600cbf526f96db7577d0 (diff) | |
download | netsurf-74fa727509874983884a35b44b646be034b1fd69.tar.gz netsurf-74fa727509874983884a35b44b646be034b1fd69.tar.bz2 |
Experimental new frames code.
svn path=/trunk/netsurf/; revision=2906
Diffstat (limited to 'riscos/gui.h')
-rw-r--r-- | riscos/gui.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/riscos/gui.h b/riscos/gui.h index 7ffeb5194..de4866f3b 100644 --- a/riscos/gui.h +++ b/riscos/gui.h @@ -42,6 +42,7 @@ extern wimp_w dialog_info, dialog_saveas, dialog_zoom, dialog_pageinfo, dialog_objinfo, dialog_tooltip, dialog_warning, dialog_openurl, dialog_debug, dialog_folder, dialog_entry, dialog_url_complete, dialog_search, dialog_print, dialog_theme_install; +extern struct gui_window *gui_track_gui_window; extern wimp_w current_menu_window; extern bool current_menu_open; extern wimp_menu *font_menu; /* font.c */ @@ -58,7 +59,7 @@ extern struct tree *hotlist_tree, *global_history_tree, *cookies_tree; typedef enum { GUI_DRAG_NONE, GUI_DRAG_SELECTION, GUI_DRAG_DOWNLOAD_SAVE, GUI_DRAG_SAVE, GUI_DRAG_SCROLL, GUI_DRAG_STATUS_RESIZE, GUI_DRAG_TREE_SELECT, GUI_DRAG_TREE_MOVE, - GUI_DRAG_TOOLBAR_CONFIG } gui_drag_type; + GUI_DRAG_TOOLBAR_CONFIG, GUI_DRAG_FRAME } gui_drag_type; extern gui_drag_type gui_current_drag_type; @@ -88,6 +89,8 @@ struct gui_window { int throbtime; /**< Time of last throbber frame. */ int iconise_icon; /**< ID number of icon when window is iconised */ + + char validation[12]; /**< Validation string for colours */ /** Options. */ struct { @@ -164,6 +167,7 @@ browser_mouse_state ro_gui_mouse_click_state(wimp_mouse_state buttons); bool ro_gui_shift_pressed(void); bool ro_gui_ctrl_pressed(void); void ro_gui_window_scroll_end(struct gui_window *g, wimp_dragged *drag); +void ro_gui_window_frame_resize_end(struct gui_window *g, wimp_dragged *drag); void ro_gui_window_set_scale(struct gui_window *g, float scale); void ro_gui_window_iconise(struct gui_window *g, wimp_full_message_window_info *wi); |