7da4bf36d5
Lay out new client structure
2019-06-08 09:10:59 +00:00
6c4bfe2752
Use new config system
2019-06-08 09:10:59 +00:00
bc203aaff1
Create palette from config and add default config
2019-06-08 09:10:59 +00:00
5cfdb8f8e2
Move config to main package
2019-06-08 09:10:59 +00:00
4dfd31e5fc
Simplify config code
2019-06-08 09:10:59 +00:00
31549aa7eb
Add ConfigView
...
with python magic to make this possible:
c = Config({"a.b": "c"})
c.view.a.b == "c"
2019-06-08 09:10:59 +00:00
71ad02d4e1
Create simple config system
2019-06-08 09:10:59 +00:00
c676d71a61
Improve UI
...
- text no longer jumps around when an error message is displayed
- you can only type valid room names
- esc exits the application
2019-06-08 09:10:59 +00:00
43af84a395
Add basic euphoria single-room application
2019-06-08 09:10:59 +00:00
60d686bfce
Implement widget for TreeDisplay
2019-06-08 09:10:59 +00:00
9c3278b48c
Allow updating the AttributedTextWidget's text
2019-06-08 09:10:59 +00:00
55cea8ea7f
Fix AttributedText types
2019-06-08 09:10:59 +00:00
a80f4c3788
Add AttributedTextWidget
2019-06-08 09:10:59 +00:00
f222b6a390
Add split_by and str-like join
2019-06-08 09:10:59 +00:00
4a1db74245
Improve AttributedText constructor usability
...
The AttributedText constructor now allows setting attributes as a dict
via the "attributes" argument. It also interprets all other named
arguments as attributes, which override the attributes set via the
"attributes" argument.
2019-06-08 09:10:59 +00:00
3a542caac7
Alias AttributedText to AT
2019-06-08 09:10:59 +00:00
0c5369cd9d
Fix drawing of non-top-level anchors
2019-06-08 09:10:59 +00:00
6fae53e0c8
Add very basic test script
2019-06-08 09:10:59 +00:00
811933096f
Fix downwards fill
2019-06-08 09:10:59 +00:00
2b2270b674
Fix adding initial tree
...
I just forgot to add it to the deque... Heh
2019-06-08 09:10:59 +00:00
75fd0e7bbc
Fix children handling
2019-06-08 09:10:59 +00:00
603f8253cf
Remove obsolete attributes
2019-06-08 09:10:59 +00:00
a4a171105b
Add basic in-memory element supply
2019-06-08 09:10:59 +00:00
b71e3e15d6
Move ElementSupply to own file and document it
2019-06-08 09:10:59 +00:00
7c89ada5f0
Reorganize files
2019-06-08 09:10:59 +00:00
130da242cc
Add missing files to __init__.py
2019-06-08 09:10:59 +00:00
9df8338b0e
Implement rendering display lines
2019-06-08 09:10:59 +00:00
01a97c4147
Implement rendering to TreeView
2019-06-08 09:10:59 +00:00
4dbdb8d976
Figure out TreeDisplay structure
2019-06-08 09:10:59 +00:00
795569b917
Document how TreeDisplay will work one day
2019-06-08 09:10:59 +00:00
a3942c6b80
Implement Element and ElementSupply ABCs
2019-06-08 09:10:59 +00:00
2e56b1b925
Satisfy mypy and (re-)move files
2019-06-08 09:10:59 +00:00
ef5320058c
Start working on rendering part
2019-06-08 09:10:59 +00:00
573e538869
Make lots of tree display notes and plans
2019-06-08 09:10:59 +00:00
362d841070
Reorganize project structure
2019-06-08 09:10:59 +00:00
d54df18d5e
Add basic message class
2019-06-08 09:10:59 +00:00
2eb26c5532
Rename and add attribute setting/getting
2019-06-08 09:10:59 +00:00
96f29a49cf
Add class representing text with attributes
...
Attributes can be set and deleted on sections of a MarkedUp object.
Chunk attributes work like dicts (name + arbitrary value). This can be
used to set color info or attach a link/URL to parts of a string, for
example.
2019-06-08 09:10:59 +00:00