![]() |
Lua Player Plus Vita
Documentation of lpp-vita
|
Public Member Functions | |
void | init (void) |
Init Gui sub-system. More... | |
void | term (void) |
Terminate Gui sub-system. More... | |
void | initBlend (void) |
Init Gui drawing phase. More... | |
void | termBlend (void) |
Terminate Gui drawing phase. More... | |
void | setTheme (GuiTheme theme) |
Change theme for the running Gui. More... | |
void | setInputMode (bool use_touch, bool use_rear, bool use_buttons, bool indirect_touch) |
Change input mode for the running Gui. More... | |
bool | initMainMenubar (void) |
Init screen menubar. More... | |
void | termMainMenubar (void) |
Terminate screen menubar. More... | |
bool | initMenu (string label, bool enabled) |
Init a menu. More... | |
void | termMenu (void) |
Terminate a menu. More... | |
bool | drawMenuItem (string label, bool selected, bool enabled) |
Draw a menu item. More... | |
void | drawText (string label, int color) |
Draw a text. More... | |
number[] | getTextSize (string text) |
Calculate a text size. More... | |
void | drawDisabledText (string label) |
Draw a greyed out text. More... | |
void | drawWrappedText (string label) |
Draw a text with automatic newlines to fit the window. More... | |
bool | drawButton (string label, number width, number height) |
Draw a button. More... | |
bool | drawSmallButton (string label) |
Draw a small button. More... | |
bool | drawCheckbox (string label, bool status) |
Draw a checkbox. More... | |
bool | drawRadioButton (string label, bool status) |
Draw a radiobutton. More... | |
void | resetLine (void) |
Make next element be drawn on current line. More... | |
void | initWindow (string label, WinFlags flags) |
Init a window. More... | |
void | termWindow (void) |
Terminate a window. More... | |
void | setWindowPos (number x, number y, ConfigMode mode) |
Set next window position. More... | |
void | setWindowSize (number w, number h, ConfigMode mode) |
Set next window size. More... | |
void | drawSeparator (void) |
Draw a separator. More... | |
void | drawTooltip (string label) |
Draw a tooltip when cursor hover on the previous item. More... | |
number[] | drawSlider (string label, number val_min, number val_max, number val1, number val2, number val3, number val4) |
Draw a slider with variable amount of values. More... | |
int[] | drawIntSlider (string label, int val_min, int val_max, int val1, int val2, int val3, int val4) |
Draw a slider with variable amount of integer values. More... | |
int | drawComboBox (string label, int index, table elements) |
Draw a combobox. More... | |
int | drawListBox (string label, int index, table elements) |
Draw a listbox. More... | |
int | drawColorPicker (string label, int color, bool alpha) |
Draw a color picker. More... | |
void | drawProgressbar (number fraction, number w, number h) |
Draw a progressbar. More... | |
void | drawImage (int img, number width, number height, number img_x, number img_y, number img_w, number img_h, int color) |
Draw an image in the Gui subsystem. More... | |
void | setWidgetPos (number x, number y) |
Set next widget position. More... | |
void | setWidgetWidth (number w) |
Set next widgets width. More... | |
void | resetWidgetWidth () |
Reset next widgets width to original values. More... | |