Added libarchive support to Dawn.

This commit is contained in:
2023-10-09 13:16:52 -05:00
parent 0692b2b6d1
commit 4dd4cb045c
38 changed files with 567 additions and 158 deletions

View File

@ -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;