95 Commits

Author SHA1 Message Date
Gabriel Tofvesson
4997a94cfb Fix variable naming 2024-12-04 22:31:28 +01:00
Gabriel Tofvesson
3d01e66364 Rename graphics buffer 2024-11-22 01:17:57 +01:00
Gabriel Tofvesson
b0e5877417 Implement buffered windows to support transparancy 2024-11-19 18:57:36 +01:00
da30f475c9 Unpack event object when it is not a click event 2024-11-14 03:25:24 +00:00
fc121adcb8 Add more event handling 2024-11-14 03:05:28 +00:00
5eafe25b1a Add char event utils 2024-11-14 03:02:31 +00:00
2f72ef4904 Add key click handler to Element 2024-11-14 02:38:49 +00:00
14153522b6 Get key event values 2024-11-14 02:35:07 +00:00
f3f600892d Add util function for key events 2024-11-14 02:32:27 +00:00
Gabriel Tofvesson
a0a7c96093 Call parent MT of Text 2024-10-26 19:50:13 +02:00
Gabriel Tofvesson
569a4370c0 Fix blit implementation 2024-10-26 19:41:12 +02:00
Gabriel Tofvesson
6a4d2d0375 Simplify Text implementation 2024-10-26 19:26:25 +02:00
Gabriel Tofvesson
7430c24798 Implement text-progress bar 2024-10-26 01:49:19 +02:00
Gabriel Tofvesson
f759cfe229 Prevent click 'transparency' 2024-10-26 00:46:05 +02:00
Gabriel Tofvesson
e193427e4c Fix reverse indexed iterations 2024-10-16 00:41:04 +02:00
Gabriel Tofvesson
ccb2134c2f Handle child events in reverse order 2024-10-15 04:06:24 +02:00
Gabriel Tofvesson
73aa371813 Fix Prop application order 2024-10-14 16:36:19 +02:00
Gabriel Tofvesson
2e9eefb240 Plain log element data 2024-10-14 12:50:38 +02:00
Gabriel Tofvesson
f5ea075a37 Simplify logging more 2024-10-14 11:35:33 +02:00
Gabriel Tofvesson
a8652adafe Remove very excessive logs 2024-10-14 11:33:24 +02:00
Gabriel Tofvesson
cedf602e89 Implement logging 2024-10-14 05:53:11 +02:00
Gabriel Tofvesson
ea4de6e988 Allow Element._reload in Children prop 2024-10-13 17:42:24 +02:00
Gabriel Tofvesson
86f378b5f4 Clean up code 2024-10-13 17:39:50 +02:00
Gabriel Tofvesson
3943bbcc19 Fix Children reload order 2024-10-13 16:53:58 +02:00
Gabriel Tofvesson
86e251152c Fix Children reload order 2024-10-13 16:52:59 +02:00
Gabriel Tofvesson
0d8c7ab16b Nil guard for window visibility 2024-10-13 16:07:12 +02:00
Gabriel Tofvesson
9ba0ada978 Simplify lists and visibility 2024-10-13 16:05:58 +02:00
Gabriel Tofvesson
3a7b2cd252 Ignore events for invisible elements 2024-10-12 23:28:47 +02:00
Gabriel Tofvesson
27f87b4bae Reload Container children 2024-10-12 23:04:26 +02:00
Gabriel Tofvesson
fdfa8d21bf Redesign main menu 2024-10-12 17:56:16 +02:00
Gabriel Tofvesson
3a46e08f37 Allow lenient Container dimensions 2024-10-12 07:35:29 +02:00
Gabriel Tofvesson
065940ff2c Fix rendering issues in children 2024-10-12 05:33:04 +02:00
Gabriel Tofvesson
8483ffeaaf Always call draw for children 2024-10-12 05:30:20 +02:00
Gabriel Tofvesson
c084dc55aa Adjust positions after element update 2024-10-12 05:22:21 +02:00
Gabriel Tofvesson
5da99116ce Fix bounds check on request buttons 2024-10-12 04:59:04 +02:00
Gabriel Tofvesson
bb5f246687 Add default return values for Padding params 2024-10-12 04:17:57 +02:00
Gabriel Tofvesson
dd80c013c8 Reposition child on padding resize 2024-10-12 01:31:41 +02:00
Gabriel Tofvesson
05116679d2 Allow resizing padding 2024-10-12 01:28:37 +02:00
Gabriel Tofvesson
1a63a7054f Handle events in children before parents 2024-10-12 00:41:26 +02:00
Gabriel Tofvesson
4acde58d5c Fix resize call for horizontal inactive field 2024-10-12 00:17:03 +02:00
Gabriel Tofvesson
7cd370e8ef Fix setX -> getX 2024-10-12 00:15:39 +02:00
Gabriel Tofvesson
0bd63f6804 Set default Progress orientation to HORIZONTAL 2024-10-12 00:11:39 +02:00
Gabriel Tofvesson
7248f777a0 Set reasonable Progress color defaults 2024-10-11 23:51:07 +02:00
Gabriel Tofvesson
685303e4e5 Use bgColor instead of fgColor 2024-10-11 23:48:59 +02:00
Gabriel Tofvesson
0a8209d3fe Guard window color assignments in element setters 2024-10-11 23:47:43 +02:00
Gabriel Tofvesson
b816a81f3b Apply colors to children of Progress 2024-10-11 23:45:37 +02:00
Gabriel Tofvesson
99c9158488 Propogate setDirty for Progress children 2024-10-11 23:39:25 +02:00
Gabriel Tofvesson
a483a319e6 Pass args to resize() by name 2024-10-11 23:27:02 +02:00
Gabriel Tofvesson
658b69dbf8 Fix orientation prop in Progress 2024-10-11 23:18:19 +02:00
Gabriel Tofvesson
f6c9801635 Add constants for orientations 2024-10-11 22:48:52 +02:00