이지한
129b83e68f
fix the strange behavior of Korean ime composition window.
...
Because Hangul is a combination character, WM_IME_STARTCOMPOSITION is only called once when the IME input is started, so the position of the composition window is strange.
Therefore, I solved the problem by controlling the state of characters combined using WM_IME_COMPOSITION and WM_IME_CHAR.
We have also improved to support other IME languages such as Chinese and Japanese.
2019-08-01 15:24:46 +09:00
Jinhao
f697f4c338
uses std::chrono
2019-04-16 03:54:16 +08:00
Jinhao
85c2bdbd75
small changes
2019-02-02 00:31:56 +08:00
besh81
4c3455648f
spinbox: if not editable keep prefix and suffix when gain focus
2019-01-08 17:31:39 +01:00
Jinhao
a9f23e2503
Merge branch 'develop-c++17' into develop
2018-06-04 02:29:55 +08:00
Jinhao
9b39d8490b
add select method for spinbox
2018-05-11 17:16:34 +08:00
Jinhao
5f77c73aaa
no throw()
2017-12-19 03:30:38 +08:00
Jinhao
486e75f3ae
apply constexpr if
2017-12-18 22:13:03 +08:00
Jinhao
c1654f75ec
fix issue that typing text for spinbox doesn't draw spin buttons border
2017-09-18 23:46:02 +08:00
Jinhao
dbc9bc55ff
fix bug that fast clicking a spinbox doesn't change the value( #257 )
2017-09-18 23:36:40 +08:00
Jinhao
255f5851c6
tabstop weird experience if it processes tabstop
2017-07-08 11:22:18 +08:00
Jinhao
bd38e96ed7
fix issue that textbox&spinbox don't update immediately
2017-06-08 00:44:27 +08:00
Jinhao
4aba8e8c7f
fix memory leak for spinbox
2017-04-26 05:26:39 +08:00
Jinhao
74898dcc01
Merge branch 'hotfix-1.4.1' into develop
2017-04-12 07:35:05 +08:00
Jinhao
0e94346fc1
add query of range for spinbox
2017-04-12 06:40:06 +08:00
Jinhao
40030f7740
fix issue where value of spinbox wouldn't update in text_changed
2017-04-12 05:00:37 +08:00
Jinhao
6cbf721f9d
improve all widgets for bground effects
2017-04-11 07:06:43 +08:00
Jinhao
2829a6c2de
fix bug that spinbox always resets the caret( #185 )
2017-02-14 07:46:50 +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
8c7051566c
optimize binary size
2016-07-01 23:43:48 +08:00
Jinhao
df68cfa3ad
a bool param to determines whether the caret move to end of text
2016-05-10 15:52:06 +08:00
Jinhao
116787072f
Merge branch 'hotfix-1.3' into develop
2016-04-18 15:16:03 +08:00
Jinhao
42990b8670
move lazy_refresh() from namespace API to API::dev
2016-04-17 17:46:19 +08:00
Jinhao
afa253f924
capture_window is deprecated in favor of set_capture/release_capture
2016-04-17 06:06:33 +08:00
Jinhao
07b5b19545
improve stability of event
2016-04-10 15:23:44 +08:00
Jinhao
6b6b527007
eliminate -Wextra and -pedantic warnings
2016-03-15 15:46:28 +08:00
Jinhao
a42ebe19b4
use UTF-8 for string representation
2015-12-31 01:09:52 +08:00
Jinhao
c260eebbc3
use UTF-8 for string representation
2015-12-15 21:46:24 +08:00
Jinhao
112deadd16
elimiate nana::string for listbox
2015-12-10 00:24:31 +08:00
Jinhao
e8266b5ae8
add native_string_type for internal use
2015-12-03 01:49:44 +08:00
Jinhao
12358a5dc0
change some APIs for accepting utf8
2015-11-27 01:54:26 +08:00
Jinhao
9fd1a594cb
add selection of text by using shift+mouse click
2015-11-02 00:33:22 +08:00
Jinhao
5590dd293b
new features of listbox
...
text line number and line indent
2015-10-21 01:39:11 +08:00
Jinhao
573a5bee86
code review
2015-10-07 18:01:46 +08:00
Jinhao
f4924ef2f8
add throw() for some functions
2015-08-03 01:37:36 +08:00
Jinhao
7d868f2377
Merge branch 'develop' of https://github.com/beru/nana into beru-develop
...
Conflicts:
source/gui/widgets/skeletons/text_editor.cpp
source/gui/widgets/textbox.cpp
source/paint/detail/image_bmp.hpp
source/paint/detail/image_ico.hpp
2015-08-01 22:08:06 +08:00
Jinhao
396163c1b7
fix mouse left button issues due to breaking changes
2015-07-28 00:00:15 +08:00
beru
2da65827a0
improve cursor move keys support in text editor refs refs #1
2015-05-05 14:13:16 +09:00
Jinhao
4154c8e132
rename API::is_focus_window to API::is_focus_ready
2015-05-01 16:36:12 +08:00
Jinhao
6a0fd78595
fix no response of Delete
2015-03-25 01:56:48 +08:00
Jinhao
9a5dfe7f88
fix no response of Delete key
2015-03-25 01:44:56 +08:00
Jinhao
9fbe14e2de
code reviews
2015-02-26 02:35:19 +08:00
Jinhao
0ffa3e54ca
some improvements
2015-02-17 04:03:55 +08:00
cnjinhao
274155b1da
improve the spinbox and inputbox
...
improve the input check for spinbox
add a verifier to check user input for inputbox
2015-02-07 11:47:45 +08:00
cnjinhao
81a50fd84f
Add support CSS color text for class nana::color
2015-02-06 01:45:17 +08:00
cnjinhao
fd5ff571a7
get ready for Linux
2015-02-04 10:26:08 +08:00
cnjinhao
50f4bd79ce
Add text_changed event for combox, spinbox and textbox
2015-01-31 04:17:34 +08:00
cnjinhao
a802083feb
Add inputbox
2015-01-28 07:14:21 +08:00
cnjinhao
02b77d2a26
Improve spinbox
2015-01-23 03:27:21 +08:00
cnjinhao
4ff3a6afd5
Add the new spinbox widget
2015-01-22 06:19:24 +08:00