70 Commits (master)

Author SHA1 Message Date
Trevor Slocum 454d759a42 Add Button.SetCursorRune and CheckBox.SetCursorRune 1 year ago
Trevor Slocum 71e3cc57f7 Add relevant info to pages of the presentation demo 1 year ago
Trevor Slocum d11681497c Change default colors (fields and buttons are now green) 1 year ago
Trevor Slocum f8d1b2c63c Change default colors 1 year ago
Trevor Slocum 011f4decc0 Add TextView highlight color options 1 year ago
Trevor Slocum c5777645c9 Fix highlighting focused Form element 2 years ago
Trevor Slocum 36671ba7d3 Rename SetBorderPadding and GetBorderPadding as SetPadding and GetPadding 2 years ago
Trevor Slocum 0b2c8f8a5d Allow hiding form items 2 years ago
Trevor Slocum d7f1e2ab2a Add SetVisible and GetVisible to all widgets 2 years ago
Trevor Slocum 9c3564dc42 Add Slider 2 years ago
Trevor Slocum 4ac48a9748 Replace FormItem.SetAttributes with individual methods 2 years ago
Trevor Slocum ed5e6d94dd Remove return values from methods which return their primitive (breaks chaining) 2 years ago
Trevor Slocum 3d1844e33b Panic when attempting to add an invalid FormItem 2 years ago
Trevor Slocum 357a49e9e7 Do not set focus-related style attributes by default 2 years ago
Trevor Slocum a709a929d9 Fix FormItem.SetAttributes race condition 2 years ago
Trevor Slocum 89fa23ab00 Resolve lint warnings 2 years ago
Andreas Bieber 70857602a5 feat(FormItem): Replace `SetFormAttributes` with `SetAttributes` 2 years ago
Andreas Bieber 9142563f22 feat(inputfield): Add ability to show a note below the inputfield 2 years ago
Andreas Bieber 128c6692d4 fix(form/Draw): Use button colors for focused state 2 years ago
Andreas Bieber 367d377081 fix(form/GetFormItem): Check whether index is out of bounds, if so, return nil 2 years ago
Andreas Bieber f71273b9c8 feat(dropdown): Expose `DropDownOption` 2 years ago
Andreas Bieber 41a24756f9 feat(FormItems): Allow specifying colors for focused state 2 years ago
Andreas Bieber 02c4995bb2 feat(form): Add `IndexOfFormItem` 2 years ago
Trevor Slocum 8292f9baf2 Upgrade tcell to v2 2 years ago
Trevor Slocum cdeff20296 Use sync.RWMutex in all widgets 2 years ago
Trevor Slocum fb4953b17a Fix Form.Clear deadlock 2 years ago
Trevor Slocum 48c31ff1a0 Remove wiki references 2 years ago
Trevor Slocum de0eb1ea89 Rename CheckBox 2 years ago
rivo 1f765c8695 Merge pull request #422 from rivo/mouse 2 years ago
Trevor Slocum e29d4b73b9 Make cview thread-safe 2 years ago
Trevor Slocum afcd7dcdab Do not wrap around form by default 3 years ago
Trevor Slocum 5f880bc2c7 Migrate to GitLab 3 years ago
Trevor Slocum 51704b9844 Add documentation for GetChildren methods 3 years ago
Oliver 2941d561fb Added GetFocusedItemIndex() to Form. Resolves #293 3 years ago
Trevor Slocum c90e430fdf Add optional message displayed after Checkbox 3 years ago
Chris Miller 74b2573bf9 Added mouse handling 3 years ago
Trevor Slocum b61132eddf Fork tview as cview 3 years ago
Oliver 9c225ecd57 Added GetFormItemCount() to Form. Resolves #298 3 years ago
Oliver f8bc69b903 Every redraw of a Form re-evaluates the focus index. Fixes #144 3 years ago
Mike Schinkel c2c3679add Fix initialization bug in AddDropDown(), issue #290. 3 years ago
Oliver 384f577a62 Added SetFocus() to Form which changes the focus to a specific form element. Resolves #286 3 years ago
Oliver f16ba37c6a Added functions to remove all buttons from forms and from modals. Resolves #259 3 years ago
Oliver 8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 3 years ago
Oliver 5991278513 If a Form has no focusable elements, it keeps the focus itself. Fixes #198 4 years ago
Oliver a677b985cc Allowing the use of arrow keys in modal buttons, too. Resolves #167 4 years ago
Oliver 21f50f5bc4 Fixed the docs of FormItem. Fixes #153 4 years ago
Oliver c33dd0cf8e Added form item removal functions and more ways to find items. Resolves #137 4 years ago
Oliver f855bee020 Separated form item "done" function from "finished" function. Resolves #39 4 years ago
Oliver 5bd22542e5 For Form.GetFormItemByLabel() to work, we must not modify the label text. Fixes #94, fixes #99 4 years ago
Oliver cc84c982fc Added GetFormItemByLabel(). Resolves #94 4 years ago