 |
zfuncs |
| version 3.3 |
| About zfuncs |
search and sort, queue, sparse array, GTK dialog builder, pixbuf rotate, etc.
The tarball contains two source programs, a menu-driven test program zfuncstest.cpp to exercise the individual functions, and the function library zfuncs.cpp.
zfuncs.cpp icludes the following utilities among others:
MatchWild - compare strings with multiple wildcards (* ?)
SearchWild - search for files matching pathname with multiple wildcards anywhere
bsearch - binary search an array of strings
HeapSort - callback function to compare records, allows weird sorts
HashTab - hash table C++ class (fast string store and find)
Queue - queue C++ class (push, pop newest, pop oldest) (thread safe)
Tree - C++ sparse array class - indexes can be numbers or strings
menus and toolbars - build GTK menus and toolbars with simpler code
zlock - use GTK in threads more easily and safely
wprintf - printf() to scrolling window, specified row or next row
zdialog - build GTK dialogs with simpler code
pixbuf_rotate - rotate GDK pixbuf through any angle
image_gallery - navigate image collection, pageable thumbnail window, clicked image callback
Requirements
This application requires GTK+ version 2.8.x.
Other dependencies include: Standard Gnome GTK application. g++ and libgtk2-dev needed to build executable. |
| Latest Version: 3.3 |
+ bugfix: gdk_pixbuf_rotate(): correctly handle alpha channel.
+ new: polymorphs of lrandz() and drandz() with implicit seeds.
+ write_popup_text() and popup_command(): were given an optional parent window arg.
+ image_thumbfile(): do nothing if unsupported file type.
+ image_gallery(): simplify navigation to other folders (add parent button).
+ zdialog_new(): title, parent, buttons are now optional.
+ new: zdialog_wait(): wait for a parallel (non-modal) zdialog to complete.
+ zgetfile(): GTK bug workaround: stop auto-select of first file in a folder.
|
|
|