Wenshiqi222
|
bcb1cef989
|
Update dropdown.go
A little comment error
|
3 years ago |
Oliver
|
29d673af0c
|
Added SetListStyles() to DropDown. Resolves #621
|
3 years ago |
Oliver
|
21d1a2de10
|
Fixed wrong mouse click test on drop-downs. Fixes #600
|
3 years ago |
Oliver
|
675ed5b96b
|
Removed Focusable interface.
|
4 years ago |
Oliver
|
e4d167311d
|
Upgraded to latest tcell version. Results in a minor incompatibility in the Table class.
|
4 years ago |
Oliver
|
deb54e1422
|
Keyboard events are now propagated down the hierarchy, allowing users to intercept them. Closes #421
|
4 years ago |
Oliver
|
5f5b79b00e
|
Added mouse support for Table and TreeView.
|
5 years ago |
Oliver
|
9af6826328
|
Added/fixed comments, some structural changes/bugfixes for mouse support. Table, TextView, and TreeView still open. Closes #363
|
5 years ago |
Chris Miller
|
1fb9862c00
|
Separate action events
|
5 years ago |
Chris Miller
|
0daf286122
|
Improve dropdown mouse handling
|
5 years ago |
Chris Miller
|
8abbf770ec
|
Change mouse handler func
|
5 years ago |
Chris Miller
|
9598ca2519
|
New mouse design
capture bool not finalized
|
5 years ago |
Chris Miller
|
cd3c60e6d1
|
Refactor EventMouse
|
5 years ago |
Chris Miller
|
93c0edc4a8
|
Get mouse actions rather than just mouse state
|
5 years ago |
Chris Miller
|
e4d6f4f3ee
|
Fix dropdown focus
|
5 years ago |
Chris Miller
|
1d496acc2b
|
Dismiss dropdown by click
|
5 years ago |
Chris Miller
|
871ddc57d7
|
DropDown mouse support
|
5 years ago |
Chris Miller
|
d7250288e2
|
More mouse handling for primitives
|
5 years ago |
Oliver
|
c3d1d4bcf9
|
Added autocomplete functionality to InputField. Resolves #299, resolves #77
|
5 years ago |
Oliver
|
95de965571
|
Selection bar in DropDown stretches entire width now. Also added SetTextOptions() with prefixes/suffixes etc. Resolves #289
|
5 years ago |
Oliver
|
9d616aee87
|
DropDown's SetCurrentOption() will also trigger the selected event. Closes #256, resolves #260
|
6 years ago |
Oliver
|
8d5eba0c2f
|
Replaced runewidth.StringWidth() with my own implementation. Fixes #236
|
6 years ago |
Oliver
|
997b18eeff
|
Introduced a separate class-wide "selected" handler for DropDown. Resolves #206
|
6 years ago |
Oliver
|
768070ef7b
|
Hitting Escape on a drop-down selection resets it.
|
6 years ago |
Oliver
|
7d789421e3
|
DropDown now only uses List's main selected callback. Fixes #115
|
6 years ago |
Oliver
|
f855bee020
|
Separated form item "done" function from "finished" function. Resolves #39
|
7 years ago |
Oliver
|
5bd22542e5
|
For Form.GetFormItemByLabel() to work, we must not modify the label text. Fixes #94, fixes #99
|
7 years ago |
Oliver
|
761e3d72da
|
Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive.
|
7 years ago |
Oliver
|
b357eaf10f
|
Drop-down allows typing to directly jump to options. Resolves #77
|
7 years ago |
Oliver
|
7e4958256f
|
List (and therefore also DropDown) will scroll if currently selected item is not on screen anymore. Fixes #71
|
7 years ago |
Oliver
|
2a83b20ce3
|
Improved documentation.
|
7 years ago |
Oliver
|
4db30f9ed4
|
"FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run.
|
7 years ago |
Oliver
|
258f212e5e
|
Added color tag functionality to all strings. Resolves #25
|
7 years ago |
Oliver
|
aa25839cfa
|
Introduced horizontal item alignment in forms. Resolves #33
|
7 years ago |
Oliver
|
626453b2a6
|
All primitives now offer a way to intercept all key events sent to them. Also made the global key event intercept handler more general/consistent. Resolves #22
|
7 years ago |
Oliver
|
61d8ea30f8
|
Added support for wide unicode characters (e.g. Chinese). Resolves #9
|
7 years ago |
Oliver
|
3fbea7a99b
|
Added a listener for changes in input fields. Also in the Form. Fixes #4.
|
7 years ago |
Oliver
|
2874294d89
|
Added Styles variable with default colors for primitives.
|
7 years ago |
Oliver
|
e4f97a6436
|
Added links to Wiki to documentation. Also replaced screenshot with GIF screencast.
|
7 years ago |
Oliver
|
997b92f1b4
|
More callback handlers for lists. And more consistency.
|
7 years ago |
Oliver
|
9659be0e90
|
No need to explicitly hide the cursor in no-cursor primitives.
|
7 years ago |
Oliver
|
8eb4c5ef48
|
Added TextView. All subclasses of Box now also have inside padding.
|
7 years ago |
Oliver
|
dad7891c89
|
Added Checkbox, Modal, and Pages.
|
7 years ago |
Oliver
|
2bd80aa513
|
Added DropDown. Also needed to refactor a bit to reduce dependencies.
|
7 years ago |