1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-25 13:48:50 +08:00

38 Commits

Author SHA1 Message Date
Jakub Sobon
93438e3ef9
Moving formdemo out of this branch. 2020-11-28 13:31:47 -05:00
Jakub Sobon
de41768dbc
Merge branch 'devel' into 243-form-demo 2020-11-28 00:06:14 -05:00
Jakub Sobon
31c7a24041
Button now supports separate color values for text chunks.
Custom color values can be specified for each of its main states.
2020-11-27 15:11:59 -05:00
Jakub Sobon
cf9554ae9f
Renaming WriteOptions to TextOptions. 2020-11-25 10:16:51 -05:00
Jakub Sobon
0643120697
Button's support for cell options on each text cell. 2020-11-25 02:28:05 -05:00
Jakub Sobon
73644716a5
Button can be drawn without horizontal padding around its text. 2020-11-25 01:44:50 -05:00
Jakub Sobon
ce3adfb084
Button can be drawn without the shadow and animation. 2020-11-25 01:24:38 -05:00
Jakub Sobon
3a0d044a4d
Allow button to specify multiple trigger keys. 2020-11-24 23:02:21 -05:00
Jakub Sobon
dd6acb15e1
Give metadata about events to widgets. 2020-11-24 22:03:58 -05:00
Jakub Sobon
891a672716
WIP: Button can be configured to accept multiple keys as triggers. 2020-11-24 20:30:58 -05:00
Jakub Sobon
3cbd993521
Making tcell the default in all demos and examples. 2020-11-14 01:09:07 -05:00
Jakub Sobon
6f8d56b3c6
Fixing typo in a comment. 2020-07-15 09:54:19 -04:00
Jakub Sobon
06eb7623bd
Modifying imports 'internal' -> 'private'. 2020-04-10 15:26:45 -04:00
Jakub Sobon
6980f88810
Release widget's mutex before activating external callback.
Fixes #205.
2019-05-13 22:28:41 -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
85902cf11a
Button is internal. 2019-02-24 02:09:27 -05:00
Jakub Sobon
b25d20c8ae
Mouse and keyboard are also public. 2019-02-24 02:08:48 -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
6a7f3ff886
Fixing lint issue in button. 2019-02-24 01:10:29 -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
2ff1818c0e
Moving keyboard and mouse to internal. 2019-02-23 21:11:50 -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
b2a1f30fe1
Complete test coverage for button and tweaks to the demo. 2019-02-23 19:38:47 -05:00
Jakub Sobon
e9cf1e1af7
Partially completed tests for button. 2019-02-23 02:18:06 -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
4b4e245d60
The button in an intermediate dev state. 2019-02-23 00:07:54 -05:00
Jakub Sobon
a16d908b5e
Adding options for global keyboard. 2019-02-22 01:07:53 -05:00
Jakub Sobon
4caa570644
Skeleton of the button widget. 2019-02-09 22:46:18 -05:00