Table of Contents
ex_gui.c
Nilorea Library GUI system demo - all widget types including dropdown menus, show/hide windows, auto-sizing, scrollbars, resizable windows, and bitmap skinning. Comprehensive demo showcasing every GUI widget available in the nilorea-library n_gui module: buttons (regular + toggle), sliders, text areas, checkboxes, scrollbars, listboxes (single + multi select), radio lists, comboboxes, labels, hyperlinks, images, toggle-button radio groups, dropdown menus with dynamic entries, automatic window sizing, auto-scrollbars, resizable windows, and optional bitmap skinning for windows and widgets.
The main loop also demonstrates the opt-in redraw signal: it draws only when n_gui_needs_redraw() reports a change or animation (or when this example's own mouse crosshair overlay moved), and pairs its timer-driven label updates with n_gui_mark_dirty(), so an untouched, still GUI is not redrawn every frame.
Modules
- AABB3D
- ACCEPT_POOL
- ALLEGRO4
- ALLEGRO5
- ANIM_LIB
- ASTAR
- ATLAS_LIB
- AVRO
- CLOCK_SYNC
- COMMONS
- CONFIGFILE
- CYPHER_BASE64
- CYPHER_VIGENERE
- DEAD_RECKONING
- ENUMS
- EXCEPTIONS
- GAME_ENV
- GIT
- GUI
- HASH_TABLE
- ISOMETRIC_ENGINE
- LIST
- LOG
- LOGNODUP
- LZ4
- NETWORKING
- NETWORK_MSG
- N_COOKIES
- N_DIFF
- N_DIGEST
- N_DISK_CACHE
- N_DNS
- N_ECC
- N_ENTROPY
- N_FILES
- N_FLUIDS
- N_GUI_COLOR
- N_GUI_COLORWHEEL
- N_GUI_CURVE
- N_GUI_GRID
- N_GUI_POPUP
- N_HEX
- N_HTTP3
- N_HTTP_COOKIE
- N_HTTP_FORM
- N_HTTP_MIME
- N_HTTP_REQ
- N_HTTP_RESP
- N_HTTP_ROUTER
- N_HTTP_SERVER
- N_ICC
- N_JSON
- N_KAFKA
- N_LINALG
- N_MODULE
- N_OPENSSL_COMPAT
- N_PRETTY
- N_PTH
- N_QUERY
- N_RANDOM
- N_SHA256
- N_STR
- N_TIFF
- N_TIME
- N_USER
- N_X509
- N_ZIP
- PARTICLES
- PCRE
- PHYSICS
- SIGNALS
- STACK
- THREADS
- TRAJECTORY
- TREE
- ZLIB