GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
ui.hh File Reference
#include <string>
#include <vector>
#include <utility>
#include <map>
#include <iostream>
#include <sstream>
Include dependency graph for ui.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Item
struct  W
class  Widget
class  WidgetForward

Functions

std::string api_name ()
std::vector< Item * > functions ()
std::string type_symbol ()
int num_displays ()
void display (int i, int disp)
int add (void *w)
void * find (int i)
W empty ()
W gameapi_animation (std::string num, int sx, int sy)
W list_y (std::vector< W > v, int gap_y)
W list_x (std::vector< W > v, int gap_x)
W grid_y (std::vector< W > v, int sx, int gap_x, int gap_y)
W layer (std::vector< W > v)
W percentage_xx (W w1, W w2, float val, float val2)
W percentage_margin (W w, float val, float val2, float val3)
W height_y (W w1, int height)
W max_width (W w1, int width)
W flex_image_keep_aspect_x (W w1, float percentage_width)
W flex_image_keep_aspect_y (W w1, float percentage_height)
W flex_grid (std::vector< W > w, int max_width)
W hide (W widget)
W show_button (W button_content, W hidden_element)
W hide_button (W button_content, W hidden_element)
W image (std::string url, int size_x, int size_y)
W image_placeholder (int size_x, int size_y)
W gradient (int id, int size_x, int size_y)
W child_size (W w)
W margin (W item, int left, int top, int right, int bottom)
W right_align (W item, int sx)
W center_align (W item, int sx)
W center_y (W item, int sy)
W form (W w, bool is_get, std::string script_url)
W submit_button (std::string label, int size_x, int size_y)
W list_item1 (W image, std::string label)
W list_item2 (W image, std::string label)
W editor (std::string name, std::string value, std::string placeholder, int size_x, int size_y, int font_size, unsigned int font_colour, int align)
W label (std::string l, int size_x, int size_y, int font_size, unsigned int font_colour, int align)
W link (std::string url, std::string l, int size_x, int size_y, int font_size, unsigned int font_colour, int align)
W password_editor (std::string name, std::string value, std::string placeholder, int size_x, int size_y, int font_size, unsigned int font_colour, int align)
W passwd_dialog (int size_x, int size_y)
W passwd_setup_dialog (int size_x, int size_y)
std::string gen_html_page (W w)
std::string unique_id_apiitem ()

Variables

const int E = -16384

Function Documentation

◆ add()

int add ( void * w)

◆ api_name()

std::string api_name ( )
Here is the caller graph for this function:

◆ center_align()

W center_align ( W item,
int sx )
Here is the caller graph for this function:

◆ center_y()

W center_y ( W item,
int sy )
Here is the caller graph for this function:

◆ child_size()

W child_size ( W w)
Here is the caller graph for this function:

◆ display()

void display ( int i,
int disp )

◆ editor()

W editor ( std::string name,
std::string value,
std::string placeholder,
int size_x,
int size_y,
int font_size,
unsigned int font_colour,
int align )
Here is the caller graph for this function:

◆ empty()

W empty ( )
Here is the caller graph for this function:

◆ find()

void * find ( int i)

◆ flex_grid()

W flex_grid ( std::vector< W > w,
int max_width )

◆ flex_image_keep_aspect_x()

W flex_image_keep_aspect_x ( W w1,
float percentage_width )

◆ flex_image_keep_aspect_y()

W flex_image_keep_aspect_y ( W w1,
float percentage_height )

◆ form()

W form ( W w,
bool is_get,
std::string script_url )
Here is the caller graph for this function:

◆ functions()

std::vector< Item * > functions ( )
Here is the caller graph for this function:

◆ gameapi_animation()

W gameapi_animation ( std::string num,
int sx,
int sy )
Here is the caller graph for this function:

◆ gen_html_page()

std::string gen_html_page ( W w)
Here is the caller graph for this function:

◆ gradient()

W gradient ( int id,
int size_x,
int size_y )
Here is the caller graph for this function:

◆ grid_y()

W grid_y ( std::vector< W > v,
int sx,
int gap_x,
int gap_y )
Here is the caller graph for this function:

◆ height_y()

W height_y ( W w1,
int height )

◆ hide()

W hide ( W widget)
Here is the caller graph for this function:

◆ hide_button()

W hide_button ( W button_content,
W hidden_element )
Here is the caller graph for this function:

◆ image()

W image ( std::string url,
int size_x,
int size_y )

◆ image_placeholder()

W image_placeholder ( int size_x,
int size_y )
Here is the caller graph for this function:

◆ label()

W label ( std::string l,
int size_x,
int size_y,
int font_size,
unsigned int font_colour,
int align )
Here is the caller graph for this function:

◆ layer()

W layer ( std::vector< W > v)
Here is the caller graph for this function:

◆ link()

W link ( std::string url,
std::string l,
int size_x,
int size_y,
int font_size,
unsigned int font_colour,
int align )
Here is the caller graph for this function:

◆ list_item1()

W list_item1 ( W image,
std::string label )

◆ list_item2()

W list_item2 ( W image,
std::string label )

◆ list_x()

W list_x ( std::vector< W > v,
int gap_x )
Here is the caller graph for this function:

◆ list_y()

W list_y ( std::vector< W > v,
int gap_y )
Here is the caller graph for this function:

◆ margin()

W margin ( W item,
int left,
int top,
int right,
int bottom )

◆ max_width()

W max_width ( W w1,
int width )
Here is the caller graph for this function:

◆ num_displays()

int num_displays ( )

◆ passwd_dialog()

W passwd_dialog ( int size_x,
int size_y )

◆ passwd_setup_dialog()

W passwd_setup_dialog ( int size_x,
int size_y )

◆ password_editor()

W password_editor ( std::string name,
std::string value,
std::string placeholder,
int size_x,
int size_y,
int font_size,
unsigned int font_colour,
int align )
Here is the caller graph for this function:

◆ percentage_margin()

W percentage_margin ( W w,
float val,
float val2,
float val3 )

◆ percentage_xx()

W percentage_xx ( W w1,
W w2,
float val,
float val2 )

◆ right_align()

W right_align ( W item,
int sx )
Here is the caller graph for this function:

◆ show_button()

W show_button ( W button_content,
W hidden_element )
Here is the caller graph for this function:

◆ submit_button()

W submit_button ( std::string label,
int size_x,
int size_y )
Here is the caller graph for this function:

◆ type_symbol()

std::string type_symbol ( )

◆ unique_id_apiitem()

std::string unique_id_apiitem ( )
Here is the caller graph for this function:

Variable Documentation

◆ E

const int E = -16384