Commit Graph

15 Commits

Author SHA1 Message Date
Oliver 1b155a1def Application now provides direct access to the screen object via before/after-draw callback functions. Resolves #59 2018-02-20 17:15:42 +01:00
Oliver 4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 2018-01-17 21:17:59 +01:00
Oliver 626453b2a6 All primitives now offer a way to intercept all key events sent to them. Also made the global key event intercept handler more general/consistent. Resolves #22 2018-01-14 21:29:34 +01:00
Oliver 4153189e1b A resize event should have the screen cleared before redrawing. Fixes #19 2018-01-13 12:43:12 +01:00
Oliver fdab2627c3 Calling Application.Draw() for global key handlers which steal the event. 2018-01-12 17:39:58 +01:00
Oliver 17c785e1f8 Application does not lock on PollEvent() call anymore. Should resolve gridlocks when calling SetRoot() in goroutines. Resolves #6 2018-01-11 11:54:22 +01:00
Oliver 8c9be84ef8 Various improvements. 2018-01-01 21:50:20 +01:00
Oliver 60313b7f25 SetRoot() also sets focus. 2018-01-01 17:16:36 +01:00
Oliver 9659be0e90 No need to explicitly hide the cursor in no-cursor primitives. 2017-12-28 22:19:36 +01:00
Oliver 1cc5331a5c Fixed focus delegation. 2017-12-27 22:55:50 +01:00
Oliver 3670319cd6 Fixed a number of bugs and added missing useful functions. 2017-12-27 16:04:21 +01:00
Oliver 6ba3fef9bc Added a method to Application to intercept key presses. 2017-12-26 17:34:58 +01:00
Oliver 8f59d491ee Added Table primitive. Still ironing out some minor issues. 2017-12-26 01:07:30 +01:00
Oliver f5788cfc52 Added regions and highlights to TextView. 2017-12-24 00:08:52 +01:00
Oliver 111dda7788 Fixed inconsistent filename. 2017-12-24 00:08:31 +01:00