20 Commits

Author SHA1 Message Date
Leandro Dorileo
efa32413a4 edit: pass event.Ch to OnKeyPress callback
It seems beneficial the callback to also know the event.Ch so we can
implement more "sophisticated" field filling validation strategies.
2018-04-03 13:07:49 -07:00
Leandro Dorileo
8e0a86e5c7 edit: reset the cursor position
Whenever changing an edit' content with SetTitle() method the cursor
position must also be updated, otherwise the cursor will be placed based
on previous content.
2018-03-20 15:22:13 -07:00
Vladimir Markelov
7d2469f651 fix for #84 2018-03-15 20:56:29 -07:00
Vladimir Markelov
77ee1b7531 #84 - add new Control property Visible 2018-03-13 22:14:40 -07:00
Vladimir Markelov
efca4aaa22 #82 #78 - do not run callbacks in separate thread 2018-01-27 14:21:28 -08:00
Vladimir Markelov
7c166c2fb6 Fix formatting.
Separate edit control code to OSX and other OSes code. Add a delay
between accepting key presses in edit field. If any keypress comes
earlier it is just thrown away.
2018-01-10 14:01:50 -08:00
Vladimir Markelov
9b13b28295 #65 - disable copying text to clipboard if the edit is in password mode 2018-01-09 19:39:10 -08:00
Vladimir Markelov
c696913610 #66 - fix MacOS backspace/delete 2018-01-08 11:09:30 -08:00
Vladimir Markelov
8d7474f23b #63 - added password mode for the edit field 2018-01-02 11:15:05 -08:00
gernest
30f426917c
Remove duplicate assignment 2017-08-14 22:58:56 +03:00
Vladimir Markelov
7cbba07780 Support termbox mouse move events and huge refactoring 2016-10-13 14:16:05 -07:00
Vladimir Markelov
88c829b3f6 #42 - fix pasting text to EditField 2015-11-24 14:05:08 -08:00
Vladimir Markelov
6394ffdb3b closes #43 - add onKeyPress for EditField and ListBox 2015-11-24 12:03:06 -08:00
Vladimir Markelov
35566a4486 closes #42 - editField clipboard support 2015-11-24 10:26:42 -08:00
Vladimir Markelov
cec72537cd closes #34 - make edit and checkbox one line height and center them vertically on resize 2015-11-04 10:34:30 -08:00
Vladimir Markelov
d9e27d4e47 #24 - add docs for EditField 2015-10-28 14:17:49 -07:00
Vladimir Markelov
2430ca0bda closes #11 - autosize implemented 2015-10-20 09:43:56 -07:00
Vladimir Markelov
1913bf2c61 closes #20 closes #19 2015-10-19 12:05:43 -07:00
Vladimir Markelov
0078d1ed0b refactoring and crossplatform patch 2015-10-16 10:27:43 -07:00
Vladimir Markelov
f5d0aca2bd Initial source commit 2015-09-21 20:54:39 -07:00