Commit graph

21 commits

Author SHA1 Message Date
Andrea Blankenstijn 0eb300ceeb caption interface-api separation 2021-08-17 11:39:07 +02:00
Andrea Blankenstijn bb934d4f86 separate widget interface-implementation 2021-08-17 00:27:51 +02:00
Andrea Blankenstijn 3458ca123b pass by value vs by ref thing 2021-08-14 16:37:42 +02:00
Andrea Blankenstijn b11d574d9c constructor style refactor 2021-08-14 11:53:51 +02:00
Andrea Blankenstijn 151c502472 explicitly initialize value to shut up linter 2021-08-14 09:25:18 +02:00
Andrea Blankenstijn 43dd6ab820 use raw ptr instead of fancy one when no references are kept after function
exit.
2021-08-12 15:55:47 +02:00
Andrea Blankenstijn 79f83abe3b smart ptr and a bit of doc 2021-08-10 23:48:19 +02:00
Andrea Blankenstijn e71a16208b noexcept correctness intent 2021-08-08 16:04:33 +02:00
Andrea Blankenstijn 4f82826bbc constness 2021-08-08 14:30:56 +02:00
Andrea Blankenstijn cab6fa0cf4 wip general code improvement 2021-08-07 20:11:28 +02:00
Andrea Blankenstijn 2d4c6e3694 Extract linear and smoothstep functions. Minor tweaks. 2021-08-01 11:19:06 +02:00
Andrea Blankenstijn 13bdb970c0 config clang-tidy linter and fix code based on linting err/warn 2021-07-30 21:37:14 +02:00
Andrea Blankenstijn 3b6e900a22 format code with custom clang-format style 2021-07-29 16:06:03 +02:00
Andrea Blankenstijn 80576bdab8 fix memory leak in text rendering 2021-07-27 22:15:43 +02:00
Andrea Blankenstijn 55fbd59c36 half workaround to fix corner glitch in draw_rect and minor changes 2021-07-26 23:48:04 +02:00
Andrea Blankenstijn ef294d67fc rewrite template to discard pointers 2021-07-24 08:28:51 +02:00
Andrea Blankenstijn cc0bed2287 fix numeric input initial value to be in range 2021-07-23 22:32:56 +02:00
Andrea Blankenstijn 4b87af7bc4 various changes and fixes 2021-07-23 20:08:52 +02:00
Andrea Blankenstijn ec0d85b97a remove unused caption vertical alignment as we use all viewport height 2021-07-20 12:29:17 +02:00
Andrea Blankenstijn 30c4205dab some fixes and working sdl wrapper 2021-07-19 23:50:50 +02:00
Andrea Blankenstijn dd3ff9358a big hierarchy refactor, some little changes, add Font class 2021-07-18 18:26:12 +02:00