Commit graph

24 commits

Author SHA1 Message Date
6ad43ff0a5 Add ui::style::ref_height 2021-03-05 22:34:30 +03:00
bcba2893bf Fix action offset in button children 2021-03-05 15:55:36 +03:00
e67b3f1fdc Add ui slider element 2021-03-05 15:51:17 +03:00
0bf4324ba4 Refactor button creation + create image view via element factory 2021-03-05 14:27:20 +03:00
fe60386ad7 Support button onclick offset in ui styles 2021-03-03 16:54:42 +03:00
336bdde8d2 Add ui::element_factory interface 2021-03-03 12:25:04 +03:00
b8fb2d47e3 UI window wip 2021-03-03 10:59:50 +03:00
b37d2d25c7 Implement cached style merging 2021-02-27 20:21:50 +03:00
d0a117adf4 Make style members optional 2021-02-27 19:59:12 +03:00
fd5a9b7863 Support button icons 2021-02-27 17:53:37 +03:00
226b862e95 Remove style from element factory 2021-02-27 10:57:30 +03:00
1e9eb51911 Implement ui grid layout 2021-02-26 22:57:43 +03:00
3c851dfd60 Fix ui::frame size constraints 2021-02-26 14:34:58 +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
33256b6549 Proper default button size constraints 2021-02-25 15:15:12 +03:00
d42e1b1bcb Use shared_ptr instead of unique_ptr for ui elements 2021-02-25 14:42:35 +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