Commit Graph

36 Commits (62c72894491466ac911d01e16afd65458bdad26b)

Author SHA1 Message Date
Trevor Slocum d7f1e2ab2a Add SetVisible and GetVisible to all widgets 3 years ago
Trevor Slocum ed5e6d94dd Remove return values from methods which return their primitive (breaks chaining) 3 years ago
Trevor Slocum 5505bb7a58 Document changes submitted by Andreas Bieber 3 years ago
Andreas Bieber 7678d84c66 feat(flex): Add `AddItemAtIndex` 3 years ago
Andreas Bieber 85bc397af2 feat(flex): Add `GetDirection` 3 years ago
Trevor Slocum 8292f9baf2 Upgrade tcell to v2
Resolves #32.
3 years ago
Trevor Slocum cdeff20296 Use sync.RWMutex in all widgets
Resolves #30.
3 years ago
Trevor Slocum f477be8ba4 Fill nil Flex space with default background color
Resolves #22.
3 years ago
Trevor Slocum 0fa19fee28 Fix panic when clicking nil primitive in Flex
Resolves #20.
3 years ago
Trevor Slocum 961c23145c Fix default background transparency of Flex and Grid 3 years ago
Trevor Slocum 48c31ff1a0 Remove wiki references 3 years ago
rivo 1f765c8695 Merge pull request #422 from rivo/mouse
Add mouse support
3 years ago
Trevor Slocum e29d4b73b9 Make cview thread-safe 3 years ago
Trevor Slocum 5f880bc2c7 Migrate to GitLab 3 years ago
Trevor Slocum 51704b9844 Add documentation for GetChildren methods 3 years ago
Chris Miller 74b2573bf9 Added mouse handling 3 years ago
Trevor Slocum b61132eddf Fork tview as cview
See FORK.md for details
3 years ago
Oliver de7ae86b5b Avoid div-by-0 in case Flex item sizes are all 0. Resolves #332, resolves #334 4 years ago
Oliver 1ee0c559cc Switched flexItem slice to pointers. 5 years ago
Oliver 398a6c2f77 Added a function to resize a Flex item. Resolves #125 5 years ago
Oliver c0b219f400 Bugfix: Flex will call Box.Draw() again. Fixes #104 5 years ago
Oliver d7d44cb0d2 Flex and Grid don't clear their backgrounds anymore. Resolves #104 5 years ago
Frank Braun bf464200bc Documentation fix for flex.AddItem()
The proportion must be at least 1 if fixedSize == 0.
5 years ago
Oliver 3bac79f308 Added RemoveItem() to Grid and Flex. Resolves #63 5 years ago
Oliver f6602e7eb1 Updated Flex documentation. 5 years ago
Oliver acf9158c77 Flex layout can have nil elements. 5 years ago
Oliver 5fd6365352 Flex must call Box's Draw() function first. Fixes #26 5 years ago
Oliver e4f97a6436 Added links to Wiki to documentation. Also replaced screenshot with GIF screencast. 5 years ago
Oliver 1cc5331a5c Fixed focus delegation. 6 years ago
Oliver f6f32eec04 Flex must know where to delegate focus. 6 years ago
Oliver 91d78f146b Added proportions to Flex layout. 6 years ago
Oliver 8eb4c5ef48 Added TextView. All subclasses of Box now also have inside padding. 6 years ago
Oliver dad7891c89 Added Checkbox, Modal, and Pages. 6 years ago
Oliver 2bd80aa513 Added DropDown. Also needed to refactor a bit to reduce dependencies. 6 years ago
Oliver d5bf1a4ef0 Added list, improved existing primitives, and fixed a bunch of bugs. 6 years ago
Oliver f9f139caaf First commit. Some basic functionality. Publishing to GitHub now. 6 years ago