C/C++ SDK / C++ layer · UI / kroys::Ui::Table
kroys::Ui::Table
A table scope (BeginTable / EndTable); true when visible.
Kindclass
Headerkroys/plugin.hpp
Members6
DECLARATION
Declaration
Declared in kroys/plugin.hpp.
plugin.hpp
class Table
REFERENCE
Members
Constructors
#Table(const Ui& ui, const std::string& id, uint32_t columns, uint32_t flags = KROYS_UI_TABLE_ROW_BACKGROUND);Call EndTable only when BeginTable returned nonzero.
Methods
#void Column(const std::string& label, float width = 0.0f) const;Declares the next column (width 0: stretch).
#void Headers() const;Draws the header row of the declared columns.
#void NextRow() const;Starts a row.
#bool NextColumn() const;Moves to the next cell; nonzero when it is visible.
Operators
#explicit operator bool() const;True when the object is valid (open, alive or non-null).
Signatures
Table(const Ui& ui, const std::string& id, uint32_t columns, uint32_t flags = KROYS_UI_TABLE_ROW_BACKGROUND); explicit operator bool() const; void Column(const std::string& label, float width = 0.0f) const; void Headers() const; void NextRow() const; bool NextColumn() const;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.