27 Commits

Author SHA1 Message Date
2f72ef4904 Add key click handler to Element 2024-11-14 02:38:49 +00: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
86f378b5f4 Clean up code 2024-10-13 17:39:50 +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
0a8209d3fe Guard window color assignments in element setters 2024-10-11 23:47:43 +02:00
Gabriel Tofvesson
a13b2fb208 Assume element-local coordinates in handler 2024-10-08 17:33:37 +02:00
Gabriel Tofvesson
cb037bf811 Fix offset calculations 2024-10-08 17:27:08 +02:00
Gabriel Tofvesson
df8f9d4018 Don't shadow global 2024-10-08 16:54:36 +02:00
Gabriel Tofvesson
1b3cbfa2e8 Ignore unhandled click events 2024-10-08 16:21:14 +02:00
Gabriel Tofvesson
6e95fe9007 Simplify click detection 2024-10-08 16:13:43 +02:00
Gabriel Tofvesson
24d60850e8 Allow full render tree invalidation 2024-10-04 15:57:03 +02:00
Gabriel Tofvesson
552c19db47 Only render when dirty 2024-10-04 00:29:14 +02:00
Gabriel Tofvesson
0865e40758 Fix module requirement names 2024-10-03 23:03:02 +02:00
Gabriel Tofvesson
3a04122e26 Set window values on reload 2024-10-02 13:54:08 +02:00
Gabriel Tofvesson
f47a839341 Refactor to more abstract field accesses 2024-10-02 13:47:58 +02:00
Gabriel Tofvesson
8b1228fa9e Flatten Element structure for simplicity 2024-10-02 13:40:44 +02:00
Gabriel Tofvesson
f23c10c160 Set reasonable default Element values 2024-10-02 13:37:21 +02:00
Gabriel Tofvesson
c056eae22f Fix metatable inheritance rules 2024-10-02 13:23:46 +02:00
b70c3451fa Fix object reference in element constructor 2024-10-01 16:02:21 +00:00
3e17d0af7d Move element graphics reload to dedicated method 2024-10-01 15:58:52 +00:00
692d1a82b9 Allow changing onClick handler in Element 2024-10-01 14:54:36 +00:00
da6325e080 Implement basic graphical elements 2024-10-01 14:34:56 +00:00