3a814fb960
Remove obsolete functions
2022-07-19 18:09:50 +02:00
47aa99bb26
Port majority of layouting logic
2022-07-19 18:09:30 +02:00
e7cd0568e9
Add constructors for different types of blocks
2022-07-19 17:05:54 +02:00
2beb44a17c
Structure tree widget state around cursors
2022-07-19 09:51:58 +02:00
4f4cae070a
Store first and last root in Blocks
2022-07-19 09:51:10 +02:00
21d908874d
Adapt blocks to include markers
2022-07-15 11:10:19 +02:00
26e988114c
Start restructuring chat as widget
2022-07-15 11:10:19 +02:00
ee7316f65b
Fix rendering of scrolled lists
2022-07-14 14:05:27 +02:00
9169cbb657
Fix warnings
2022-07-13 15:29:31 +02:00
f527c46dde
Fix scrolling when nick list is visible
2022-07-13 11:44:44 +02:00
9aed0a3cee
Use frame stack instead of explicit pos and size parameters
2022-07-13 11:34:52 +02:00
44470b973d
Remove unused function
2022-07-12 21:55:29 +02:00
2f60b0390e
Use widgets for List rows instead of Styleds
2022-07-12 21:55:29 +02:00
204eb95fa5
Add Empty widget
2022-07-12 21:42:21 +02:00
d2c4d2b029
Add Background widget
2022-07-12 21:42:09 +02:00
8eda1ad97d
Box widgets
...
This way, widgets containing other widgets can be heterogenous. Wenever
a widget is expeted, *any* widget will work.
2022-07-12 21:10:03 +02:00
dea0384162
Use List widget for nick list
2022-07-12 19:29:50 +02:00
da6bab4b13
Use List widget in rooms view
2022-07-12 19:29:50 +02:00
82049aedc0
Add List widget
2022-07-12 19:29:50 +02:00
0a91f2077d
Update toss
...
The latest toss commit includes a width function that runs directly on a
&Styled. This avoids using &styled.text(), which unnecessarily allocates
a new string. Probably premature optimization, but nicer to use
nontheless.
2022-07-12 19:18:52 +02:00
d3229370f3
Consume widget during rendering
2022-07-12 19:18:52 +02:00
53a0f8d4af
Add Text widget
2022-07-12 09:27:16 +02:00
f08f653bfc
Begin the widgetization
2022-07-11 23:30:16 +02:00
717ac4c47a
Sort nick list alphabetically
2022-07-10 13:45:01 +02:00
e188a99f2a
Implement simple single-line editor
2022-07-08 11:28:43 +02:00
02d3b067b8
Show informative prefixes in nick list
...
~ = logged into an account
* = is host (supercedes ~)
! = is staff (supercedes *)
> = is current session
2022-07-06 19:34:30 +02:00
39560f1fc5
Show amount of rooms in room list
2022-07-06 11:33:57 +02:00
9f9f68466a
Don't always render list cursor
2022-07-06 10:18:31 +02:00
a03971c019
Remove unused code
2022-07-06 10:18:00 +02:00
47d67022f0
Fix chat rendering over room status
2022-07-06 10:12:29 +02:00
2a710ab727
Render nick list with generic list
2022-07-06 10:10:05 +02:00
9b3ea00d1b
Use longer time format
2022-07-05 20:49:07 +02:00
7f1dc020d3
Render room list with new generic list
2022-07-05 19:37:29 +02:00
8b7c58b702
Add generic list
2022-07-05 19:37:29 +02:00
446e3e885a
Move chat to ui module
2022-07-05 19:37:29 +02:00
93cc2a6c13
Switch to new toss commit
2022-07-04 19:50:07 +02:00
025bd788cf
Fix warnings
2022-06-30 15:16:47 +02:00
4da132b5bb
Fix suffixes in room list
2022-06-28 10:32:10 +02:00
6fbc0c5ff7
Render and interact with individual rooms
2022-06-28 10:24:20 +02:00
19d9a19c06
Delete existing rooms
2022-06-27 10:19:17 +02:00
3e9ceba302
Connect to new rooms
2022-06-27 10:14:30 +02:00
05ac42ab78
Connect to and disconnect from existing rooms
2022-06-27 09:51:22 +02:00
7880f3389c
Fix scroll offset calculation
2022-06-27 09:30:51 +02:00
32e8616ed7
Move cursor in room list
2022-06-27 09:30:41 +02:00
e9e3b6e21c
Render list of known rooms
2022-06-26 19:03:44 +02:00