Commit Graph

9 Commits (2503fba46f285c8459b65695def9a5ad2ed06957)

Author SHA1 Message Date
vilmibm 2503fba46f implement viewport 2023-06-14 15:13:58 -07:00
vilmibm f8f5be36f7 line 2023-06-12 08:37:25 -07:00
vilmibm 4ee66d876e experimental WIP
this commit experiments with node and edge rendering.

For these I'm trying a Page element with a list of Node and Edge
primitives.

Node primitives are textviews.

Edges are a new, custom primitive.

the edge only draws a line from 0,0 to 5,5 right now but shows that I'm
able to implement a Draw that just writes arbitrary characters to the
screen.

I need to do several things, some of which suggest that i'm abusing the
Pages primitive in terrible ways:

- Add and remove nodes as needed. Pages has no Clear() or Reset(). I
  will have to manually keep track of the page -> node relationship
- Give nodes and edges page names that are unique. I won't really be
  using these and I must avoid collisions.
- Relate edges to nodes somehow so they can be drawn properly
- Ensure that all edges are drawn before all nodes

and a lot more

A tremendous amount of work is ahead but I at least have some basic
stuff proven to be workable.
2023-06-11 22:00:46 -04:00
vilmibm 2bc70d3377 handle ex cmds; you can quit 2023-06-11 20:35:49 -04:00
vilmibm 2003843965 WIP layout 2023-06-11 19:48:45 -04:00
vilmibm 80fad75a59 basic main 2023-06-11 18:58:01 -04:00
vilmibm c9df23dd3c sundry 2023-06-11 18:57:50 -04:00
vilmibm 8717908cd7 escape 2023-06-11 20:13:55 +00:00
vilmibm c35911eb04 initial commit 2023-06-11 20:10:15 +00:00