1258 Commits

Author SHA1 Message Date
Zaha Mihai
7c442360ba
Fix inconsistency regarding filebox multi_select
When only one file is selected, the lpstrFile variable contains only the path to that file, without the parent path before that, thus, the targets vector is empty and the path variable contains the actual path to the file. This is inconsistent with the scenario where multiple files are selected, in which targets contains the file paths and path contains the parent directory path.
2019-09-01 17:53:23 +03:00
Jinhao
2e0f29564f fix MinGW warnings of compiling dragdrop.cpp 2019-07-20 11:44:53 +08:00
Jinhao
6ac558e1b7 Merge branch 'hotfix-1.7.1' into develop 2019-07-18 21:41:46 +08:00
Jinhao
496d157b4b fix memory leak in class pool(#455) 2019-07-18 21:29:02 +08:00
Jinhao
641d4c263d small change 2019-07-16 03:32:23 +08:00
Jinhao
9f29772bff Merge branch 'develop' of https://github.com/besh81/nana into besh81-develop 2019-07-16 03:26:34 +08:00
Jinhao
07871b1f36 refactor the implementation of timer in Linux 2019-07-14 13:40:17 +08:00
besh81
c1b5b87ec3 Fixed issue on dockpane close
Now closing a dockpane when the x button is inside the place area don't show the dock indicator anymore.
2019-07-11 17:20:48 +02:00
Jinhao
5acbbf548e refactoring and fix
fix a potential dead-lock caused by timer
2019-07-10 04:25:00 +08:00
Jinhao
50d2c61b9e Merge branch 'hotfix-1.7.1' into develop 2019-07-08 07:12:07 +08:00
Jinhao
1ceb6fd711 Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7 2019-07-08 06:34:56 +08:00
ErrorFlynn
d845a82dc4
fixed another listbox selection bug
a display position was searched for in a set of absolute positions
2019-07-06 14:18:24 -04:00
Jinhao
7e310f33f7 remove deprecated code 2019-07-01 07:56:29 +08:00
Jinhao
46b5e423b5 remove unused class 2019-07-01 07:31:33 +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
065e6f3081 remove iconv code 2019-06-27 07:47:36 +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
Jinhao
ad4c3a3fc3 Merge branch 'hotfix-1.7.1' into develop 2019-06-20 01:23:18 +08:00
Jinhao
39c3f85627 fix bug that click event is triggered by pressing space on disabled button 2019-06-19 23:42:50 +08:00
Jinhao
e5a935ab83 fix bug that filebox single selection fails on Linux 2019-06-18 08:23:54 +08:00
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