|
API Documentation
|
|
|
197 void addComponent (
Component* component,
unsigned int x,
unsigned int y,
unsigned int width,
unsigned int height,
bool resizeAllowed =
false,
bool updateLayout =
true) ;
Component * getComponentAt(unsigned int index) const
void setFixedSizeRow(unsigned int rowIndex, float sizePix)
void setWeightCol(unsigned int colIndex, float weight)
virtual void exportComponentsNodeEntry(nkExport::Node *rootNode) override
virtual void exportClassToTree(nkExport::Node *rootNode) override
virtual void importClassFromTree(nkExport::Node *rootNode) override
Component * getComponentAt(unsigned int x, unsigned int y) const
float getWeightRow(unsigned int index) const
GridLayout(System *system) noexcept
Represents a layout to organize children of a component.
Definition: Layout.h:12
virtual void update() override
void setWeightRow(unsigned int rowIndex, float weight)
Base class for any graphical component.
Definition: Component.h:12
The main system of the component.
Definition: System.h:18
unsigned int getGridHeight() const
void setIgnoreInternalBorderCell(unsigned int rowIndex, unsigned int colIndex, bool value)
void setFixedSizeCol(unsigned int colIndex, float sizePix)
nkMaths::Rectangle getComponentCellCoverage(Component *component) const
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
Represents a 2D Point.
Definition: Point.h:12
void insertRow(unsigned int index)
void eraseRow(unsigned int index)
void insertCol(unsigned int index)
virtual void setParentComponent(Component *parent) override
float getFixedSizeCol(unsigned int index) const
void eraseCol(unsigned int index)
void setInternalBorderHeight(float valuePix)
void updateComponentCellCoverage(Component *component, unsigned int x, unsigned int y, unsigned int width, unsigned int height, bool updateLayout=true)
nkMaths::Point getCellCoordinatesForPoint(nkMaths::Point point) const
void addComponent(Component *component, unsigned int x, unsigned int y, unsigned int width, unsigned int height, bool resizeAllowed=false, bool updateLayout=true)
Represents a 2D rectangle.
Definition: Rectangle.h:12
void setInternalBorderWidth(float valuePix)
float getFixedSizeRow(unsigned int index) const
unsigned int getGridWidth() const
Implements a layout organizing children components in a grid.
Definition: GridLayout.h:14
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
virtual void removeComponent(Component *component) override
float getWeightCol(unsigned int index) const
void setGridWidth(unsigned int value)
virtual void processComponentsNodeEntry(nkExport::Node *rootNode) override
GridLayout(const GridLayout &)=delete
void setGridHeight(unsigned int value)