Jinhao
a65eec2bb9
Merge branch 'hotfix-1.7.2' into develop
2019-09-11 00:54:47 +08:00
Jinhao
0bd0c1f362
Merge branch 'hotfix-1.7.2' of https://github.com/qPCR4vir/nana into qPCR4vir-hotfix-1.7.2
2019-09-11 00:51:03 +08:00
Jinhao
7082456330
Merge branch 'hotfix-1.7.2' of https://github.com/besh81/nana into besh81-hotfix-1.7.2
2019-09-11 00:46:39 +08:00
Jinhao
0f66b0cb26
improve wait of x11 event to avoid blocking
2019-09-11 00:10:11 +08:00
qPCR4vir
d47a7c55bb
document it
2019-09-10 14:57:49 +02:00
qPCR4vir
74f42f1778
new feature "fit_width_to_header caption text" for a new header with width=0
...
(cherry picked from commit 23efa5088d742a48e7ad07f273e84bcf50c2d979)
2019-09-09 19:56:57 +02:00
qPCR4vir
06ba591b66
FIX old bug during resizing of header, when next column spring to second position
2019-09-09 17:23:22 +02:00
besh81
4dd1c0c7ef
dock_pane and toolbar bug fix
...
fixed bug in dock_pane caption drawing function (used a workaround that hide the caption when the dock_pane width become too small)
fixed small bug in toolbar
2019-09-05 17:37:40 +02:00
Jinhao
12e15ce956
Merge branch 'fix_filebox_multi_select' of https://github.com/mihaizh/nana into mihaizh-fix_filebox_multi_select
2019-09-02 05:27:01 +08:00
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
8323064efc
improve the timer that it can be deleted in elapse handler
2019-09-01 18:49:19 +08:00
Jinhao
e37cc5ec37
fix crash where a shared lib is loaded/unloaded repeatedly
...
When a shared lib which uses nana is dynamic loaded/unloaded multiple
times, the crash would occur when creating a form after reloading the shared lib
2019-08-14 03:39:26 +08:00
Jinhao
2dd9a376bc
Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7
2019-08-11 02:27:30 +08:00
ErrorFlynn
1b0ac10475
fixes for the listbox bugs described in issue #472
2019-08-05 14:11:02 -04: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
0a9e69f5de
try #define NOMINMAX
2019-08-01 14:38:45 +02:00
qPCR4vir
0b339c1552
FIX https://github.com/cnjinhao/nana/issues/465
2019-08-01 14:00:54 +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
qPCR4vir
96c7a962c9
Merge branch 'develop' into patch-2
2019-07-31 16:59:20 +02:00
qPCR4vir
7a1c299ff7
explicit conversion
2019-07-31 16:56:23 +02:00
Jinhao
de9043e223
fix bug where listbox::item_proxy::empty behaves incorrectly
2019-07-23 04:37:14 +08:00
Jinhao
2e0f29564f
fix MinGW warnings of compiling dragdrop.cpp
2019-07-20 11:44:53 +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
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
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
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
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