Commit graph

31 commits

Author SHA1 Message Date
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 a83c4521e5 fix missing includes (for clang, gcc was working fine) 2021-07-29 15:31:39 +02:00
Andrea Blankenstijn 657c7f852c fix struct/class forward decl incoherence, forgotten override spec and make it compile with clang 12 2021-07-28 15:15:32 +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 369e1c1f1b 'fix' input widget size and set back dbg outline to vp boundaries 2021-07-24 22:07:28 +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 e766162b1e move input concepts to concepts file. includes reorder 2021-07-20 15:20:46 +02:00
Andrea Blankenstijn fbd680d11f double default layout margins 2021-07-20 15:08:55 +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 57a95154c2 fix empty text rendering, remove useless regex in numeric input 2021-07-20 12:11:50 +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
Andrea Blankenstijn 98f51426b8 basic sdl wrapper 2021-07-16 17:18:13 +02:00
Andrea Blankenstijn 4e4539695f decrease button height 2021-07-15 14:00:06 +02:00
Andrea Blankenstijn c99bc3eac5 start work on a sdl wrapper 2021-07-14 17:33:54 +02:00
Andrea Blankenstijn 80184d8a35 add error checks and throw some exceptions 2021-07-13 22:57:49 +02:00
Andrea Blankenstijn 31370234df input: remove focus on enter key. don't catch stoll/stodd exception. 2021-07-13 13:30:19 +02:00
Andrea Blankenstijn 03c6f51e16 add noexcept and override specifiers. make some members public instead of using [gs]etters. 2021-07-13 13:22:11 +02:00
Andrea Blankenstijn fb1acc9386 set default aa pixels to 3 2021-07-12 14:22:41 +02:00
Andrea Blankenstijn aa7775b943 change button order in numeric input 2021-07-12 08:18:27 +02:00
Andrea Blankenstijn 7d5bfefff0 little fixes/enhancements here and there 2021-07-12 00:58:59 +02:00
Andrea Blankenstijn 59d4f88e3d fix caption, add vertical align, add margins 2021-07-11 22:30:33 +02:00
Andrea Blankenstijn 6ddd0a5453 handle correctly diamond-shaped inheritance 2021-07-11 22:03:30 +02:00
Andrea Blankenstijn 938bb8396c somewhat working code 2021-07-11 17:07:50 +02:00
Andrea Blankenstijn deb11ed9fd wip big rewrite 2021-07-10 19:55:53 +02:00
Andrea Blankenstijn 5a427ec4c2 change file hierarchy 2021-07-09 13:50:17 +02:00