Trevor Slocum
d045073571
Improve docs regarding widgets
2020-02-25 15:19:17 -08:00
Trevor Slocum
6379e357de
Improve docs regarding mouse support and thread safety
2020-02-24 18:41:39 -08:00
Trevor Slocum
b90f05a226
Update README
2020-02-24 18:11:37 -08:00
Trevor Slocum
d815ca837d
Fix scrolling Table with PageDown and PageUp when some fixedRows are not visible
2020-02-24 08:49:00 -08: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
3bf6bb259c
Document non-blocking behavior of QueueUpdate and QueueUpdateDraw
2020-02-20 09:48:15 -08:00
Trevor Slocum
7175730374
Fix panic when navigating empty list
2020-02-17 08:25:21 -08:00
Trevor Slocum
c6599f4ee2
Clarify that Box does not have inner text
2020-02-16 10:13:07 -08:00
Trevor Slocum
82689e7fb8
Clear and redraw screen when resizing
2020-02-15 07:53:48 -08:00
Trevor Slocum
2a8ba3160c
Fix resize event dimensions on Windows
2020-02-13 15:39:06 -08:00
Trevor Slocum
de6819cc76
Fix applying ScrollBarNever to DropDown or InputField
2020-02-13 15:08:36 -08:00
Trevor Slocum
b4090e9215
Fix scrolling Table with PageDown and PageUp
2020-02-13 09:54:18 -08:00
Trevor Slocum
c6f9bcda29
Add option to always show scroll bar
2020-02-13 09:51:01 -08:00
Trevor Slocum
c40fd422f0
Do not wrap around list by default
2020-02-10 17:17:22 -08:00
Trevor Slocum
3c170e9696
Migrate docs to docs.rocketnine.space
2020-02-06 16:06:47 -08:00
Trevor Slocum
d7ac9e862c
Add SetFocusedFunc to TreeNode
...
Resolves #3 .
2020-02-03 16:13:20 -08:00
Trevor Slocum
e976a7ce62
Fix mouse support when resuming after Application.Suspend
...
Resolves #2 .
2020-02-02 06:16:27 -08:00
Trevor Slocum
96f3c15040
Add scroll bar to List, DropDown, Table and TreeView
2020-02-01 07:27:15 -08:00
Trevor Slocum
339db80f66
Always fill Box background
...
This resolves rendering issues with TextViews which have their background
color set to ColorDefault.
2020-01-28 07:10:41 -08:00
Trevor Slocum
e877362f62
Update CI script
2020-01-28 07:10:28 -08:00
Oliver
eebbcab38f
Added SetDoneFunc() to TreeView. Resolves #394
2020-01-25 08:34:51 -08:00
Trevor Slocum
d9aac80a70
Release v1.4.1
2020-01-23 08:03:22 -08:00
Trevor Slocum
5f880bc2c7
Migrate to GitLab
2020-01-22 15:28:19 -08:00
Trevor Slocum
51704b9844
Add documentation for GetChildren methods
2020-01-16 22:34:51 -08:00
Trevor Slocum
dd0792c33a
Add example multi-layout application and mouse-enabled application
2020-01-16 21:34:21 -08:00
Trevor Slocum
dbba9159b3
Add Application.RingBell
2020-01-16 18:25:24 -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
e3fafa9dc3
Release v1.4.0
2020-01-16 07:50:11 -08:00
Oliver
a5d5a39c38
ANSI parser now also handles SGR 39 and 49. Fixes #347
2020-01-08 16:31:52 -08:00
Oliver
2941d561fb
Added GetFocusedItemIndex() to Form. Resolves #293
2020-01-08 16:31:04 -08:00
Trevor Slocum
6bbae595a9
Document mouse support
2020-01-08 16:27:20 -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
Daniel P. Berrangé
697baf37a8
Add support for displaying text next to a checkbox
...
When building forms the label field is typically quite short, just one
or two words. For checkboxes it is often desirable to have a longer
descriptive piece of text. This is not practical to use as a label and
in many applications would more commonly be placed to the right of the
checkbox.
This adds support for a "SetMessage()" method which provides support
for text adjacent to the checkbox
As an example, this form shows one usage pattern, where the checkbox
is used to require case sensitive matching of the author name query.
In this case the checkbox label is an empty string, and the message
text is used instead:
╔════════════ User filtering ════════════════════╗
║ ║
║ Age: ________ ║
║ ║
║ Author: ______________ ║
║ ║
║ X Case sensitive ║
║ ║
║ Apply Cancel ║
╚════════════════════════════════════════════════╝
Another pattern is where there are a series of checkboxes, all
related to the same attribute. Thus they have a common form
label but different message text
╔════════════ Request filtering ═════════════════╗
║ ║
║ State: X Opened ║
║ ║
║ _ Closed ║
║ ║
║ _ Merged ║
║ ║
║ X Locked ║
║ ║
║ Apply Cancel ║
╚════════════════════════════════════════════════╝
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-01-05 09:27:00 -08:00
Trevor Slocum
73e0d9d3bb
Update README.md and FORK.md
2020-01-05 09:14:15 -08:00
Sam Whited
6e0ac2dd4b
Don't skip regions at end of line
2020-01-05 08:53:56 -08:00
Trevor Slocum
7c849dd501
Update dependencies
2020-01-04 21:49:02 -08:00
Trevor Slocum
6d9b735867
Fix dropdown mouse capture behavior
2020-01-04 21:43:26 -08:00
Trevor Slocum
a8fe476d77
Add presentation demo portal to README
2020-01-04 14:58:58 -08:00
Trevor Slocum
990a2abc33
Add mouse support to presentation demo tabs
2020-01-03 18:46:23 -08:00
Chris Miller
1207c71f9f
Observe mouse events inward ("capture")
2020-01-02 16:48:46 -08:00
Trevor Slocum
0f299388e5
Merge tview pull request: Mouse support
2020-01-01 20:58:10 -08:00
Trevor Slocum
a9f6e039c7
Fix type error
2020-01-01 20:54:40 -08:00
Chris Miller
a52eae5a0d
Refactor EventMouse
2020-01-01 20:24:34 -08:00
Chris Miller
ad59b43801
Get mouse actions rather than just mouse state
2020-01-01 20:18:40 -08:00
Chris Miller
806d63d900
Fix dropdown focus
2020-01-01 20:18:40 -08:00
Chris Miller
5bac390ebc
Dismiss dropdown by click
2020-01-01 20:18:40 -08:00