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 [2018/09/07 07:45] – fxfire | gui_api [2019/08/19 08:20] – 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 251: | Line 251: | ||
===Layout=== | ===Layout=== | ||
- | ***'' | + | ***'' |
* If a line does not start with text but with an Icon or other GUI Element, call this before drawing the text to align the height correctly. | * If a line does not start with text but with an Icon or other GUI Element, call this before drawing the text to align the height correctly. | ||
Line 874: | Line 874: | ||
* GUI.InputTextFlags_NoUndoRedo | * GUI.InputTextFlags_NoUndoRedo | ||
* GUI.InputTextFlags_CharsScientific | * GUI.InputTextFlags_CharsScientific | ||
+ | * GUI.InputTextFlags_Password | ||