22 Commits

Author SHA1 Message Date
Mitchell Hashimoto
3b2d93373e hook up the real subprocess reader/writer to the UI! 2022-04-26 17:13:37 -07:00
Mitchell Hashimoto
bd7855da46 when losing focus, show hollow box 2022-04-22 21:58:15 -07:00
Mitchell Hashimoto
cd602b660c blinking cursor 2022-04-22 15:33:50 -07:00
Mitchell Hashimoto
f8b305df62 pass around the event loop, setup a timer to prove it works 2022-04-22 13:56:39 -07:00
Mitchell Hashimoto
df9fcf636f calculate the cell width/height using the font size scale factor 2022-04-19 20:05:24 -07:00
Mitchell Hashimoto
d250bcda65 fix the baseline for font rendering 2022-04-19 19:30:30 -07:00
Mitchell Hashimoto
e2ed1ed745 shader modes, draw a jank cursor 2022-04-19 13:54:50 -07:00
Mitchell Hashimoto
7a00c54f25 cell: convert atlas x/y to NDC in shader 2022-04-19 09:20:55 -07:00
Mitchell Hashimoto
ac8120f073 update some comments 2022-04-19 09:02:50 -07:00
Mitchell Hashimoto
c43c1d38f1 add background pass 2022-04-19 08:54:39 -07:00
Mitchell Hashimoto
e9661fa55e render multiple lines 2022-04-19 08:42:37 -07:00
Mitchell Hashimoto
81d8ca5b9c render text from our terminal! 2022-04-18 17:57:08 -07:00
Mitchell Hashimoto
34cb9b2c27 setup our GPU cells based on terminal state 2022-04-18 16:21:22 -07:00
Mitchell Hashimoto
2e46612bc7 attach a terminal to the window, start hinting at renderer hookup 2022-04-18 14:12:35 -07:00
Mitchell Hashimoto
38428f94c1 make colors more distinct for demo cells 2022-04-15 09:27:53 -07:00
Mitchell Hashimoto
8ea0299375 grid keeps track of cells 2022-04-15 09:18:57 -07:00
Mitchell Hashimoto
4d9b67fa65 model direct gpu cell 2022-04-15 09:10:32 -07:00
Mitchell Hashimoto
128d28a7bd setup a single vao, ebo, vbo for grid rendering 2022-04-15 08:35:49 -07:00
Mitchell Hashimoto
e672c9d7d5 calculate grid size in dedicated struct, tests 2022-04-15 08:16:22 -07:00
Mitchell Hashimoto
d5ab024521 fix memory leaks 2022-04-15 07:52:08 -07:00
Mitchell Hashimoto
ce70efd771 render a rainbow grid 2022-04-14 17:44:40 -07:00
Mitchell Hashimoto
544286509f grid render a few cells 2022-04-14 17:14:49 -07:00