GUITable
class ForceEditor.GUITable
Description
GUI class for custom tables on the GUIPanel. Use GUITable::DrawXXX
to draw and specify specific unique table.
All this methods should be called only if one of panels called GUIPanel.Begin()
, if not this methods will be ignored.
Delegates
Fn()
The method delegate for GUITable.
Static Methods
DrawStretch
Stretch two-columns table, all widgets here will be stretched by all two columns.
DrawStretchSame
Stretch two-columns table, all widgets here will be stretched by the same size after being auto-calculated from each of columns.
DrawFixed
Fixed two-columns table, all widgets here will be fixed by all two-columns.
DrawFixedSame
Fixed two-columns table, all widgets here will be by the same size after being auto-calculated.
Widget
Draws table widget and prepared for next.
This method will make new column on current table (e.g assume that one of GUITable.DrawXXX
was called), on first will place name of widget as regular string, and on second all of your content that you specify in delegate 'fn'.
WidgetGroup
Draw a text that marks group.
This method is almost identical to GUITable.Widget
, it will make new column on current table (e.g assume that one of GUITable.DrawXXX
was called), on first will place empty text and on second empty text, witch makes a little space on table.
See Also
Last updated