Commit Graph

638 Commits

Author SHA1 Message Date
Rei
f42cd7b2eb Include cstring header on image_png.hpp
Compilation was failing with the "enable png" flag. This was happening
because the memcpy function was being called without the inclusion of
cstring, which declares it. This fixes it.
2016-11-05 04:46:29 -02: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
fbdd5224b2 fix a cast 2016-08-23 08:01:04 +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
Jinhao
7229c76807 fix some compiler errors on x64 2016-07-18 04:21:05 +08:00
Jinhao
98483d3e40 fix crash in linux because of compiler bug(GCC 4.8) 2016-07-18 02:36:18 +08:00
Jinhao
56697b331a improve text_editor 2016-07-17 20:58:00 +08:00
Jinhao
29446b5ef0 fix crash when adding a header to a zero-size listbox(#147) 2016-07-17 10:23:20 +08:00
Jinhao
0a0fab679b fix some issues that are detected by PVS-studio team 2016-07-14 00:41:34 +08:00
Jinhao
31455aa165 fix listbox horiz scroll issue(#145) 2016-07-14 00:15:50 +08:00
Jinhao
9b91d3b55f listbox and place code refined 2016-07-13 23:00:03 +08:00
Jinhao
49dfaca1ef fix a crash when the listbox inserts an item. 2016-07-13 22:57:13 +08:00
Jinhao
02acc4c216 listbox code refined 2016-07-13 08:14:27 +08:00
Jinhao
5d5a808b2d remove overloading assignment operator of rectangle 2016-07-13 08:00:59 +08:00
Jinhao
8489e16d72 make listbox::index_pair constructor explicit 2016-07-11 04:12:04 +08:00
Jinhao
ffdfb46eae fix caret color issue for X 2016-07-09 15:47:51 +08:00