661 Commits

Author SHA1 Message Date
Jinhao
db2cb5e8d7 change text_editor for reducing binary size 2016-11-19 04:24:03 +08:00
Jinhao
3de48c1991 Merge branch 'menubar_improvements' of https://github.com/dankan1890/nana into dankan1890-menubar_improvements 2016-11-14 05:38:49 +08:00
dankan1890
565b612ea7 Added colors scheme. 2016-11-04 00:21:34 +01:00
Toby Case
c2640f5524 - Include nana/deploy.hpp to declare to_utf8
- Was preventing compilation of nana library
2016-11-02 18:09:10 -07:00
Jinhao
5e6b13d23b Merge branch 'hotfix-1.4.1' into develop 2016-11-02 22:48:56 +08:00
Jinhao
a1eeeee948 fix a widget::i18n compiler error 2016-11-02 21:55:19 +08:00
Jinhao
8e228512d5 fix some i18n errors 2016-11-02 21:50:52 +08:00
Jinhao
b1ce0eaff2 Merge branch 'hotfix-1.4.1' into develop 2016-10-31 06:21:41 +08:00
Jinhao
edc8304c22 Merge branch 'hotfix-1.4' of https://github.com/PeterAddy960/nana into PeterAddy960-hotfix-1.4 2016-10-31 06:13:41 +08:00
Jinhao
e6438919c0 Merge branch 'master' of https://github.com/qflow/nana into qflow-master 2016-10-31 05:42:25 +08:00
Jinhao
445f0ed6de fix issue of menu item_proxy 2016-10-31 04:33:42 +08:00
PeterAddy960
ea1edb5a4a Added a clear undo method.
Added an overload to selected to get the selection bounds.
Added an overload to the getline method to allow an offset from the beginning of the line.
2016-10-28 00:07:33 -05:00
PeterAddy960
021ee1edb4 Added a clear undo method to the textbox to erase all previous undo actions.
Added an overload to the selected method that give back the bounds of the selection.
2016-10-28 00:05:56 -05:00
Jinhao
9ed5e81ca2 fix the revertable lock of window_manager 2016-10-19 02:58:49 +08:00
Michal Fojtak
e7181a7007 vs"15" fix 2016-10-17 15:27:38 +02:00
Jinhao
57aa0498b3 some modifications for pr(#154)
update contributor info
2016-10-16 07:07:44 +08:00
Jinhao
092ae97c66 fix transparent window bugs 2016-10-14 07:19:56 +08:00
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
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
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
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
8dccccc420 fix a syntax error 2016-09-22 08:10:24 +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
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
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
PeterAddy960
f4443bba90 Added methods to font object to get if font has underline and strikeout. 2016-08-31 20:30:11 -05: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
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
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
Jinhao
34cca34773 fix the behaviour of clicking menu disabled item 2016-07-26 07:32:50 +08:00
Jinhao
2f716cb83f Merge branch 'hotfix-1.3' into develop 2016-07-19 23:50:11 +08:00
Jinhao
daec65b0e0 Merge branch 'hotfix-1.3' 2016-07-19 23:49:47 +08:00
Jinhao
56697b331a improve text_editor 2016-07-17 20:58:00 +08:00
dankan1890
de777617ff c++ defines patch:
# Recent versions of clang have support for make_unique.
# Check if macro "__cpp_lib_experimental_filesystem" is defined and match with the standard value.
2016-07-13 22:12:29 +02:00
Jinhao
0a0fab679b fix some issues that are detected by PVS-studio team 2016-07-14 00:41:34 +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