Trevor Slocum
71e3cc57f7
Add relevant info to pages of the presentation demo
...
Also, only draw DropDown symbols when focused by default.
Resolves #61 .
2021-06-04 20:42:44 -07:00
Trevor Slocum
d11681497c
Change default colors (fields and buttons are now green)
2021-06-03 20:41:09 -07:00
Trevor Slocum
41e35f8d69
Add code.rocketnine.space migration notice
2021-04-03 08:11:20 -07:00
Trevor Slocum
bb362496b2
Fix TextView.GetTextDimensions
2021-04-01 17:35:06 -07:00
Trevor Slocum
36671ba7d3
Rename SetBorderPadding and GetBorderPadding as SetPadding and GetPadding
2020-10-26 10:41:47 -07:00
Trevor Slocum
e655768a65
Follow end of TextView buffer in presentation demo
2020-10-21 18:08:25 -07:00
Trevor Slocum
ac2b3155fd
Reduce TextView reindexing when a scroll bar is visible
2020-10-21 10:27:53 -07:00
Trevor Slocum
28e366bbce
Display TextView scroll bar automatically by default
2020-10-21 09:36:23 -07:00
Trevor Slocum
0e9e75f3f8
Use SetRect to position Windows
...
Resolves #44 .
2020-10-20 09:22:54 -07:00
Trevor Slocum
27a707dceb
Update cbind
2020-10-16 11:01:25 -07:00
Trevor Slocum
597052a7e7
Add FocusManager
2020-10-16 09:25:21 -07:00
Trevor Slocum
ffd8b57dec
Document renaming Panels for consistency with TabbedPanels
2020-10-15 19:00:10 -07:00
Trevor Slocum
50b3201606
Add TabbedPanels
2020-10-15 18:50:36 -07:00
Trevor Slocum
767e4e474c
Rename Pages as Panels
2020-10-15 09:15:02 -07:00
Trevor Slocum
9c3564dc42
Add Slider
2020-10-11 13:39:04 -07:00
Trevor Slocum
b47c35329c
Fix TextView region highlighting
2020-10-11 12:07:30 -07:00
Trevor Slocum
ed5e6d94dd
Remove return values from methods which return their primitive (breaks chaining)
2020-10-07 16:35:21 -07:00
Trevor Slocum
d5edb975b6
Store ListItem text as []byte instead of string
2020-10-06 18:19:40 -07:00
Trevor Slocum
96b2dd5523
Add Table test and benchmark, store TableCell as []byte instead of string
2020-10-06 18:02:37 -07:00
Trevor Slocum
6b34a95e75
Print text using []byte instead of string, calculate string width using runewidth instead of uniseg
2020-10-06 13:16:37 -07:00
Trevor Slocum
db81e43e00
Remove wrapper methods
2020-10-02 16:28:32 -07:00
Trevor Slocum
e20e58147f
Add Window and WindowManager
2020-09-24 08:09:55 -07:00
Trevor Slocum
5505bb7a58
Document changes submitted by Andreas Bieber
2020-09-23 15:44:28 -07:00
Andreas Bieber
9142563f22
feat(inputfield): Add ability to show a note below the inputfield
2020-09-23 20:54:48 +02:00
Andreas Bieber
f71273b9c8
feat(dropdown): Expose `DropDownOption`
...
BREAKING CHANGE:
DropDown:
- The signature of `GetCurrentOption` has been changed to return the index and the newly exposed `DropDownOption`
- `AddOption` has been renamed to `AddOptions` and accepts now multiple `DropDownOption`s. A convenience func called `AddOptionsSimple` has been added to simply add options by only providing its text.
- The signature of `SetOptions` has been changed to accept the global `selected` handler with the newly exposed `DropDownOption` and multiple `DropDownOption`s to set. A convenience func, namely `SetOptionsSimple`, has been added to simply add options by only providing its text.
- The signature of `SetSelectedFunc` has been changed to accept a handler expecting an index and the newly exposed `DropDownOption`
Form:
- The signature of `AddDropDown` has been changed to accept an array of the newly exposed `DropDownOption`. A convenience func, namely `AddDropDownSimple`, has been added to simply add a DropDown by only providing the option's text.
2020-09-23 20:46:36 +02:00
Andreas Bieber
d315a5c5b3
feat(List): Expose `ListItem`
...
BREAKING CHANGE:
- The signature of `SetChangedFunc` and `SetSelectedFunc` has changed to pass the newly exposed `ListItem` instead of its properties
- The signature of `AddItem` and `InsertItem` has changed to expect a `ListItem` instead of the properties them self
2020-09-23 20:46:36 +02:00
Trevor Slocum
8292f9baf2
Upgrade tcell to v2
...
Resolves #32 .
2020-08-30 08:37:17 -07:00
Trevor Slocum
41db607cc9
Fix mutex usage in List.MouseHandler
2020-05-08 16:12:48 -07:00
Trevor Slocum
de0eb1ea89
Rename CheckBox
2020-04-26 16:55:45 -07:00
Trevor Slocum
57ef7437e3
Add ContextMenu
2020-04-18 20:00:36 -07:00
Trevor Slocum
d2f2938ea0
Update presentation demo
2020-04-03 08:01:21 -07:00
Trevor Slocum
0aa37dca06
Expand click area of presentation demo tabs
2020-04-01 08:59:06 -07:00
Trevor Slocum
1cbf8e9f74
Update presentation demo cover text
2020-04-01 08:42:30 -07:00
rivo
1f765c8695
Merge pull request #422 from rivo/mouse
...
Add mouse support
2020-03-30 10:22:55 -07:00
Trevor Slocum
aae1af2a19
Make ProgressBar fields private
2020-03-27 12:54:05 -07:00
Trevor Slocum
e29d4b73b9
Make cview thread-safe
2020-03-25 14:32:57 +00:00
Trevor Slocum
74844d6d3f
Fix applying ScrollBarAlways to List
2020-02-24 08:06:04 -08:00
Trevor Slocum
afcd7dcdab
Do not wrap around form by default
2020-02-22 10:19:34 -08:00
Trevor Slocum
e877362f62
Update CI script
2020-01-28 07:10:28 -08:00
Trevor Slocum
5f880bc2c7
Migrate to GitLab
2020-01-22 15:28:19 -08:00
Trevor Slocum
eff6577116
Add ProgressBar widget
2020-01-16 16:53:51 -08:00
Trevor Slocum
bb52b8e428
Supply screen width and height to resize callback
2020-01-16 07:50:19 -08:00
Trevor Slocum
200d8a5791
Release v0.2.2
2020-01-06 16:59:59 -08:00
Trevor Slocum
8f9e826a57
Fix presentation demo appending TextView indefinitely
2020-01-06 16:02:31 -08:00
Trevor Slocum
c90e430fdf
Add optional message displayed after Checkbox
2020-01-05 09:41:15 -08:00
Trevor Slocum
6d9b735867
Fix dropdown mouse capture behavior
2020-01-04 21:43:26 -08:00
Trevor Slocum
990a2abc33
Add mouse support to presentation demo tabs
2020-01-03 18:46:23 -08:00
Chris Miller
67c158fa9c
Fire Selected on list item click
2020-01-01 20:18:40 -08:00
Chris Miller
5b47ba1f32
More mouse handling for primitives
2020-01-01 20:18:40 -08:00
Trevor Slocum
b61132eddf
Fork tview as cview
...
See FORK.md for details
2019-12-30 15:18:26 -08:00