902 Commits

Author SHA1 Message Date
Jinhao
948022e304 fix any forward inlude issue 2019-11-17 01:27:20 +08:00
Jinhao
36a17566ca Merge branch 'ErrorFlynn-hotfix-1.7' into hotfix-1.7.2 2019-11-17 01:24:19 +08:00
Jinhao
6353a1909b Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7 2019-11-17 01:23:50 +08:00
ErrorFlynn
e626f816b3
nana::any bug fix - argument not forwarded
A constructor and an overload of the assignment operator each have a forwarding reference as a parameter, but they don't actually forward the argument.
2019-09-16 06:07:04 -04:00
Jinhao
02676e9c75 fix missing weakly_canonical on GCC 7.3 2019-09-11 00:07:07 +08:00
Jinhao
c86b64db0a Merge branch 'apple-fix' of https://github.com/loaden/nana into loaden-apple-fix 2019-09-01 23:09:30 +08:00
Jinhao
8323064efc improve the timer that it can be deleted in elapse handler 2019-09-01 18:49:19 +08:00
Yuchen Deng
0f1b5edc40 fix compatibility on macOS 2019-08-12 21:12:01 +08:00
Jinhao
d0251ed6c3 add filesystem workaround(#471) 2019-08-05 06:14:23 +08:00
Jinhao
9e653eec0a Merge branch 'patch-2' of https://github.com/qPCR4vir/nana into qPCR4vir-patch-2 2019-08-05 04:02:04 +08:00
qPCR4vir
ba1af33d76 doxygen documentation 2019-08-01 13:19:12 +02:00
이지한
129b83e68f fix the strange behavior of Korean ime composition window.
Because Hangul is a combination character, WM_IME_STARTCOMPOSITION is only called once when the IME input is started, so the position of the composition window is strange.

Therefore, I solved the problem by controlling the state of characters combined using WM_IME_COMPOSITION and WM_IME_CHAR.

We have also improved to support other IME languages such as Chinese and Japanese.
2019-08-01 15:24:46 +09:00
Jinhao
de9043e223 fix bug where listbox::item_proxy::empty behaves incorrectly 2019-07-23 04:37:14 +08:00
Jinhao
07871b1f36 refactor the implementation of timer in Linux 2019-07-14 13:40:17 +08:00
Jinhao
5acbbf548e refactoring and fix
fix a potential dead-lock caused by timer
2019-07-10 04:25:00 +08:00
Jinhao
363a80e935 refactor
remove typedef-name core_window_t
remove get_color and get_text_color of the internal class drawable
2019-06-30 11:56:16 +08:00
Jinhao
01bd43f960 refactoring 2019-06-28 06:32:34 +08:00
Jinhao
975993ff33 refactor types(#450) 2019-06-26 05:05:05 +08:00
Jinhao
8a0475c98c refactor text_renderer 2019-06-20 04:35:29 +08:00
qPCR4vir
6a46ec4f52 -static-libgcc ? 2019-06-12 16:13:37 +02:00
qPCR4vir
4ba692a6a0 Merge remote-tracking branch 'cnjinhao/hotfix-1.7.1' into develop 2019-06-12 10:16:39 +02:00
Jinhao
f57e824431 add support of multi-language under Linux(#439)
also fix the font style issue under Linux
2019-06-01 03:15:59 +08:00
Jinhao
913801244d Merge branch 'ad_textbox_text_function' of https://github.com/wpp2014/nana into wpp2014-ad_textbox_text_function 2019-05-24 08:52:01 +08:00
Jinhao
396319ea28 add new method listbox;:set_deselect
set a predicate that decides to deselect selected items in mouse_up event.
2019-05-23 00:49:56 +08:00
Jinhao
a21d58a5fe Merge branch 'hotfix-1.7.1' into develop 2019-05-16 23:23:11 +08:00
PearlWang
037ef43594 add text() function to class textbox 2019-05-15 09:25:37 +08:00
Jinhao
5575a9f2b8 fix bug that transparent widget may not be updated in event handler(#431) 2019-05-13 04:28:30 +08:00
Jinhao
44cbb18a50 Merge branch 'develop' of https://github.com/besh81/nana into besh81-develop 2019-05-10 04:33:25 +08:00
besh81
67f5d1743f toolbar: show text inside the button
Added function/method both to toolbar and item_proxy:
void textout(size_type index, bool show); ///< Show/Hide the text inside the button

Before: button without image weren't display
Now: button without image is display as empty square. In case the textout is on the text is show
2019-05-09 09:44:37 +02:00
besh81
5422c43002 toolbar : added toggle button
Following functions/methods have been add both to toolbar and item_proxy:
bool istoggle() const; ///< Returns true if the tool style is toggle.
				bool toggle() const; ///< Gets the tool toggle state (only if tool style is toggle).
				item_proxy& toggle(bool toggle_state); ///< Sets the tool toggle state (only if tool style is toggle).
				std::string toggle_group() const;	///< Returns the toggle group associated with the tool (only if tool style is toggle).
				item_proxy& toggle_group(const ::std::string& group);	///< Adds the tool to a toggle group (only if tool style is toggle).
2019-05-08 18:11:21 +02:00
Jinhao
dfc3cf0cbd Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7 2019-05-07 00:29:04 +08:00
qPCR4vir
9e60ae87ba better text error 2019-05-05 23:47:44 +02:00
qPCR4vir
ca96a9d3ca Fix merge
# Conflicts:
#	include/nana/gui/widgets/treebox.hpp
#	source/gui/place.cpp
2019-05-05 22:15:41 +02:00
qPCR4vir
74b486e267 first "working" version of place::error - compiles and run when Ok
tested with some errors as espected
2019-05-05 11:20:09 +02:00
qPCR4vir
1d2e489c7f full error msg at one place 2019-05-05 11:20:09 +02:00
qPCR4vir
064d59de13 rename to valid_field_name 2019-05-05 11:20:09 +02:00
qPCR4vir
6b3c02b558 introduce place::error and badname 2019-05-05 11:20:09 +02:00
qPCR4vir
ce3dd2e9a1 scheme code format 2019-05-05 11:17:20 +02:00
Jinhao
b9ab3f8a4f remove deprecated code 2019-04-22 05:51:56 +08:00
Jinhao
a08e274088 Merge branch 'hotfix-1.7' into develop 2019-04-22 01:08:49 +08:00
Jinhao
ac9cb8e589 add a member type item_interface to float_listbox::item_renderer 2019-04-22 01:07:15 +08:00
ErrorFlynn
e36a3270e9
bug: second parameter of category_icon() is rvalue reference 2019-04-18 17:13:19 -04:00
Jinhao
5320ead6bd add treebox.horvered method 2019-04-19 04:40:49 +08:00
Jinhao
8b2dc1eddd fix missing fs.weakly_canonical for c++11/14 2019-04-19 04:38:30 +08:00
Jinhao
9e91bd0160 recover the behavior of treebox path which starts with separater(#422) 2019-04-19 02:07:47 +08:00
Jinhao
f274ff4c4c Merge branch 'develop' of https://github.com/beru/nana into beru-develop 2019-04-16 23:39:40 +08:00
Jinhao
fd120c6425 Merge branch 'hotfix-1.7' into develop 2019-04-16 04:01:44 +08:00
Jinhao
5335bb841f add on_clicked and on_checked for radio_group 2019-04-16 03:59:51 +08:00
Jinhao
f697f4c338 uses std::chrono 2019-04-16 03:54:16 +08:00
beru
a596c7f64e fix typos 2019-04-14 14:49:01 +09:00