Jinhao
2cf0adf777
small modification
2017-08-31 04:41:43 +08:00
Jinhao
29fc286ba3
fix bug that throws exception in listbox::column_at( #248 )
2017-08-31 04:36:09 +08:00
Jinhao
fba4097851
refactor menubar
2017-08-31 02:57:34 +08:00
Jinhao
64899a3d6a
add functions to menubar for auto-close when mouse leave
2017-08-28 21:09:04 +08:00
Jinhao
5c28e72320
fix bug that round_rectangle always draws black background( #246 )
2017-08-27 11:14:50 +08:00
Jinhao
ec9ec611b4
refactor drawing of shortkey underline
2017-08-27 10:32:56 +08:00
Jinhao
4e18d81f90
fix bug that listbox incorrect scrolls if content is sorted( #245 )
2017-08-24 05:49:19 +08:00
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
6da703c8fb
reduce GDI objects
2017-08-13 15:48:57 +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
64dbd2100c
fix bug that graphics::make({0, 0}) behaves differently between Windows
...
and Linux
2017-07-17 22:31:29 +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
d4fb5a226f
fix issues that nuwen/TDM MinGW distro
2017-07-08 04:22:26 +08:00
Jinhao
bd5e9fdc4a
fix issues on different MinGW distro
2017-07-07 08:34:34 +08:00
Jinhao
4bc03d038a
code refined
2017-07-02 13:05:33 +08:00
Jinhao
3b737c01a2
fix issue that pixel_buffer generates wrong color in 16bits depth
2017-07-01 12:21:19 +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