MTek-GDL 0.100.4-muffintrap
Loading...
Searching...
No Matches
Data Fields
Menu Struct Reference

Struct for holding the state of immeadiate mode gui menu. More...

#include <mgdl-gui.h>

Collaboration diagram for Menu:
Collaboration graph
[legend]

Data Fields

float _drawx
 
float _drawy
 
float _menuWidth
 
float _textHeight
 
float _rowHeightEm
 
float _textSize
 
bool _buttonPress
 
bool _buttonHeld
 
vec2 _cursorPosition
 
Color4f _bg
 
Color4f _text
 
Color4f _highlight
 
bool _drawWindow
 
const char * _windowName
 
float _windowx
 
float _windowy
 
float _windowHeight
 
Font_font
 

Detailed Description

Struct for holding the state of immeadiate mode gui menu.

Field Documentation

◆ _bg

Color4f Menu::_bg

Background color of elements.

◆ _highlight

Color4f Menu::_highlight

Used instead of _text when the item is hovered.

◆ _text

Color4f Menu::_text

Color of the text, toggles and slider bars.


The documentation for this struct was generated from the following file: