aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ui_util.h
Commit message (Collapse)AuthorAgeFilesLines
* renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping2005-08-201-308/+0
| | | | | | named ui_util.h in / dir svn path=/trunk/; revision=15465
* fix some MSVC const warningsUlf Lamping2005-08-081-1/+1
| | | | svn path=/trunk/; revision=15263
* More char -> const char warning fixes.Jörg Mayer2005-08-051-2/+2
| | | | | | | Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
* From Nathan Jennings: add a preference that supplies a prefix for windowGuy Harris2004-12-021-0/+8
| | | | | | titles. svn path=/trunk/; revision=12657
* precise a commentUlf Lamping2004-10-021-1/+1
| | | | svn path=/trunk/; revision=12184
* Add support for copying hex data to the clipboard. Submitted by Thomas Richard Sharpe2004-09-021-0/+6
| | | | | | | | | Palmer. What we really should do is add this to the Edit menu as well. svn path=/trunk/; revision=11883
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-1/+1
| | | | | | | | | they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
* Get rid of the splash screen's title bar on GTK+ 1.2[.x] as well.Guy Harris2004-07-071-2/+8
| | | | svn path=/trunk/; revision=11329
* added a splash screen while Ethereal is startedUlf Lamping2004-07-041-9/+18
| | | | svn path=/trunk/; revision=11310
* add more details for doxygenUlf Lamping2004-06-041-26/+58
| | | | svn path=/trunk/; revision=11107
* add details for doxygen, various code cleanups as a result of thisUlf Lamping2004-06-011-2/+2
| | | | svn path=/trunk/; revision=11057
* add details for doxygenUlf Lamping2004-05-311-53/+137
| | | | svn path=/trunk/; revision=11046
* save window position/size/maximized state into recent fileUlf Lamping2004-05-301-5/+13
| | | | | | (only help dialog for now) svn path=/trunk/; revision=11032
* next step to save the size and postition of the dialogs (using a hashtable)Ulf Lamping2004-05-231-4/+88
| | | | | | | | | move the get/set window size functionality from main to ui_util, add some functions to handle windows/dialogs. changed help and about dialog to suit the current window API svn path=/trunk/; revision=10974
* as it's difficult to create a list widget for both supported GTK versions,Ulf Lamping2004-05-201-1/+9
| | | | | | I've started to implement a simple list to hide the complexity svn path=/trunk/; revision=10929
* move function xpm_to_widget() from layout_prefs to ui_util,Ulf Lamping2004-05-021-1/+4
| | | | | | as this can be useful not only in layout_prefs svn path=/trunk/; revision=10768
* Add a "window_new()" routine that creates a window of a given type, setsGuy Harris2004-02-131-4/+5
| | | | | | | | | | | | the title, and arranges to set the icon for it. Use that instead of "gtk_window_new()" and separate calls to set the title and arrange to set the icon. Regularize #includes a bit. Clean up white space. svn path=/trunk/; revision=10054
* Merge gtk and gtk2 directories.Olivier Abad2002-11-031-3/+7
| | | | svn path=/trunk/; revision=6552
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-4/+4
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Have a routine to create a scrolled window, set its vertical scrollbarGuy Harris2002-01-111-12/+10
| | | | | | | | | | | | | | | | | | | | | | preference, and add it to the list of scrolled windows; call that routine to create scrolled windows, rather than creating it and calling other routines to do the other two operations. As "set_scrollbar_placement_all()" and "set_ctree_styles_all()" always set the styles to match the user's preference, don't have them take an argument, have them just use the user's preference settings. Get rid of unnecessary includes of "prefs_dlg.h", replacing them with includes of "prefs.h" if necessary. Don't have "prefs_dlg.h" include "prefs.h" - its sole purpose is to declare routines defined in "prefs_dlg.c" - and add any additional includes of "prefs.h" this requires. Get rid of unnecessary includes of "prefs.h" and "gtkglobals.h". Fix up white space. svn path=/trunk/; revision=4521
* Have routines to create GtkCTrees, set their line and expander styleGuy Harris2002-01-111-3/+21
| | | | | | | | | | | | | | | | based on the user's UI preferences, and add them to a list of GtkCTrees. Use those routines to create all GtkCTrees. Have a routine to update the preferences for all of those GtkCTrees. Call that routine whenever the preferences change. Label the line and expander style preferences as "Tree line style" and "Tree expander style", as they no longer apply only to protocol trees. Move the routines to maintain a list of scrolled windows, and to update scrollbar placement for scrolled windows, to "ui_util.c". svn path=/trunk/; revision=4520
* Go nuts with the 3D logo.Gerald Combs2001-12-121-1/+4
| | | | | | | | | | | | | | | Add a routine to ui_util.c that sets a window's icon pixmap to a 16x16 version of the 3D logo. Call the routine for each window that is created. This has been tested with kwm and Sawfish (which expect a 16x16 icon), but we may have to come up with a better solution for other window managers (e.g. olwm and mwm). Add a 3D exclamation point image. Replace the exclamation point and Ethereal logo images used in simple_dialog() with their 3D counterparts. Remove the old icons from the source distribution. svn path=/trunk/; revision=4390
* "reactivate_window()" is used only by stuff in the "gtk" directory, andGuy Harris2001-03-241-0/+36
has an API that depends on GTK+. "set_main_window_name()" is UI-toolkit-independent. Declare the former in a new "gtk/ui_util.h" file, rather than in "ui_util.h"; this helps separate UI-toolkit-independent stuff from UI-toolkit-dependent stuff. svn path=/trunk/; revision=3181