891 Commits

Author SHA1 Message Date
이지한
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
Jinhao
cff318d182 enhance the performance of nana 2019-04-13 00:03:40 +08:00
rbrugo
fbe04436d4 deprecated use of unsigned overloadings for functions in class timer 2019-04-09 23:48:14 +02:00
Jinhao
8092b21baa Merge branch 'master' of https://github.com/rbrugo/nana into rbrugo-master 2019-04-10 01:26:13 +08:00
rbrugo
ed540afc81 timer constructor accepts unsigned int and std::chrono::durations as initial interval 2019-04-08 17:34:47 +02:00
rbrugo
1cbc153a3e timer::interval now supports std::chrono 2019-04-08 17:15:54 +02:00
Jinhao
a4c3784efe fix bug that wd.find_window unexpectedly returns
wd.find_window unexpectedly returns a wrong handle if captured window
ignores children windows.
2019-04-03 23:59:12 +08:00
beru
e4e0003c3b fix typo 2019-03-23 18:23:38 +09:00
beru
3160b8a204 fix misspellings 2019-03-23 18:18:52 +09:00
beru
e39158f72f fix wrongly spelt word : overrided -> overridden 2019-03-23 17:28:33 +09:00
Jinhao
01b7f6ff09 add lexically_normal and weakly_canonical to nana.fs 2019-03-22 06:11:24 +08:00
Vina Rodriguez
ea3082239b implement filesystem path stem() in nana 2019-03-19 20:04:31 +01:00