This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
gui_api [2019/01/27 21:30] – GUI.InputTextFlags_Password modera | gui_api [2020/04/17 07:03] – [Custom Drawing] fxfire | ||
---|---|---|---|
Line 128: | Line 128: | ||
*Returns: //number// witdth | *Returns: //number// witdth | ||
- | ***'' | + | ***'' |
*set next window position. call before Begin() | *set next window position. call before Begin() | ||
Line 240: | Line 240: | ||
*size (also height in pixels) of current font with current scale applied | *size (also height in pixels) of current font with current scale applied | ||
- | ***'' | + | ***'' |
*per-window font scale. Adjust IO.FontGlobalScale if you want to scale all windows | *per-window font scale. Adjust IO.FontGlobalScale if you want to scale all windows | ||
Line 285: | Line 285: | ||
***'' | ***'' | ||
- | *setup number of columns. use an identifier to distinguish multiple column sets. close with Columns(1). | + | *setup number of columns. use an identifier to distinguish multiple column sets. **close with Columns(1)**. |
***'' | ***'' | ||
Line 468: | Line 468: | ||
***'' | ***'' | ||
*Returns: //string// text, //bool// changed | *Returns: //string// text, //bool// changed | ||
+ | |||
+ | ***'' | ||
+ | *Returns: //string// text, //bool// changed | ||
+ | *Lua syntax highlighting version of GUI: | ||
***'' | ***'' | ||
Line 830: | Line 834: | ||
***'' | ***'' | ||
+ | |||
+ | ***'' | ||
+ | *Returns: //number// X1, //number// Y1, screenpos | ||
+ | *USE THIS ONE IF POSSIBLE, it is A LOT FASTER than the one below! Converts a worldposition x,y,z to a screenposition x,y , IF that point is currently visible on the screen | ||
***'' | ***'' | ||
*Returns: //table// screenpos | *Returns: //table// screenpos | ||
*Converts a worldposition x,y,z to a screenposition x,y , IF that point is currently visible on the screen | *Converts a worldposition x,y,z to a screenposition x,y , IF that point is currently visible on the screen | ||
+ | |||
===Enums & Flags=== | ===Enums & Flags=== | ||
These are registered values in the GUI metatable. //Usage: d(GUI.WindowFlags_NoMove)// | These are registered values in the GUI metatable. //Usage: d(GUI.WindowFlags_NoMove)// |