_N_GUI_POPUP_ENTRY
one entry. More...
Public Attributes
| Name | |
|---|---|
| float | y |
| float | x the level's position when last opened |
| int | window the level's window, or -1 until first opened |
| int | widget the level's custom widget |
| float | w the level's size when last laid out |
| char * | tip tooltip; owned, may be NULL |
| char * | text row text, or the heading for the root; owned, may be NULL |
| int | tag handed to on_pick |
| int | shown shown when non-zero |
| int * | rows entry ids of the rows as laid out at its last opening; owned |
| float * | row_y top of each row from the level's top; owned, nb_rows long |
| int | parent the level it is in; -1 for the root |
| int | nb_rows how many rows |
| int | kind POPUP_KIND* |
| int | hover the row under the pointer, an index into rows, or -1 |
| _N_GUI_POPUP_LEVEL * | hook what the widget is handed; owned |
| float | h |
| int | enabled enabled when non-zero |
| int | child the submenu open beside it, an entry id, or -1 |
Detailed Description
struct _N_GUI_POPUP_ENTRY;
one entry.
A root or a submenu is also a level and uses the fields after [enabled](Struct-_N_GUI_POPUP_ENTRY#user-content-variable-enabled).
Public Attributes Documentation
variable y
float y;
variable x
float x;
the level's position when last opened
variable window
int window;
the level's window, or -1 until first opened
variable widget
int widget;
the level's custom widget
variable w
float w;
the level's size when last laid out
variable tip
char * tip;
tooltip; owned, may be NULL
variable text
char * text;
row text, or the heading for the root; owned, may be NULL
variable tag
int tag;
handed to on_pick
variable shown
int shown;
shown when non-zero
variable rows
int * rows;
entry ids of the rows as laid out at its last opening; owned
variable row_y
float * row_y;
top of each row from the level's top; owned, nb_rows long
variable parent
int parent;
the level it is in; -1 for the root
variable nb_rows
int nb_rows;
how many rows
variable kind
int kind;
POPUP_KIND*
variable hover
int hover;
the row under the pointer, an index into rows, or -1
variable hook
_N_GUI_POPUP_LEVEL * hook;
what the widget is handed; owned
variable h
float h;
variable enabled
int enabled;
enabled when non-zero
variable child
int child;
the submenu open beside it, an entry id, or -1
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