Oliver
|
c9421b4bd9
|
Enabled bracketed pasting.
|
8 months ago |
Oliver
|
b11bfc7683
|
Reconciled Form.focusedElement with actual focus. Fixes #922
|
10 months ago |
Kian-Meng Ang
|
5d85e6a030
|
Fix typos
Found via `codespell -H -S .git -L rightt,wth,bu`
|
11 months ago |
Oliver
|
caea67a4ef
|
Implemented string parser and migrated all widgets but TextView.
|
1 year ago |
Oliver
|
84f9c0ff9d
|
Clicking on a form outside a form item will focus it. Fixes #793
|
2 years ago |
Oliver
|
47b3275db4
|
Form elements can now also be disabled. Resolves #192
|
2 years ago |
Oliver
|
7dfff1ce78
|
Don't focus text views in forms. Fixes #797
|
2 years ago |
Oliver
|
c5b1a7d818
|
Finished Image implementation.
|
2 years ago |
Oliver
|
ccce554c38
|
Using tcell.Style for buttons, allowing us to control it better. Resolves #704
|
2 years ago |
Oliver
|
3f246bda86
|
Text views can also become part of forms.
|
2 years ago |
Oliver
|
ed3ea789e9
|
Text area can now be added to forms. See #594
|
2 years ago |
Oliver
|
cecb44578c
|
Setting focus is now based on a "mouse down" event instead of a "click" event.
|
2 years ago |
Oliver
|
1b3174ee3d
|
Added callback functions for focus and blur events.
|
3 years ago |
Oliver
|
175cc7d7ce
|
Button.SetBlurFunc() should have been named Button.SetExitFunc().
|
3 years ago |
Oliver
|
807e706f86
|
Forms cannot rely purely on a rect check for mouse clicks as drop-downs may extend beyond it. Fixes #602
|
3 years ago |
Oliver
|
2003bc0698
|
Removed an unnecessary call to Focus() in Form. Fixes #612
|
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
|
e352ec0156
|
Fixed mouse/keyboard input issues with input fields and forms. Fixes #363
|
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 |
rivo
|
160d8fda1d
|
Merge pull request #363 from millerlogic/mouse-support
Mouse support
|
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 |
Oliver
|
c5f3e4f883
|
Added GetFocusedItemIndex() to Form. Resolves #293
|
5 years ago |
Oliver
|
9c225ecd57
|
Added GetFormItemCount() to Form. Resolves #298
|
5 years ago |
Chris Miller
|
96875c75b9
|
Added mouse handling
|
5 years ago |
Oliver
|
f8bc69b903
|
Every redraw of a Form re-evaluates the focus index. Fixes #144
|
5 years ago |
Mike Schinkel
|
c2c3679add
|
Fix initialization bug in AddDropDown(), issue #290.
|
5 years ago |
Oliver
|
384f577a62
|
Added SetFocus() to Form which changes the focus to a specific form element. Resolves #286
|
5 years ago |
Oliver
|
f16ba37c6a
|
Added functions to remove all buttons from forms and from modals. Resolves #259
|
5 years ago |
Oliver
|
8d5eba0c2f
|
Replaced runewidth.StringWidth() with my own implementation. Fixes #236
|
6 years ago |
Oliver
|
5991278513
|
If a Form has no focusable elements, it keeps the focus itself. Fixes #198
|
6 years ago |
Oliver
|
a677b985cc
|
Allowing the use of arrow keys in modal buttons, too. Resolves #167
|
6 years ago |
Oliver
|
21f50f5bc4
|
Fixed the docs of FormItem. Fixes #153
|
6 years ago |
Oliver
|
c33dd0cf8e
|
Added form item removal functions and more ways to find items. Resolves #137
|
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
|
cc84c982fc
|
Added GetFormItemByLabel(). Resolves #94
|
7 years ago |
Oliver
|
258c9d1f8e
|
Forms will attempt to keep focused form items within available area. Fixes #79
|
7 years ago |
Oliver
|
2a83b20ce3
|
Improved documentation.
|
7 years ago |
Oliver
|
7c086b1113
|
Updated Form 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
|
c105638ec3
|
Form now has a Clear() function. Resolves #32
|
7 years ago |
Oliver
|
38d663c267
|
In Form, changed GetElement() to GetFormItem() for consistency reasons.
|
7 years ago |
Oliver
|
d6ce974e6d
|
Added masking to InputField, password field to form. Resolves #7, resolves #8.
|
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 |