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
Chris Miller
b243f370d8
DropDown mouse support
2020-01-01 20:18:40 -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
Chris Miller
84d2372c82
Return self
2020-01-01 20:18:40 -08:00
Chris Miller
74b2573bf9
Added mouse handling
2020-01-01 20:18:40 -08:00
Trevor Slocum
6a97e2648e
Update README.md
2020-01-01 20:14:14 -08:00
Trevor Slocum
884d92dd16
Update CHANGELOG and FORK.md
2020-01-01 19:43:18 -08:00
Sean Smith
9aa08ad7c7
Handle ansi code 39 and 49
...
39 is apparently the "default foreground color"
49 is apparently the "default background color"
2020-01-01 19:35:05 -08:00
Trevor Slocum
6e548abb6b
Update FORK.md
2020-01-01 19:30:03 -08:00
diamondburned (Forefront)
3d7e978b90
Fixed TextView's reset [-] setting the wrong color
2020-01-01 19:28:02 -08:00
Trevor Slocum
384d842226
runewidth: Disable East Asian width
2020-01-01 08:38:28 -08:00
Trevor Slocum
004751ce25
Throttle resize event callbacks
2020-01-01 08:37:50 -08:00
Trevor Slocum
2e5eb3f5a4
Add window size change handler
2019-12-30 19:54:52 -08:00
Trevor Slocum
312fe1436d
Add CHANGELOG
2019-12-30 18:01:35 -08:00
Trevor Slocum
b61132eddf
Fork tview as cview
...
See FORK.md for details
2019-12-30 15:18:26 -08:00
rivo
1ee8d9874d
Merge pull request #292 from mikeschinkel/box_gettitle
...
Added a GetTitle() method to Box
2019-12-29 17:56:09 +01:00
Oliver
6e00e540f2
Added a wrap-around flag to the List. Resolves #380
2019-12-29 17:47:05 +01:00
Oliver
82b05c9fb3
Grid's background box is transparent again. Fixes #359
2019-11-29 07:51:40 +01:00
Oliver
9c225ecd57
Added GetFormItemCount() to Form. Resolves #298
2019-11-27 19:18:27 +01:00
Oliver
c1775d4e31
Added a clarifying note to the contributing guidelines.
2019-11-27 19:11:06 +01:00
Oliver
0f6549646b
Added SetFocus() to Modal, focuses on the provided button. Resolves #364
2019-11-27 18:27:26 +01:00
Oliver
2d957c4be0
Added an "evaluate all rows" flag to Table. Resolves #345
2019-11-21 20:56:45 +01:00
Oliver
685bf6da76
Added GetFrontPage() to Pages. Resolves #355
2019-10-18 14:55:27 +02:00
Oliver
731cb7162a
Updated dependencies. Resolves #354
2019-10-18 14:11:57 +02:00
Oliver
bacbf5155b
Wrong comparator led to wrong scrolling behaviour. Fixes #341 , resolves #342
2019-10-18 13:56:45 +02:00
Oliver
c35e6b2b4c
Avoiding infinite loop on narrow TextViews. Fixes #333
2019-10-17 12:07:41 +02:00
Oliver
de7ae86b5b
Avoid div-by-0 in case Flex item sizes are all 0. Resolves #332 , resolves #334
2019-10-17 11:33:25 +02:00
Oliver
f8bc69b903
Every redraw of a Form re-evaluates the focus index. Fixes #144
2019-08-29 18:12:55 +02:00
Oliver
23dc8a0944
Table.Select() also triggers "selection changed" event. Fixes #323
2019-07-21 15:54:19 +02:00
Oliver
b8bb0f928f
Grid offset handling was buggy. Fixes #279
2019-07-17 18:46:45 +02:00