diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-01-18 19:38:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-01-18 19:38:34 +0000 |
commit | dacb4133e82536f4b46c4f15604a8501bf089ede (patch) | |
tree | 72d17edb279bbec629604b20580b8bb93f7e6091 /ui/ui_util.h | |
parent | 0299bdbc62e2a0ed182bd3476cac9c5ca9c365ce (diff) | |
download | wireshark-dacb4133e82536f4b46c4f15604a8501bf089ede.tar.gz |
Restructure the recent file code so that recent.c is GUI-independent;
move it to the top-level source directory for now, and move
ui/gtk/recent.h to the ui directory.
svn path=/trunk/; revision=40561
Diffstat (limited to 'ui/ui_util.h')
-rw-r--r-- | ui/ui_util.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ui/ui_util.h b/ui/ui_util.h index cd023a32a7..4d60727ad8 100644 --- a/ui/ui_util.h +++ b/ui/ui_util.h @@ -33,7 +33,19 @@ extern "C" { #endif /* __cplusplus */ -/* gui_utils.c */ +/** geometry values for use in window_get_geometry() and window_set_geometry() */ +typedef struct window_geometry_s { + gchar *key; /**< current key in hashtable (internally used only) */ + gboolean set_pos; /**< set the x and y position values */ + gint x; /**< the windows x position */ + gint y; /**< the windows y position */ + gboolean set_size; /**< set the width and height values */ + gint width; /**< the windows width */ + gint height; /**< the windows height */ + + gboolean set_maximized; /**< set the maximized state (GTK2 only) */ + gboolean maximized; /**< the windows maximized state (GTK2 only) */ +} window_geometry_t; /* Set the name of the top-level window and its icon. */ void set_main_window_name(const gchar *); |