LordMZTE
4e67de14b3
chore: port to latest Zig master
2024-03-26 17:18:48 +01:00
LordMZTE
431cd4adf7
feat: implement stencils
...
closes #13
2024-02-19 22:40:17 +01:00
LordMZTE
b33f85c2f8
chore: minor cleanups of text layout code
2024-02-10 11:50:33 +01:00
LordMZTE
6f318242d7
fix: vertical positioning of spans
2024-02-09 22:23:51 +01:00
LordMZTE
78951ce42e
fix: move child deinit logic into widget impl
...
closes #17
2024-02-09 19:27:53 +01:00
LordMZTE
c4ae23938d
feat: implement relayouting
...
closes #18
2024-01-30 16:13:59 +01:00
LordMZTE
f925e5736c
fix: removeChild works properly now
...
closes #12
2024-01-30 15:16:53 +01:00
LordMZTE
ad388687cd
fix: some keyboard input related mistakes
2024-01-18 20:29:13 +01:00
LordMZTE
eaa555dcbe
feat: restructure key input API
2024-01-18 15:11:04 +01:00
LordMZTE
6292688915
fix: various logic bugs
2024-01-13 19:15:36 +01:00
LordMZTE
c23e6ea621
fix: Box respects it's constraints
2024-01-13 16:25:58 +01:00
LordMZTE
f84d6be6be
feat: implement builtin themes and make Labels use attreebutes
2024-01-13 15:04:08 +01:00
LordMZTE
ab4a4395d8
feat: implement spacer widget
2024-01-13 13:50:38 +01:00
LordMZTE
4841f81bac
docs: update todo list in README
2024-01-13 13:23:54 +01:00
LordMZTE
c60503790b
feat: automatically determine treevent firing mode
2024-01-13 13:23:37 +01:00
LordMZTE
48527a02e0
fix: correct text positioning
2024-01-13 13:23:19 +01:00
LordMZTE
8c859623a4
fix: temporarily remove constraint checks
...
this will eventually be replaced with stencils
2024-01-13 13:22:18 +01:00
LordMZTE
3ebf0f84f7
feat: implement CharType treevent
2024-01-13 13:21:56 +01:00
LordMZTE
d55439e94e
feat: implement focus system
2024-01-10 23:24:59 +01:00
LordMZTE
c39d2dc27d
feat: add delta time field to Draw treevent
...
close #7
2024-01-09 20:16:41 +01:00
LordMZTE
4fbfdb11f3
fix: WidgetIter will also return first widget
...
Also includes some miscelaneous cleanups in WidgetIter.
2024-01-09 19:26:31 +01:00
LordMZTE
a899c90a14
Merge pull request 'feat: implemented widget iterator' ( #6 ) from coding-agent/zenolith:master into master
...
Reviewed-on: #6
2024-01-08 23:04:31 +01:00
Marcius
5d38cea63a
feat: implemented widget iterator
2024-01-08 21:53:25 +00:00
LordMZTE
ff9c651272
feat: implement key press events
2024-01-08 20:13:54 +01:00
LordMZTE
fa98f472f8
fix: upstream build API changes
2024-01-07 15:47:30 +01:00
LordMZTE
26628bb9c3
chore: use git dependencies
2024-01-05 20:34:24 +01:00
LordMZTE
5b9ccff80d
fix: correct backevent docs
2023-12-21 15:10:20 +01:00
LordMZTE
1862a0e3fe
feat: scrap platform backevents
...
Backevents are no longer sent to the platform event loop. Instead, a
user must implement a custom widget to handle backevents. The advantage
of this is that the existance of the widget is still guaranteed at the
time the event is handled. Also, this removes some pointless need to
data allocation in most backend implementations.
We should think about an alternative, cross-platform API that still
allows the user to utlilize the platform's event loop somehow.
2023-12-21 14:34:51 +01:00
LordMZTE
80209aceac
feat: use i32 and u31 integer types
...
closes #2
2023-12-21 11:57:59 +01:00
LordMZTE
4be377ea7b
docs: update checklist
2023-12-21 11:21:45 +01:00
LordMZTE
e777731157
docs: link the matrix room
2023-12-21 11:17:57 +01:00
LordMZTE
c7df101090
feat: implement debug rendering
...
closes #4
2023-12-21 08:20:11 +01:00
LordMZTE
5903370cda
fix: correctly calculate size of chunks
2023-12-21 08:19:03 +01:00
LordMZTE
8908dbcc0d
feat: implement Chunks and make Positions signed
2023-12-20 14:54:48 +01:00
LordMZTE
9a2080673c
feat: Partially implement new text layout & rendering system: Spans
...
Chunks are NYI
2023-11-30 20:57:03 +01:00
LordMZTE
3446418b49
chore: relicense under GPL-3.0
...
The original idea with using AGPL-3.0 was that zenolith could
theoretically be used server-side. On second thought, it's highly
unlikely this will ever happen, and it'll probably cause more damage
than good.
2023-11-30 07:11:03 +01:00
LordMZTE
a81027abe2
chore: update TODO list
2023-11-26 22:16:43 +01:00
LordMZTE
b8c4218638
feat: add icon
2023-11-26 14:34:54 +01:00
LordMZTE
4705b42515
init
2023-11-26 14:01:22 +01:00