Added libarchive support to Dawn.
This commit is contained in:
@ -43,6 +43,13 @@ namespace Dawn {
|
||||
UI_LABEL_VERTICAL_ALIGN_BOTTOM
|
||||
};
|
||||
|
||||
enum UILabelTextAlign {
|
||||
UI_LABEL_TEXT_ALIGN_LEFT,
|
||||
UI_LABEL_TEXT_ALIGN_CENTER,
|
||||
UI_LABEL_TEXT_ALIGN_RIGHT
|
||||
// TODO: Add justify
|
||||
};
|
||||
|
||||
class UILabel : public UIComponentRenderable {
|
||||
private:
|
||||
Mesh mesh;
|
||||
@ -68,6 +75,9 @@ namespace Dawn {
|
||||
// @optional
|
||||
StateProperty<float_t> lineHeight;
|
||||
|
||||
// @optional
|
||||
StateProperty<enum UILabelTextAlign> textAlign;
|
||||
|
||||
UILabel(SceneItem *item);
|
||||
|
||||
void onStart() override;
|
||||
|
Reference in New Issue
Block a user