745 Commits

Author SHA1 Message Date
Jinhao
1be4b4e667 fix bug where textbox highlight fails 2017-08-24 05:26:44 +08:00
Jinhao
4e425d1d8d fix crash where menubar hotkey isn't an ASCII character 2017-08-22 07:48:37 +08:00
Jinhao
65b1ee1e95 fix bug that inline-widgets positioned wrong column 2017-08-16 07:11:01 +08:00
Jinhao
2cfc6ee8e6 release GDI object immediately when a widget is closing 2017-08-14 01:00:14 +08:00
Jinhao
c8bbf03ebf refactor 2017-08-11 22:42:27 +08:00
Jinhao
930db94fc2 fix bug that slider is still highlighted when mouse leave 2017-08-08 00:33:00 +08:00
Jinhao
bb7fc29986 fix bug that incorrect visual rect if parent is nested_form 2017-08-07 01:00:54 +08:00
Jinhao
886eac6be4 remove sync_child_root_display function
The display state of root widget(nested_form) now no longer depends on its
parent widget's visibility. Otherwise, the solution is complicated and
error-prone, it is impossible to maintain the correct state when the
visibility of root widget is changed directly by system API.
2017-08-06 09:48:06 +08:00
Jinhao
7b12dafb19 fix crash where select menu command using keyboard(#237) 2017-08-03 05:42:32 +08:00
Jinhao
2853c652e5 fix crash where create combox with specified rectangle 2017-07-29 08:20:54 +08:00
Jinhao
cf088ddbfb eliminate compiler warnings 2017-07-26 05:01:44 +08:00
Jinhao
6ae4b963ee code refined 2017-07-26 02:40:52 +08:00
Jinhao
27e1d7aff5 add textbox::content_origin 2017-07-25 07:57:48 +08:00
Jinhao
d5c01b3dd1 adjust inputbox element width for good looking 2017-07-25 06:41:32 +08:00
Jinhao
33c9def027 fix issue where very long inputbox prompt string 2017-07-25 06:30:09 +08:00
Jinhao
a4f7d46eee add new features to listbox
a method to enable/disable the number of items
methods about expanding category
methods about category icons
2017-07-22 23:04:43 +08:00
Jinhao
0cfd06b23f add new inputbox::boolean
other fixes for width of inputbox's elements
2017-07-20 23:46:20 +08:00
Jinhao
d53254b89a fix bug that single-line text_editor still shows scrollbar 2017-07-20 23:44:03 +08:00
Jinhao
0d99cb26dc fix bug that render incorrent when text_editor selection isn't focused 2017-07-19 08:01:19 +08:00
Jinhao
130ba79705 remove unused variable 2017-07-17 07:10:58 +08:00
Jinhao
cb6191cc88 fix crash error when operate a closed treebox 2017-07-17 00:37:30 +08:00
Jinhao
87698de126 fix a compiler error in text_editor.cpp 2017-07-16 23:30:05 +08:00
Jinhao
822a762804 fix bug that textbox::caret_pos() doesn't move the caret 2017-07-16 21:42:24 +08:00
Jinhao
a7bfc61007 fix bug that text_editor wouldn't reset scrollbar when paste 2017-07-16 11:26:28 +08:00
Jinhao
887554b1b9 fix bug that _m_paste_children wouldn't work well in refresh_tree
added contributor information
2017-07-15 11:53:06 +08:00
Jinhao
fc36efce0c Merge branch 'double-click' of https://github.com/os12/nana into os12-double-click 2017-07-15 01:30:11 +08:00
Jinhao
f160710c92 fix bug that scroll() wouldn't work when avoid_drawing 2017-07-14 07:49:16 +08:00
Jinhao
eef08b8a28 fix bug that es_lister::scroll wouldn't work well 2017-07-13 03:29:40 +08:00
Oleg Smolsky
e8755e6283 Added Windows-style mouse double-click to the textbox
- the word under cursor is selected with double-click now
 - tested in both editable and read-only modes

This addresses #226.
2017-07-12 10:46:45 -07:00
Jinhao
d1d03c9c0a code refined 2017-07-11 23:27:45 +08:00
Jinhao
8729d14c7a fix bug that place margin would generate bad value 2017-07-11 21:56:42 +08:00
Jinhao
255f5851c6 tabstop weird experience if it processes tabstop 2017-07-08 11:22:18 +08:00
Jinhao
bd5e9fdc4a fix issues on different MinGW distro 2017-07-07 08:34:34 +08:00
Jinhao
afd8225875 fix bugs that button renderer generated bad values if it zero-size 2017-07-01 07:32:45 +08:00
Jinhao
40c35d87a0 fix compiler warnings 2017-06-22 00:11:36 +08:00
Jinhao
a937c6d8c5 code refined 2017-06-21 23:25:02 +08:00
Jinhao
cbb42259bd Merge branch 'hotfix-1.5.1' into develop 2017-06-21 22:52:47 +08:00
Jinhao
74dedb9506 add noexcept 2017-06-18 10:10:30 +08:00
Jinhao
b5db21567f add new methods to textbox for line count 2017-06-18 05:08:51 +08:00
Jinhao
33321d73de fix logic and crash errors of listbox box selection 2017-06-17 10:48:24 +08:00
Jinhao
8044cb0b34 fix some bugs of listbox box selection 2017-06-13 23:25:58 +08:00
Jinhao
40cfe5f404 fix bug that listbox would crash when selects category by box selection 2017-06-13 06:00:30 +08:00
Jinhao
0b4dc1904b fix compiler errors/warnings for clang 5.0 2017-06-11 11:33:52 +08:00
Jinhao
93514186d5 fix some typo 2017-06-08 21:45:00 +08:00
Jinhao
3cefaa3506 Merge branch 'hotfix-1.5.1' into develop 2017-06-08 21:40:32 +08:00
Jinhao
bd38e96ed7 fix issue that textbox&spinbox don't update immediately 2017-06-08 00:44:27 +08:00
Jinhao
d384a6a8e7 fix issue that graphics::gradual_rectangle modifies fgcolor unexpectedly 2017-06-04 05:47:57 +08:00
Jinhao
4d93c97c44 small improvement 2017-06-02 05:19:38 +08:00
Jinhao
a6c6a84147 fix crash that text_editor undo enter with selected text 2017-06-02 04:26:19 +08:00
Jinhao
a87703d418 refactor functions 2017-05-31 22:36:56 +08:00