Commit Graph

601 Commits

Author SHA1 Message Date
Trevor Slocum f4658c6cc6 Add TabbedPanels to doc.go 2021-07-04 01:09:44 -07:00
Trevor Slocum 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
Trevor Slocum 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
Trevor Slocum b9d448d0f4 Improve Button cursor positioning 2021-06-05 11:00:31 -07:00
Trevor Slocum 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
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 f8d1b2c63c Change default colors
Focused buttons and fields are now blue.
2021-05-30 21:05:31 -07:00
Trevor Slocum 011f4decc0 Add TextView highlight color options 2021-05-30 18:17:17 -07:00
Trevor Slocum 7e8817f20b Fix highlighting current TabbedPanels tab
Relates to #54.
2021-05-30 10:54:04 -07:00
Trevor Slocum 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
Trevor Slocum bd144c2430 Allow specifying TabbedPanels switcher height
Resolves #54.
2021-05-25 13:09:56 -07:00
Trevor Slocum 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
Trevor Slocum 919f229dcc Update List, Table and TreeView to not handle Tab or Backtab 2021-05-25 09:04:35 -07:00
Trevor Slocum 3581fe03ea Draw additional accents when rendering a list divider 2021-05-25 08:53:29 -07:00
Trevor Slocum 957459b436 Update dependencies 2021-05-24 02:01:49 -07:00
Trevor Slocum bf491e965f Update dependencies
Resolves #58.
2021-05-18 17:51:23 -07:00
Trevor Slocum 1653d59d6b Restructure event loop to only poll screen between updates
Relates to #58.
2021-04-24 23:08:49 -07:00
Trevor Slocum 9dbc4a3a03 Suspend screen rather than finalizing it and then creating a new screen
Relates to #58.
2021-04-23 09:47:33 -07:00
Trevor Slocum e8e2d12710 Remove code.rocketnine.space migration notice 2021-04-03 08:16:36 -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 2d7324e8db Rename TextDimensions as GetBufferSize 2021-03-27 14:42:12 -07:00
Trevor Slocum 29e91c0bc5 Merge branch 'master' into 'master'
Add TextDimensions

See merge request tslocum/cview!14
2021-03-27 21:26:44 +00:00
makeworld 17ca6d403b Read (un)lock mutex instead 2021-03-10 19:05:04 -05:00
makeworld c74ebf1471 Add TextDimensions 2021-02-27 21:11:09 -05:00
Trevor Slocum d776e728ef Fix strikethrough support
Resolves #17.
2021-02-06 20:50:10 -08:00
Trevor Slocum 630bdf19f3 Release v1.5.3 2021-01-14 08:51:29 -08:00
Trevor Slocum fe5cf58941 Update dependency runewidth 2021-01-11 14:20:10 -08:00
Trevor Slocum 710bef6897 Document Panels.AddPanel difference 2021-01-10 18:42:28 -08:00
Trevor Slocum c5777645c9 Fix highlighting focused Form element
Resolves #51.
2021-01-07 14:58:59 -08:00
Trevor Slocum 3bd98fd55f Preserve order of panels when updating panel
Closes !12.
2021-01-05 14:53:40 -08:00
Trevor Slocum 7db7653746 Update example applications link 2021-01-05 14:30:38 -08:00
Trevor Slocum c34e095461 Fix incorrect TabbedPanels colors
Resolves #46.
2020-12-28 10:08:08 -08:00
Trevor Slocum 1af0da7606 Document how to prevent screen artifacts when using SetBackgroundTransparent
Resolves #45.
2020-12-15 10:40:06 -08:00
Trevor Slocum de3c277462 Remove reference to resolved tcell bug 2020-12-15 10:25:55 -08:00
Trevor Slocum 1513847ae3 Release v1.5.2 2020-12-04 11:42:16 -08:00
Trevor Slocum bd72d264c9 Remove breaking changes notice
Future v1 changes will be backwards compatible.
2020-11-24 12:52:31 -08:00
Trevor Slocum 68b2c49d11 Fix WindowManager background not being drawn 2020-11-13 20:55:54 -08:00
Trevor Slocum 79a35fe4de Handle events before executing queued updates 2020-11-07 09:01:41 -08:00
Trevor Slocum fa31102abf Release v1.5.1 2020-11-05 11:36:32 -08:00
Trevor Slocum 888dcd2560 Fix WordWrap dropping last character of closing tag
Resolves #26.
2020-11-03 11:25:13 -08:00
Trevor Slocum 5ff1168706 Add TextView.SetWrapWidth 2020-11-03 10:29:07 -08:00
Trevor Slocum 614c61839b Clarify that WordWrap accepts unescaped text only
Resolves #27.
2020-11-03 09:34:21 -08:00
Trevor Slocum 30838d75cd Reduce Box inner rect calculations 2020-10-27 09:11:05 -07:00
Trevor Slocum 62c7289449 Add deprecation notice to SetBorderPadding, GetBorderPadding and Pages 2020-10-26 11:21:25 -07:00
Trevor Slocum 36671ba7d3 Rename SetBorderPadding and GetBorderPadding as SetPadding and GetPadding 2020-10-26 10:41:47 -07:00
Trevor Slocum 7a5e47b598 Add TabbedPanels.HasTab 2020-10-26 10:04:59 -07:00
Trevor Slocum a3709cc49b Fix incorrect arguments for TabbedPanels.RemoveTab 2020-10-24 11:27:10 -07:00
Trevor Slocum a55c812490 Add Application.Init 2020-10-22 18:13:06 -07:00