Jinhao
54cfd3075d
add methods for listbox visible range
2018-12-02 06:44:11 +08:00
Jinhao
b3eacfddd0
add column_resizable and column_movable to listbox
2018-11-07 06:18:56 +08:00
Jinhao
ee419c8885
refactoring of listbox
2018-11-05 01:33:36 +08:00
Jinhao
b87d17cac1
bug fix and improvement of listbox
2018-11-04 13:50:12 +08:00
Jinhao
91675cb32d
improve listbox methods
...
listbox::hovered() and listbox::insert_item()
2018-11-01 06:37:26 +08:00
Jinhao
943a9e444d
init dragdrop
...
contains a new class simple_dragdrop and changes of listbox for dragdrop
2018-10-09 03:56:50 +08:00
Jinhao
852aa698ed
Merge branch 'hotfix-1.6.1' into develop
2018-08-28 07:36:51 +08:00
Jinhao
81d667dbd7
using C++17 emplace return type
2018-08-27 06:51:20 +08:00
Jinhao
52d814673b
Merge branch 'hotfix-1.6.1' into develop
2018-08-19 15:24:05 +08:00
Jinhao
04e57771a4
eliminate GCC warings when -Wimplicit-fallthrough is enabled
2018-08-10 23:35:11 +08:00
Jinhao
df5fda9096
fix listbox thread-safe issue( #329 )
2018-07-28 09:34:08 +08:00
Jinhao
fa24b280c5
fix bug that listbox hovered is not working( #328 )
2018-07-24 08:49:32 +08:00
Jinhao
fa45d7a252
fix bug that listbox unexpected sort is performed
2018-07-20 06:51:13 +08:00
Jinhao
6add8868da
nana::listbox::scroll not scrolling to correct location( #322 )
2018-07-04 21:47:47 +08:00
Jinhao
56a9647d56
use std::string_view
2018-07-02 04:31:41 +08:00
Jinhao
b5a9374f8f
fix bug that listbox fit_content may not work
2018-06-20 00:40:22 +08:00
Jinhao
094830b8a7
fix a bug that listbox may not be drawn( #317 )
...
it doesn't draw if the first column is wider than the width of listbox
2018-06-13 23:18:25 +08:00
Jinhao
0c7e8a8ca2
add scroll_operation_interface
2018-04-21 03:49:15 +08:00
Jinhao
2cf374705f
Merge branch 'hotfix-1.5.6' into develop
2018-04-12 15:49:30 +08:00
Jinhao
9370f13a1b
fix crash occurs when listbox is selecting item after pressing shift( #312 )
2018-04-12 12:46:52 +08:00
Jinhao
794367f8f6
small improvements
2018-04-12 10:47:06 +08:00
Jinhao
3de91cb9a2
small improvements
2018-04-09 17:47:48 +08:00
Yuchen Deng
1a9d84e88a
Fix compilation warning
2018-04-08 21:43:35 +08:00
besh81
4c200e68a5
Added listbox::clear_headers() and menubar::clear()
...
Added listbox::clear_headers() to remove all the columns (included categories and items) from the listbox
Added menubar::clear() to remove all the items from menubar
2018-02-26 15:45:31 +01:00
besh81
dc23624ee6
Add listbox::clear_headers() and menubar::clear()
...
Added listbox::clear_headers() to remove all the columns from the listbox
Added menubar::clear() to remove all the items from menubar
2018-02-23 16:14:10 +01:00
Jinhao
cf536994cd
listbox scroll into view
2018-02-11 17:53:07 +08:00
Jinhao
2df5a506f5
Merge branch 'hotfix-1.5.6' into feature-listbox
2018-02-10 14:59:28 +08:00
Jinhao
176d9e5dd9
fix bug that inline widgets aren't closed when lsitbox clears
2018-02-10 07:28:54 +08:00
Jinhao
0d6e9e042b
fix bug that listbox select behaves unexpectedly
...
it select last item of a category in single selection mode if category is
clicked
2018-02-04 10:46:29 +08:00
Jinhao
f21bbd5deb
fix bug that listbox incorrectly performs scroll_down/up
2018-02-03 06:40:10 +08:00
Jinhao
49437053b6
Merge branch 'hotfix-1.5.6' into feature-listbox
2018-01-29 17:20:55 +08:00
Jinhao
e1c5fcdb0a
enhance performance of setting model for a listbox
2018-01-28 11:21:45 +08:00
Jinhao
08077a9845
fix bug that wrong listbox selection after sorting
2018-01-13 13:08:43 +08:00
Jinhao
196d0bf351
Merge branch 'hotfix-1.5.6' into feature-listbox
2018-01-07 04:20:52 +08:00
Jinhao
5653bd2416
fix crash where listbox::item_proxy==str
2017-12-13 06:28:12 +08:00
Jinhao
dddd704786
Merge branch 'hotfix-1.5.5' into feature-listbox
2017-11-22 03:54:49 +08:00
Jinhao
bbc2dc2aea
rename pixels() to width_px()
2017-11-22 00:29:09 +08:00
Jinhao
b71427334a
listbox header font
2017-11-21 17:20:47 +08:00
Jinhao
0796c1540b
fix issue that listbox scheme mouse_wheel.lines has no effect
2017-11-01 11:57:52 +08:00
Jinhao
94ab3b9f78
fix bug that dropdown list of combox may excess screen
2017-10-20 04:19:35 +08:00
Jinhao
99a0cd2f8d
fix issue that listbox selected event behaves incorrectly in single mode
...
In single selection mode, the selected event is firstly raised for the
deselecting item. It is different from the selected event in
multi-selection mode.
2017-10-17 03:35:04 +08:00
Jinhao
29fc286ba3
fix bug that throws exception in listbox::column_at( #248 )
2017-08-31 04:36:09 +08:00
Jinhao
4e18d81f90
fix bug that listbox incorrect scrolls if content is sorted( #245 )
2017-08-24 05:49:19 +08:00
Jinhao
65b1ee1e95
fix bug that inline-widgets positioned wrong column
2017-08-16 07:11:01 +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
130ba79705
remove unused variable
2017-07-17 07:10:58 +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
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