Commit Graph

35 Commits

Author SHA1 Message Date
Jakub Sobon dd6acb15e1
Give metadata about events to widgets. 2020-11-24 22:03:58 -05:00
Jakub Sobon 3e476963e8
Changing Blue color in demos to a more readable shade. 2020-11-14 01:41:29 -05:00
Jakub Sobon 3cbd993521
Making tcell the default in all demos and examples. 2020-11-14 01:09:07 -05:00
Jakub Sobon 06eb7623bd
Modifying imports 'internal' -> 'private'. 2020-04-10 15:26:45 -04:00
Jakub Sobon 0ef875039b
Fixing lint issues found on Go report card. 2019-04-28 22:44:44 -04:00
Jakub Sobon 98b23ec3bd
Text area no longer needs to be adjusted.
Since we are no longer removing one line of cells from the top of the
canvas.
2019-04-28 22:32:15 -04:00
Jakub Sobon 3dce1b3bab
Undo changes to the donut demo. 2019-04-28 22:05:31 -04:00
Jakub Sobon e9b4ba3613
Guarantee some spacing between donut and its label. 2019-04-28 22:03:57 -04:00
Jakub Sobon 0c68b3d745
The donut widget can optionally display a text label. 2019-04-28 21:17:07 -04:00
Jakub Sobon 5dd1aff803
Advancing to Go1.10.
- switching to math.Round and deleting out clone.
- switching all bytes.Buffer instances to strings.Builder.
2019-04-18 22:55:05 -04:00
Jakub Sobon 10d4a55348
Provide metadata to widgets when drawing. 2019-04-03 23:13:18 -04:00
Jakub Sobon b020770733
Moving widgetapi out of internal.
This will allow external users to develop their own widgets.
2019-03-02 22:00:07 -05:00
Jakub Sobon 0938ae91d8
Refactoring internal functions from align to internal/alignfor. 2019-02-24 15:44:13 -05:00
Jakub Sobon 98394c921a
Moving draw back to internal.
Adding test for linestyle.
2019-02-24 01:54:37 -05:00
Jakub Sobon e4726e4240
Changing all call sites to linestyle. 2019-02-24 01:51:50 -05:00
Jakub Sobon b74f46509b
Moving runewidth, segdisp and testdraw to internal. 2019-02-24 01:27:17 -05:00
Jakub Sobon bf61ca1479
Moving draw out of internal. 2019-02-24 01:20:03 -05:00
Jakub Sobon 97ec73069f
Moving align, cell and terminalapi back from internal. 2019-02-24 01:13:26 -05:00
Jakub Sobon 8df9e3307c
Moving faketerm to internal. 2019-02-24 01:09:23 -05:00
Jakub Sobon bf38f10d25
Moving terminal back to public. 2019-02-24 01:04:57 -05:00
Jakub Sobon 5ac468c10a
Moving terminal, terminalapi and widgetapi to internal subdirectory.
And adding a README under internal.
2019-02-23 21:19:16 -05:00
Jakub Sobon 55efbe07fe
Moving numbers to internal subdirectory. 2019-02-23 21:16:13 -05:00
Jakub Sobon 6c03991fb9
Moving draw and event to internal. 2019-02-23 21:10:51 -05:00
Jakub Sobon 7ee222ac58
Moving private libraries into internal subdirectory. 2019-02-23 21:09:38 -05:00
Jakub Sobon 0490734d1e
Running gofmt. 2019-02-23 00:42:47 -05:00
Jakub Sobon 22946f2f65
Allowing widgets to select the scope for mouse events too. 2019-02-23 00:41:58 -05:00
Jakub Sobon 495eaa4ee5
Merge pull request #146 from mum4k/widgets-global-keys
Allow widgets to subscribe to global keyboard events
2019-02-22 00:48:42 -05:00
Jakub Sobon 0df7387862
Widgets can now register for global keyboard events. 2019-02-22 00:33:55 -05:00
Jakub Sobon 793925feb8
Migrating all calls to the runewidth wrapper. 2019-02-21 23:24:42 -05:00
Jakub Sobon 705db137bc
Fixing existing Lint issues. 2019-02-18 02:14:14 -05:00
Jakub Sobon d4afe691a1
Adding licences. 2019-01-21 17:54:19 -05:00
Jakub Sobon 59fd19a6c7
Adding description and recording of the donutdemo. 2019-01-21 17:43:35 -05:00
Jakub Sobon 7f133bf611
Rest of the Donut widget files. 2019-01-21 17:02:23 -05:00
Jakub Sobon cd48efc885
Implementation of the Donut widget. 2019-01-21 17:00:19 -05:00
Jakub Sobon 310ea212d3
Skeleton for the donut widget. 2019-01-19 21:48:29 -05:00