Commit graph

19 commits

Author SHA1 Message Date
d16a71012d Fix ui::label size constraints 2021-02-26 14:35:11 +03:00
3c851dfd60 Fix ui::frame size constraints 2021-02-26 14:34:58 +03:00
be0fb7e9eb Fonts are guaranteed to preserve space symbols when shaping 2021-02-26 12:19:38 +03:00
0de3b782dc Add text shadows 2021-02-26 11:36:32 +03:00
585edaf5b5 Explicitly state default modes in label 2021-02-25 21:24:46 +03:00
619c4edbe2 Add frame element 2021-02-25 21:09:26 +03:00
673fc70a47 Create ui labels through element factory 2021-02-25 21:02:41 +03:00
fd7fbd4d87 Label properties change triggers reshape 2021-02-25 15:15:42 +03:00
ec422cf48d Make ui::contoller accept an external event loop 2021-02-25 15:00:27 +03:00
8c04087a44 Add loop posting utilities in ui::element 2021-02-25 14:59:53 +03:00
d42e1b1bcb Use shared_ptr instead of unique_ptr for ui elements 2021-02-25 14:42:35 +03:00
b9dd6c78a3 Implement glyph rendering in painter 2021-02-25 14:17:24 +03:00
69bd546848 Label implementation wip 2021-02-25 11:42:47 +03:00
f106299dd9 UI box shape is all zeroes by default 2021-02-25 11:24:28 +03:00
4deb6fa64a Default button created with text 2021-02-25 11:23:57 +03:00
38123ace0e Add more styles & support border and shadow in default button 2021-02-25 11:13:32 +03:00
b7014f2eda Add style description & use it in default element factory 2021-02-25 10:36:50 +03:00
937a011577 Don't store font in painter or controller, use it in factory instead 2021-02-25 09:50:30 +03:00
a53b32067f UI library prototype wip 2021-02-25 09:07:39 +03:00