mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-08 15:21:12 +00:00
Add Lua functions:
- quad_isRenderBeforeParent() - quad_setRenderBorder() - quad_isRenderBorder() - quad_setRenderCenter() - quad_isRenderCenter() - quad_borderAlpha() - quad_getBorderAlpha() - node_getShape() - text_setAlign() Constants: ALIGN_CENTER, ALIGN_LEFT, PATHSHAPE_RECT, PATHSHAPE_CIRCLE
This commit is contained in:
parent
4f6447b58e
commit
396f091c85
4 changed files with 82 additions and 3 deletions
|
@ -32,7 +32,7 @@ public:
|
|||
void setWidth(int width);
|
||||
void setFontSize(int sz);
|
||||
int getNumLines() { return lines.size(); }
|
||||
void setAlign(Align align);
|
||||
virtual void setAlign(Align align);
|
||||
protected:
|
||||
int fontDrawSize, textWidth;
|
||||
void formatText();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue