Commit Graph
23 Commits
Author SHA1 Message Date
sashakoshka cab280a371 Removed the need for a quit handler 2022-11-16 11:08:30 -05:00
sashakoshka e030f8632b Overhauled event system 2022-11-16 00:29:23 -05:00
sashakoshka 85994112cf Made buffer's dot private 2022-11-15 17:41:08 -05:00
sashakoshka 02d010818f Fix possible segfault in X backend 2022-11-15 11:40:10 -05:00
sashakoshka 1eceb53b94 Added fun color example 2022-11-15 11:29:45 -05:00
sashakoshka 1d71df180d Changed how buttons are stored in press and release events 2022-11-14 23:15:21 -05:00
sashakoshka b816a4abf5 Added a Printable method to button 2022-11-14 23:09:31 -05:00
sashakoshka 872b36d172 Added text input example (non-working) 2022-11-13 22:28:44 -05:00
sashakoshka 636e5ce7e7 Sus. Sus amongus.
amoogoos.
2022-11-12 22:43:36 -05:00
sashakoshka 48510db209 Added mouse button press input 2022-11-12 19:02:24 -05:00
sashakoshka e4f97a918a Application must now manually call application.Draw in all cases
This behavior is way more consistent, and it makes the drawing code
a bit simpler.
2022-11-11 23:24:20 -05:00
sashakoshka 05c448f058 Applications can now manually call a screen redraw in a way that I think is thread safe 2022-11-11 22:30:59 -05:00
sashakoshka 23a04a9cdb Added icon setting 2022-11-10 02:02:08 -05:00
sashakoshka c93ca17fe5 x backend has an event loop 2022-11-09 18:53:14 -05:00
sashakoshka 0c5118b59a Added X backend stub 2022-11-09 15:52:49 -05:00
sashakoshka e7b5136ea6 Return channel from run method 2022-11-09 01:18:56 -05:00
sashakoshka 3a879d9a5f Mouse input works 2022-11-06 15:59:06 -05:00
sashakoshka ff7240d553 Pass keyboard events through application 2022-11-06 15:12:44 -05:00
sashakoshka f6b8d9903b Return err from Application.Run 2022-11-06 14:47:37 -05:00
sashakoshka 4b129a8391 Buffer, DamageBuffer, and Application are io.Writers 2022-11-06 14:17:43 -05:00
sashakoshka 6e5cbd50f5 Fixed coordinate system 2022-11-05 18:56:56 -04:00
sashakoshka d739c0a6ed Cells are now drawn 2022-11-05 18:43:57 -04:00
sashakoshka fea20558ac Initial commit 2022-10-31 15:51:28 -04:00