169 Commits

Author SHA1 Message Date
Besh81
3069d998f0 textbox and combox behaviours
textbox: when uneditable the caret is hide
combox: when uneditable (default)
- inherit the textbox behaviour
- open the lister clicking the textbox area also
2016-05-10 18:10:53 +02:00
Jinhao
df68cfa3ad a bool param to determines whether the caret move to end of text 2016-05-10 15:52:06 +08:00
Jinhao
c512b2dad5 improve window manager refresh process 2016-04-20 02:07:38 +08:00
Jinhao
3dbe94cd6c fix a bug that text_editor undo for move text 2016-04-18 20:38:55 +08:00
Jinhao
116787072f Merge branch 'hotfix-1.3' into develop 2016-04-18 15:16:03 +08:00
Jinhao
afa253f924 capture_window is deprecated in favor of set_capture/release_capture 2016-04-17 06:06:33 +08:00
Jinhao
67431865c9 fix text_editor text selection issue 2016-04-15 22:22:40 +08:00
Jinhao
6b6b527007 eliminate -Wextra and -pedantic warnings 2016-03-15 15:46:28 +08:00
Jinhao
569eb49a5c fix and improve the internal handle of focus change
enhanced textbox behavior of focus change
2016-02-27 02:02:29 +08:00
Jinhao
325961a277 remove utf8_cast functions 2016-01-22 00:46:10 +08:00
Jinhao
13669f7591 fix a textbox line-wrap issue that only clears first line 2016-01-12 02:26:11 +08:00
Jinhao
a2a7d1fc37 remove deprecated components 2016-01-03 17:50:10 +08:00
Jinhao
a42ebe19b4 use UTF-8 for string representation 2015-12-31 01:09:52 +08:00
Jinhao
2ca11d4e25 fix compile errors under Linux 2015-12-16 01:21:44 +08:00
Jinhao
c260eebbc3 use UTF-8 for string representation 2015-12-15 21:46:24 +08:00
Jinhao
83161a3843 remove nana::is_complete 2015-11-30 01:38:15 +08:00
Jinhao
c86a00bea5 remove macro STR 2015-11-29 22:38:22 +08:00
Jinhao
a4258d3884 fix a selection text issue of text_editor with pressing shift 2015-11-16 01:20:59 +08:00
Jinhao
1e6360843e fix input issues on Linux(#87) 2015-11-16 00:38:03 +08:00
Jinhao
9fd1a594cb add selection of text by using shift+mouse click 2015-11-02 00:33:22 +08:00
Jinhao
09b314b94c change textbox event text_position_changed in favor of text_exposed 2015-10-23 00:51:58 +08:00
Jinhao
fb3b1d51d4 code review 2015-10-22 00:02:27 +08:00
Jinhao
5590dd293b new features of listbox
text line number and line indent
2015-10-21 01:39:11 +08:00
Jinhao
1b5aed2e5f code reviews 2015-10-13 01:38:53 +08:00
Jinhao
573a5bee86 code review 2015-10-07 18:01:46 +08:00
Jinhao
42443dcafd remove paint::gadget 2015-08-20 01:09:29 +08:00
Jinhao
aef37436b0 add a method to return textbox caret position 2015-08-05 00:33:16 +08:00
Jinhao
e0ee42d184 merge beru's changes 2015-08-02 03:33:43 +08:00
Jinhao
7d868f2377 Merge branch 'develop' of https://github.com/beru/nana into beru-develop
Conflicts:
	source/gui/widgets/skeletons/text_editor.cpp
	source/gui/widgets/textbox.cpp
	source/paint/detail/image_bmp.hpp
	source/paint/detail/image_ico.hpp
2015-08-01 22:08:06 +08:00
Jinhao
fff5926be5 some modifications 2015-08-01 21:45:22 +08:00
Jinhao
894e7e61c8 fix compiling errors by using GCC/Clang 2015-07-28 01:53:41 +08:00
Jinhao
396163c1b7 fix mouse left button issues due to breaking changes 2015-07-28 00:00:15 +08:00
Jinhao
f762589975 fix newline issue of text_editor 2015-07-12 10:56:51 +08:00
Jinhao
b1ed1f0452 Merge branch 'hotfixes-1.0.2' into develop
Conflicts:
	include/nana/gui/detail/basic_window.hpp
	include/nana/gui/widgets/listbox.hpp
	source/gui/detail/linux_X11/bedrock.cpp
	source/gui/detail/win32/bedrock.cpp
	source/gui/detail/window_layout.cpp
	source/gui/detail/window_manager.cpp
	source/gui/widgets/listbox.cpp
	source/gui/widgets/toolbar.cpp
2015-07-11 13:35:22 +08:00
Jinhao
d528b5c94d fix an issue that caret doesn't move when moving the parent widget. 2015-06-23 00:11:47 +08:00
Jinhao
28413b7f25 explicit conversion from point/size to rectangle 2015-06-22 11:30:14 +08:00
beru
21dc2aa48c improve textbox's selection handling refs #19, #1 2015-05-24 23:25:39 +09:00
beru
8899cc870c Deselect textbox contents on mouse_down event.
Add the condition that textbox's content should be selected when it's focused with tabstop.
2015-05-21 04:15:20 +09:00
beru
9fc7d3e403 Textbox should select its contents when focus is set. the caret position is moved to end of a line in that case.
When textbox is not focused, its selection should not be drawn to make it look quiet.
2015-05-21 03:42:17 +09:00
beru
2da65827a0 improve cursor move keys support in text editor refs refs #1 2015-05-05 14:13:16 +09:00
Jinhao
4154c8e132 rename API::is_focus_window to API::is_focus_ready 2015-05-01 16:36:12 +08:00
Jinhao
53c36b7363 fix mask textbox highlight with mask 2015-04-13 23:41:42 +08:00
Jinhao
ed462870e0 update contributor info 2015-04-12 03:31:07 +08:00
qPCR4vir
47695b0503 FIX: find only first keyword in line 2015-03-25 11:07:19 +01:00
Jinhao
6a0fd78595 fix no response of Delete 2015-03-25 01:56:48 +08:00
Jinhao
bc8a157971 add auto config of numeric conversions
auto config of numeric conversions for GCC/MinGW
add contributors info
2015-03-13 14:24:24 +08:00
qPCR4vir
b62cbc1cf3 fix: UB due to pos=57, begin=58 (first char finded) infinite cycle => *chp : crash in text_editor 2015-03-11 02:20:40 +01:00
cnjinhao
04afbe9df9 Merge branch 'hotfixes-0.9.1' into develop
Conflicts:
	include/nana/gui/widgets/progress.hpp
	source/gui/widgets/date_chooser.cpp
	source/gui/widgets/progress.cpp
	source/gui/widgets/treebox.cpp
2015-02-02 18:55:23 +08:00
cnjinhao
c5025b58a9 Code reviews 2015-01-24 08:06:02 +08:00
cnjinhao
02b77d2a26 Improve spinbox 2015-01-23 03:27:21 +08:00