Commit Graph

143 Commits

Author SHA1 Message Date
Trevor Slocum c2f9074643 Add TabbedPanels.SetChangedFunc
Resolves #80.
2021-11-12 15:18:03 -08:00
Trevor Slocum b19f5402ae Document ANSI translation fix 2021-10-04 20:50:50 -07:00
Trevor Slocum be22f3b33c Release v1.5.7 2021-09-01 09:17:54 -07:00
Trevor Slocum be5c1fcafd Draw application after updating root primitive via Application.SetRoot
Resolves #77.
2021-08-08 17:30:29 -07:00
Trevor Slocum 4616c03bbe Fix Application.QueueEvent
Resolves #76.
2021-08-08 17:16:10 -07:00
Trevor Slocum 492ab21896 Add Application.HandlePanic
Resolves #74.
2021-08-03 13:20:44 -07:00
Trevor Slocum b4beaaeff9 Document TextView region tag fix 2021-08-02 11:27:18 -07:00
Trevor Slocum 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
Trevor Slocum f794cceb95 Fix TextView.GetRegionText error when text contains color tags
Resolves #69.
2021-07-12 13:21:32 -07:00
Trevor Slocum 9c993d8c7e Release v1.5.6 2021-07-08 18:19:26 -07:00
Trevor Slocum 78d52f46d0 Fix drawing InputField cursor outside of the field 2021-07-08 17:35:19 -07:00
Trevor Slocum 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
Trevor Slocum 964fd51438 Add TextView.SetVerticalAlign
Resolves #68.
2021-07-05 12:52:52 -07:00
Trevor Slocum 7b45918cfa Fix TextView always visible scroll bar not appearing when empty 2021-07-05 11:23:28 -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 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 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 e8e2d12710 Remove code.rocketnine.space migration notice 2021-04-03 08:16:36 -07:00
Trevor Slocum 2d7324e8db Rename TextDimensions as GetBufferSize 2021-03-27 14:42:12 -07:00
Trevor Slocum 630bdf19f3 Release v1.5.3 2021-01-14 08:51:29 -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 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 1513847ae3 Release v1.5.2 2020-12-04 11:42:16 -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 36671ba7d3 Rename SetBorderPadding and GetBorderPadding as SetPadding and GetPadding 2020-10-26 10:41:47 -07:00
Trevor Slocum a55c812490 Add Application.Init 2020-10-22 18:13:06 -07:00
Trevor Slocum 28e366bbce Display TextView scroll bar automatically by default 2020-10-21 09:36:23 -07:00
Trevor Slocum d7f1e2ab2a Add SetVisible and GetVisible to all widgets 2020-10-19 19:05:03 -07:00
Trevor Slocum fdb055d99b Generalize tag stripping as StripTags 2020-10-19 09:55:07 -07:00
Trevor Slocum df2d4e418e Support bracketed paste mode via tcell 2020-10-16 09:25:40 -07:00