Added libarchive support to Dawn.

This commit is contained in:
2023-10-09 13:16:52 -05:00
parent 4f33f208ea
commit 52c473b029
34 changed files with 488 additions and 140 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;