Commit graph

610 commits

Author SHA1 Message Date
605d0123c1 Add Modal.SetButtonsAlign and Modal.SetTextAlign
Also, do not customize Modal window styling by default. Use GetForm and GetFrame to customize.

Resolves #71.
2021-07-17 12:52:49 -07:00
3b49c99661 Add Application.Draw change to FORK.md 2021-07-17 11:43:54 -07:00
f794cceb95 Fix TextView.GetRegionText error when text contains color tags
Resolves #69.
2021-07-12 13:21:32 -07:00
9c993d8c7e Release v1.5.6 2021-07-08 18:19:26 -07:00
78d52f46d0 Fix drawing InputField cursor outside of the field 2021-07-08 17:35:19 -07:00
a989031127 Fix passing mouse events to Grid items
Events are now only passed to the item under the mouse.
2021-07-05 17:51:57 -07:00
964fd51438 Add TextView.SetVerticalAlign
Resolves #68.
2021-07-05 12:52:52 -07:00
7b45918cfa Fix TextView always visible scroll bar not appearing when empty 2021-07-05 11:23:28 -07:00
c25dbea325 Fill empty space in Flex with invisible Box
Resolves #64.
2021-07-04 01:30:23 -07:00
f4658c6cc6 Add TabbedPanels to doc.go 2021-07-04 01:09:44 -07:00
652afb9875 Update Application.QueueUpdateDraw to accept one or more primitives to draw instead of the whole screen 2021-06-06 20:44:56 -07:00
ca75748dff Update Application.Draw to accept one or more primitives to draw instead of the whole screen 2021-06-06 20:35:05 -07:00
b9d448d0f4 Improve Button cursor positioning 2021-06-05 11:00:31 -07:00
454d759a42 Add Button.SetCursorRune and CheckBox.SetCursorRune
Cursors are now shown within Buttons and CheckBoxes by default.

Resolves #62.
2021-06-05 10:24:43 -07:00
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
d11681497c Change default colors (fields and buttons are now green) 2021-06-03 20:41:09 -07:00
f8d1b2c63c Change default colors
Focused buttons and fields are now blue.
2021-05-30 21:05:31 -07:00
011f4decc0 Add TextView highlight color options 2021-05-30 18:17:17 -07:00
7e8817f20b Fix highlighting current TabbedPanels tab
Relates to #54.
2021-05-30 10:54:04 -07:00
29170b8453 Add TrueColorTags option
This controls whether color tags should render as the specific colors
defined by tcell, or as the colors defined by the user's terminal
configuration (the default).

Relates to #48.
2021-05-26 13:05:16 -07:00
bd144c2430 Allow specifying TabbedPanels switcher height
Resolves #54.
2021-05-25 13:09:56 -07:00
92dca67ac2 Fix resetting background color via '-'
The primitive background color is now used, rather than the terminal background color.

Resolves #47.
2021-05-25 12:45:31 -07:00
919f229dcc Update List, Table and TreeView to not handle Tab or Backtab 2021-05-25 09:04:35 -07:00
3581fe03ea Draw additional accents when rendering a list divider 2021-05-25 08:53:29 -07:00
957459b436 Update dependencies 2021-05-24 02:01:49 -07:00
bf491e965f Update dependencies
Resolves #58.
2021-05-18 17:51:23 -07:00
1653d59d6b Restructure event loop to only poll screen between updates
Relates to #58.
2021-04-24 23:08:49 -07:00
9dbc4a3a03 Suspend screen rather than finalizing it and then creating a new screen
Relates to #58.
2021-04-23 09:47:33 -07:00
e8e2d12710 Remove code.rocketnine.space migration notice 2021-04-03 08:16:36 -07:00
41e35f8d69 Add code.rocketnine.space migration notice 2021-04-03 08:11:20 -07:00
bb362496b2 Fix TextView.GetTextDimensions 2021-04-01 17:35:06 -07:00
2d7324e8db Rename TextDimensions as GetBufferSize 2021-03-27 14:42:12 -07:00
29e91c0bc5 Merge branch 'master' into 'master'
Add TextDimensions

See merge request tslocum/cview!14
2021-03-27 21:26:44 +00:00
17ca6d403b Read (un)lock mutex instead 2021-03-10 19:05:04 -05:00
c74ebf1471 Add TextDimensions 2021-02-27 21:11:09 -05:00
d776e728ef Fix strikethrough support
Resolves #17.
2021-02-06 20:50:10 -08:00
630bdf19f3 Release v1.5.3 2021-01-14 08:51:29 -08:00
fe5cf58941 Update dependency runewidth 2021-01-11 14:20:10 -08:00
710bef6897 Document Panels.AddPanel difference 2021-01-10 18:42:28 -08:00
c5777645c9 Fix highlighting focused Form element
Resolves #51.
2021-01-07 14:58:59 -08:00
3bd98fd55f Preserve order of panels when updating panel
Closes !12.
2021-01-05 14:53:40 -08:00
7db7653746 Update example applications link 2021-01-05 14:30:38 -08:00
c34e095461 Fix incorrect TabbedPanels colors
Resolves #46.
2020-12-28 10:08:08 -08:00
1af0da7606 Document how to prevent screen artifacts when using SetBackgroundTransparent
Resolves #45.
2020-12-15 10:40:06 -08:00
de3c277462 Remove reference to resolved tcell bug 2020-12-15 10:25:55 -08:00
1513847ae3 Release v1.5.2 2020-12-04 11:42:16 -08:00
bd72d264c9 Remove breaking changes notice
Future v1 changes will be backwards compatible.
2020-11-24 12:52:31 -08:00
68b2c49d11 Fix WindowManager background not being drawn 2020-11-13 20:55:54 -08:00
79a35fe4de Handle events before executing queued updates 2020-11-07 09:01:41 -08:00
fa31102abf Release v1.5.1 2020-11-05 11:36:32 -08:00