851 Commits

Author SHA1 Message Date
dankan1890
d7b7a4d45f listbox:
Added header_fgcolor and item_highlighted to color scheme.
menu:
Added change_text function.
2016-10-14 01:14:55 +02:00
Jinhao
7c36c27d46 fix group bgcolor issue 2016-10-11 02:53:41 +08:00
Jinhao
8fe39df8b4 fix an issue of place number type(#157)
missing conversion from real to percent
2016-10-06 08:53:17 +08:00
Jinhao
5383d85cc0 add support of div-text update for splitter(#157) 2016-10-05 09:41:44 +08:00
Jinhao
7f45ae4342 add a param to listbox::item_proxy's check/select
this new parameter is used to indicate whether to scroll the view to the
item if the item is not displayed on screen.
2016-10-03 09:07:37 +08:00
Jinhao
fb27eece33 change some names base on #156 2016-10-03 05:36:13 +08:00
Jinhao
2614c55e30 Merge branch 'develop' of https://github.com/dankan1890/nana into dankan1890-develop 2016-10-03 05:22:40 +08:00
Jinhao
d8ce7ea1ba fix the issue of place find_str(#156) 2016-10-03 05:11:00 +08:00
dankan1890
e5c14570cb fix exact match in find_idstr. (note: removed isalpha, isalnum already performs that check) 2016-10-02 22:17:59 +02:00
Jinhao
4b58704161 fix issue when textbox::reset with no parameter 2016-10-01 10:07:13 +08:00
dankan1890
818c7459e7 place::modify() now correctly updates the text to place::div_text.
Note: I reverted the previous commit because it had an incorrect formatting.
2016-09-29 14:00:45 +02:00
dankan1890
00e9c0a21f reverted 2016-09-29 13:56:36 +02:00
dankan1890
3c2b36ead8 place::modify() now correctly updates the place::div_text. 2016-09-29 13:54:12 +02:00
Jinhao
830839ae27 add place::div() to return the div text
introduce keywords 'undisplayed' and 'invisible' into div-text
2016-09-28 07:47:53 +08:00
Jinhao
8b652ee308 fix i18n for msgbox 2016-09-25 20:11:50 +08:00
Jinhao
db663a0fae fix a compiler warning 2016-09-25 09:33:54 +08:00
Jinhao
340c350fcb Merge branch 'hotfix-1.4' into develop 2016-09-24 09:58:44 +08:00
Jinhao
0e6ea35858 fix wrong order of widget deletion 2016-09-24 08:15:44 +08:00
Jinhao
c916d0ace3 add textbox::set_undo_queue_length
a new method for setting the undo queue length
2016-09-22 08:03:30 +08:00
Jinhao
74e113b2cc returns not only one inline widget 2016-09-21 08:19:00 +08:00
Jinhao
7ff4762cdb add variadic parameters for make_factory 2016-09-21 07:08:30 +08:00
Jinhao
d9fb3b3ff9 add notify_status for listbox inline widget 2016-09-17 03:56:23 +08:00
Jinhao
07229e566d simplify implementation of listbox inline widget 2016-09-15 16:35:43 +08:00
Jinhao
cff816f10b fix listbox multi-selection exception(#154) 2016-09-14 05:51:23 +08:00
Jinhao
318f0ec570 fix issue that event handler remains after closing 2016-09-13 01:24:47 +08:00
Jinhao
422f2c768b add a method to textbox
a method to get bounds of a text selection
2016-09-12 00:01:12 +08:00
Jinhao
d6cb631bc2 add a method to show caret for the uneditable textbox
When an uneditable textbox has a caret, user can select the text and copy
it.
2016-09-03 07:46:43 +08:00
Jinhao
6eece91fce fix a crash that deleting a widget in its event handler 2016-09-02 07:49:55 +08:00
Jinhao
f400c14f9b fix mouse_wheel issue on Linux 2016-09-02 07:45:47 +08:00
Jinhao
001eac9dbf fix a filebox error under Linux
fixed by buckyeh
2016-09-02 01:06:33 +08:00
Jinhao
cf99551924 fix bug when an invalid pos for textbox.move_caret 2016-08-27 09:40:49 +08:00
Jinhao
b13f0a4ce5 fix textbox caret_pos issue 2016-08-27 05:23:25 +08:00
Jinhao
0f951d6b3e Merge branch 'hotfix-1.4' into develop 2016-08-23 08:03:31 +08:00
Jinhao
1fd0da7d79 fix drawing::erase 2016-08-23 08:02:08 +08:00
Jinhao
560798a9cb Merge branch 'develop_2' of https://github.com/dankan1890/nana into dankan1890-develop_2 2016-08-23 07:50:10 +08:00
Jinhao
daccf87912 Merge branch 'hotfix-1.4' into develop 2016-08-17 23:49:43 +08:00
Jinhao
d66c4bafce code refine 2016-08-17 07:27:41 +08:00
Jinhao
c296d433f4 fix issue that XCreatePixmap may fail if 0-size window 2016-08-16 07:19:09 +08:00
dankan1890
236ba4356e Removed some useless static_cast. 2016-08-15 00:07:55 +02:00
dankan1890
cdba162897 Fixed some 'false' value implicitly cast to the integer type. 2016-08-14 23:48:42 +02:00
Jinhao
eed3ffd5b6 Merge branch 'hotfix-1.4' into develop 2016-08-11 02:27:45 +08:00
Jinhao
9b28c96e9b code refine 2016-08-11 02:26:47 +08:00
Jinhao
ebfa079f3f fix bug that text_editor throws an exception when undo a backspace 2016-08-11 02:15:19 +08:00
Jinhao
6e86b6ae6c refine code
fix bug that listbox may throw std::runtime when the modal is enabled
fix bug that textbox attachs a wrong event angent
2016-08-10 01:46:13 +08:00
dankan1890
6fbc4a7988 Fixed the behavior of disabled items in the menus when scrolling with the arrows keys. 2016-08-01 03:20:07 +02:00
Jinhao
df5a786965 fix a bug that listbox::cat_proxy::append<T> throws if model enabled 2016-07-31 04:11:39 +08:00
Jinhao
34cca34773 fix the behaviour of clicking menu disabled item 2016-07-26 07:32:50 +08:00
qPCR4vir
62d1d11817 Merge remote-tracking branch 'nana_jh/develop' into develop 2016-07-19 18:53:16 +02:00
qPCR4vir
f81b730c5c listbox stable_sort 2016-07-19 18:20:43 +02:00
Jinhao
2f716cb83f Merge branch 'hotfix-1.3' into develop 2016-07-19 23:50:11 +08:00