Commit graph

25 commits

Author SHA1 Message Date
6149c48664 default fonts in theme, custom with FontHandler.
fix input highlight.
render multiline text.
remove default theme singleton.
scrollable area texture alignment.
2022-02-01 19:14:51 +01:00
299b39ad28 little tweaks here and there. 2021-08-24 00:10:09 +02:00
f6ae2c51e8 Comment a bit the code. 2021-08-23 23:50:14 +02:00
76d319fb69 trash commit, style, small api changes (ref vs ptr) and who knows 2021-08-19 15:00:44 +02:00
880748276a input interface-impl separation 2021-08-17 18:00:27 +02:00
fbaabd5aa7 button interface-api separation 2021-08-17 12:08:38 +02:00
bb934d4f86 separate widget interface-implementation 2021-08-17 00:27:51 +02:00
d9eccc940a rewrite how events are held 2021-08-16 23:13:59 +02:00
3458ca123b pass by value vs by ref thing 2021-08-14 16:37:42 +02:00
3570cf301a format code 2021-08-14 09:25:28 +02:00
7c5277dabd They say members defined in header are implicitly inline.
Also remove the static from static inline (is that C specific?)
2021-08-14 09:17:51 +02:00
e52b55f460 delete default copy/move ctor/operator=, default default ctor and
destructor
2021-08-13 16:11:19 +02:00
79f83abe3b smart ptr and a bit of doc 2021-08-10 23:48:19 +02:00
e71a16208b noexcept correctness intent 2021-08-08 16:04:33 +02:00
4f82826bbc constness 2021-08-08 14:30:56 +02:00
cab6fa0cf4 wip general code improvement 2021-08-07 20:11:28 +02:00
2d4c6e3694 Extract linear and smoothstep functions. Minor tweaks. 2021-08-01 11:19:06 +02:00
13bdb970c0 config clang-tidy linter and fix code based on linting err/warn 2021-07-30 21:37:14 +02:00
3b6e900a22 format code with custom clang-format style 2021-07-29 16:06:03 +02:00
cc0bed2287 fix numeric input initial value to be in range 2021-07-23 22:32:56 +02:00
4b87af7bc4 various changes and fixes 2021-07-23 20:08:52 +02:00
ec0d85b97a remove unused caption vertical alignment as we use all viewport height 2021-07-20 12:29:17 +02:00
57a95154c2 fix empty text rendering, remove useless regex in numeric input 2021-07-20 12:11:50 +02:00
30c4205dab some fixes and working sdl wrapper 2021-07-19 23:50:50 +02:00
dd3ff9358a big hierarchy refactor, some little changes, add Font class 2021-07-18 18:26:12 +02:00