58 Commits

Author SHA1 Message Date
Jinhao
5acbbf548e refactoring and fix
fix a potential dead-lock caused by timer
2019-07-10 04:25:00 +08:00
Jinhao
f274ff4c4c Merge branch 'develop' of https://github.com/beru/nana into beru-develop 2019-04-16 23:39:40 +08:00
beru
a596c7f64e fix typos 2019-04-14 14:49:01 +09:00
Jinhao
d931ebb61c filter out the middle and right button for item selection(#413) 2019-04-10 00:41:04 +08:00
Jinhao
52d814673b Merge branch 'hotfix-1.6.1' into develop 2018-08-19 15:24:05 +08:00
Jinhao
04e57771a4 eliminate GCC warings when -Wimplicit-fallthrough is enabled 2018-08-10 23:35:11 +08:00
Jinhao
56a9647d56 use std::string_view 2018-07-02 04:31:41 +08:00
Jinhao
be836b5b48 apply folding expression and std::optional 2017-12-23 00:10:10 +08:00
Jinhao
5f77c73aaa no throw() 2017-12-19 03:30:38 +08:00
Jinhao
2853c652e5 fix crash where create combox with specified rectangle 2017-07-29 08:20:54 +08:00
Jinhao
58cb215f7b fix combox content measure 2017-04-29 01:50:56 +08:00
Jinhao
4e9646cf64 unify semantics of the blend methods 2017-04-15 11:30:16 +08:00
Jinhao
6cbf721f9d improve all widgets for bground effects 2017-04-11 07:06:43 +08:00
Jinhao
431f0af893 fix syntax errors and warnings 2017-03-17 07:29:34 +08:00
Jinhao
f0dc62cc21 new vfit/hfit for place
added fit-content support for button/picture/combox/label
2017-03-15 23:39:39 +08:00
Jinhao
d6cb631bc2 add a method to show caret for the uneditable textbox
When an uneditable textbox has a caret, user can select the text and copy
it.
2016-09-03 07:46:43 +08:00
Jinhao
6e86b6ae6c refine code
fix bug that listbox may throw std::runtime when the modal is enabled
fix bug that textbox attachs a wrong event angent
2016-08-10 01:46:13 +08:00
Jinhao
2f9056cc7a Merge branch 'hotfix-1.3' into develop 2016-06-10 17:08:48 +08:00
Jinhao
47e7bedfcf Merge branch 'master' of https://github.com/besh81/nana into besh81-master 2016-06-10 16:27:31 +08:00
Jinhao
5b1891c186 listbox associative category access 2016-06-03 08:00:19 +08:00
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
116787072f Merge branch 'hotfix-1.3' into develop 2016-04-18 15:16:03 +08:00
Jinhao
42990b8670 move lazy_refresh() from namespace API to API::dev 2016-04-17 17:46:19 +08:00
Jinhao
07b5b19545 improve stability of event 2016-04-10 15:23:44 +08:00
Jinhao
6b6b527007 eliminate -Wextra and -pedantic warnings 2016-03-15 15:46:28 +08:00
Jinhao
a839cf8deb optimize generated binary size 2016-02-19 00:49:32 +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
112deadd16 elimiate nana::string for listbox 2015-12-10 00:24:31 +08:00
Jinhao
e8266b5ae8 add native_string_type for internal use 2015-12-03 01:49:44 +08:00
Jinhao
12358a5dc0 change some APIs for accepting utf8 2015-11-27 01:54:26 +08:00
Jinhao
9fd1a594cb add selection of text by using shift+mouse click 2015-11-02 00:33:22 +08:00
Jinhao
573a5bee86 code review 2015-10-07 18:01:46 +08:00
Jinhao
2f47e89af1 use lambda instead of std::bind 2015-09-27 05:31:42 +08:00
Jinhao
f4924ef2f8 add throw() for some functions 2015-08-03 01:37:36 +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
396163c1b7 fix mouse left button issues due to breaking changes 2015-07-28 00:00:15 +08:00
Jinhao
d8a964d8f0 remove deprecated code 2015-07-20 22:57:22 +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
28413b7f25 explicit conversion from point/size to rectangle 2015-06-22 11:30:14 +08:00
qPCR4vir
895dbcbe7d FIX: compiling with VC2015 RC 2015-05-28 01:44:29 +02:00
beru
2da65827a0 improve cursor move keys support in text editor refs refs #1 2015-05-05 14:13:16 +09:00
Jinhao
6a0fd78595 fix no response of Delete 2015-03-25 01:56:48 +08:00
Jinhao
9a5dfe7f88 fix no response of Delete key 2015-03-25 01:44:56 +08:00
cnjinhao
fd5ff571a7 get ready for Linux 2015-02-04 10:26:08 +08:00
cnjinhao
38552b855b make all internal event handlers unignorable 2015-02-04 01:34:50 +08:00
cnjinhao
50f4bd79ce Add text_changed event for combox, spinbox and textbox 2015-01-31 04:17:34 +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