sashakoshka
0462afdf11
Updated the style example with more stuff
2022-11-29 00:50:23 -05:00
sashakoshka
2fa4cc8da4
Created a style test (that does nothing as of now)
2022-11-29 00:26:26 -05:00
sashakoshka
19895e6049
Added a configuration viewer example
2022-11-26 22:49:58 -05:00
sashakoshka
e588d7d791
Modifier states returned from x backend should be 100% correct now
2022-11-24 22:16:22 -05:00
Sasha Koshka
ae514f5ae2
Add proper and reliable (i hope) support for modifier keys
2022-11-22 00:21:35 -05:00
Sasha Koshka
8c28c57925
Support for meta and hyper keys added
...
Support for the compose key has also been added but it's just the
button code for now, no support for actually composing stuff.
There are plans for that in a fixme.
2022-11-21 23:43:22 -05:00
sashakoshka
9a37fbf04a
Updated examples and added more documentation
2022-11-19 18:00:47 -05:00
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