mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-26 06:35:51 +00:00
396f091c85
- 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
19 lines
352 B
C++
19 lines
352 B
C++
#ifndef BASETEXT_H
|
|
#define BASETEXT_H
|
|
|
|
#include "RenderObject.h"
|
|
|
|
|
|
class BaseText : public RenderObject
|
|
{
|
|
public:
|
|
BaseText() { addType(SCO_TEXT); }
|
|
virtual ~BaseText() {}
|
|
virtual void setText(const std::string& text) = 0;
|
|
virtual void setWidth(int width) = 0;
|
|
virtual void setFontSize(int sz) = 0;
|
|
virtual void setAlign(Align a) = 0;
|
|
|
|
};
|
|
|
|
#endif
|