60 void setFontFamily( String bodyId, String ElementID, String fontName);
78 void setFontWeight( String bodyId, String ElementID, String weight);
96 void setFontStyle( String bodyId, String ElementID, String style);
114 void setFontSize( String bodyId, String ElementID, String size);
133 void setProperty( String bodyId, String ElementID, String param, String value);
170 void setFontColor( String bodyId, String ElementID, String color);
197 void setText( String bodyId, String childID, String text);
223 void getText( String bodyId, String childID);
242 void setPosition( String bodyId, String childID,
int x,
int y);
260 void setPosY( String bodyId, String childID,
int y);
278 void setPosX( String bodyId, String childID,
int x);
296 void setScaleX( String bodyId, String childID,
int w);
332 void setScaleY( String bodyId, String childID,
int h);
367 void show( String bodyId, String ElementID);
384 void hide( String bodyId, String ElementID);
474 String
load(String FileName,
int posX,
int posY);
486 close(String bodyID);
612 string workSpace (
string "workspaceFolder/");
643 setAttribute(
string bodyID,
string elementName,
string property,
string value);
658 string getProperty(
string bodyID,
string elementName,
string property);
674 string getAttribute(
string bodyID,
string elementName,
string property);
void setWindowSize(String bodyId, int w, int h)
Sets the width and height of a document.
void setFontSize(String bodyId, String ElementID, String size)
Sets the current fonts size.
Definition: LUA_API_Gui.h:41
void gui setAttribute(bodyID, elementID, param, value)
gui.setAttribute(bodyID, elementID, param, value);
void gui loadFromTemplate()
Load From Template. .
void workSpace(String workspace_folder)
A document must have its workspace folder defined prior to loading the file. This ensures that all im...
void setScaleYCent(String bodyId, String childID, int h)
Set the width scale of an element in %.
String load(String FileName, int posX, int posY)
Loads a document file fromt he workspace folder and displays it on screen at an optional xy position...
void setScaleY(String bodyId, String childID, int h)
Set the height scale of an element in pixels.
void setBackgroundColor(String bodyId, String ElementID, String color)
Sets the element background to the color pass in the color arg..
void hideCursor()
Hide the gui cursor .
void enableGameInput(int state_keys, int state_mouse)
Special feature to disable key and mouse movement. This can be used when getting user data from a tex...
void setFontStyle(String bodyId, String ElementID, String style)
Sets the current fonts style this can be either normal or italic.
void setScaleXCent(String bodyId, String childID, int w)
Set the width scale of an element in %.
string getProperty(string bodyID, string elementName, string property)
Get property of an element.
void setFontColor(String bodyId, String ElementID, String color)
Sets the current fonts color.
void show(String bodyId, String ElementID)
Shows an already loaded document.
string getAttribute(string bodyID, string elementName, string property)
Get property of an element.
void setFontFamily(String bodyId, String ElementID, String fontName)
Sets the styles current font name.
void setWindowPosition(String bodyId, int x, int y)
Sets the position of a document.
void setPosX(String bodyId, String childID, int x)
Set the Y position of an element.
void hide(String bodyId, String ElementID)
Hides an already visibly loaded document.
close(String bodyID)
Closes an open gui document.
void setPosition(String bodyId, String childID, int x, int y)
Set the position of an element.
void getText(String bodyId, String childID)
Returns the text between an element div tag including any HTML code.
setWindowPositionCent(string bodyID, int posx, int posy)
Set the position in screen.
void setFullScreen(String bodyId)
Sets the document to the current screens size.
void setProperty(String bodyId, String ElementID, String param, String value)
This command can be use to set various style sheet properties.
void setText(String bodyId, String childID, String text)
Sets the body text in the element.
void setScaleX(String bodyId, String childID, int w)
Set the width scale of an element in pixels.
void setPosY(String bodyId, String childID, int y)
Set the Y position of an element.
void setFontWeight(String bodyId, String ElementID, String weight)
Sets the current fonts weight this can be either normal or bold.
void showCursor()
Show the gui cursor. .