1236 Commits

Author SHA1 Message Date
Jinhao
a8c269d108 refactor text_renderer 2019-06-17 07:36:33 +08:00
Jinhao
363953be20 improve compatability with old compiler 2019-06-14 05:34:28 +08:00
Jinhao
7d27f152f4 Merge branch 'hotfix-1.7.1' into develop 2019-06-12 23:10:12 +08:00
Jinhao
1f23a78a0a Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7 2019-06-11 01:15:52 +08:00
Jinhao
3533b97092 XFT code incorrectly enabled under Windows 2019-06-04 08:45:39 +08:00
ErrorFlynn
417071e4b5
fix for selection bug described in issue #448 2019-06-03 17:51:21 -04: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
Gheorghe Florian GLAVAN
0e8328eba3 fix for #440 (unicode_bidi aletter always true) 2019-05-23 12:17:30 +03: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
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
4d42409a54 cover more place methods with place:error 2019-05-05 23:05:25 +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
20c40a091a fix warning about order of initialization 2019-05-05 21:46:20 +02:00
ErrorFlynn
4e3641ed88
fix for issue #428 2019-05-05 11:13:08 -04: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
003ffee01a implement error 2019-05-05 11:20:09 +02:00
qPCR4vir
45bb9f4318 \todo introduce a place::implement::field_gather::error ?? 2019-05-05 11:20:09 +02:00
qPCR4vir
5b1d0b4606 tokenizer errors 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
7830f430c0 tokenizer::error 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
77dd467f73 Add field name to place error 2019-05-05 11:20:02 +02:00
Jinhao
ec38e666a1 fix bug that grayscale png is mistakely processed 2019-04-24 01:18:27 +08:00
Jinhao
a08e274088 Merge branch 'hotfix-1.7' into develop 2019-04-22 01:08:49 +08:00
ErrorFlynn
c5b38f3643
bug: second parameter of category_icon() is rvalue reference 2019-04-18 17:12:31 -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
9ec8ab4e9d add contributor information 2019-04-17 05:36:19 +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
f697f4c338 uses std::chrono 2019-04-16 03:54:16 +08:00
ErrorFlynn
b7ddcd7d3a
fix for issue #420 2019-04-15 13:00:04 -04: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
Jinhao
cff5a0e1c4 hides place.splitter if one of leaves is undisplayed 2019-04-10 23:17:20 +08:00
Jinhao
3716961eb4 small fix that wrong parameter is passed to scan_div 2019-04-10 23:13:37 +08:00
rbrugo
fbe04436d4 deprecated use of unsigned overloadings for functions in class timer 2019-04-09 23:48:14 +02:00
Jinhao
682e92c14d add check for matching numbers of left/right brackets of div-text 2019-04-10 01:19:36 +08:00
Jinhao
d931ebb61c filter out the middle and right button for item selection(#413) 2019-04-10 00:41:04 +08: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
Jinhao
6b8a898239 improve fix 73c68def7ec2bb7d3af1a4370209cb862f66b408 2019-04-02 01:19:07 +08:00
Jinhao
73c68def7e fix bug that child widgets may not be updated during event handling 2019-04-01 06:25:18 +08:00
Jinhao
5803395b7e improve place.modify
it is allowed to modify a field with a new div-text which contains an existing
name in the field being modified
2019-03-31 12:44:22 +08:00