Commit Graph

42 Commits

Author SHA1 Message Date
michi_cc
e34fe220e2 (svn r25691) -Add: [OSX] Support for mouse selection in the IME composition string. 2013-08-05 20:37:53 +00:00
michi_cc
4dbe823a5f (svn r25690) -Change: [OSX] Position the candidate window at the caret position. 2013-08-05 20:37:48 +00:00
michi_cc
88a71979dd (svn r25689) -Add: [OSX] Display the IME composition string ourself. 2013-08-05 20:37:44 +00:00
michi_cc
fa7a779cf7 (svn r25681) -Change: [Win32] Position the IME composition window at the caret position. 2013-08-05 20:37:14 +00:00
frosch
337460249d (svn r25092) -Codechange: Deduplicate keyboard handling between console and editboxes. 2013-03-17 13:05:45 +00:00
frosch
9c23446b2b (svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf. 2013-03-17 13:04:10 +00:00
frosch
a68b7c0068 (svn r24774) -Fix: Invert the focus handling of the OSK. Keep the focus at the OSK and close it on losing focus. This makes the editbox in the OSK behave correctly. 2012-11-28 21:14:28 +00:00
frosch
42d27b5e17 (svn r24772) -Codechange: Call Window::OnEditboxChanged only when the content changes, not when only moving the cursor. 2012-11-28 20:54:56 +00:00
frosch
d7ed7264e2 (svn r24744) -Codechange: Handle clicking on editboxed also via QueryString. 2012-11-14 22:50:42 +00:00
frosch
7b3d6cc31f (svn r24743) -Change: Unify the behaviour of ESC in filter editboxes. 2012-11-14 22:50:39 +00:00
frosch
18dcd2e6a4 (svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead. 2012-11-14 22:50:35 +00:00
frosch
ec27bcb6a6 (svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString. 2012-11-14 22:50:26 +00:00
frosch
0ab8e7939b (svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor. 2012-11-14 22:50:17 +00:00
frosch
2ccba5e6c5 (svn r24735) -Codechange: Move HandleEditBoxKey to Window class. 2012-11-13 21:47:13 +00:00
frosch
f1d40ca6f2 (svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged. 2012-11-13 21:47:07 +00:00
frosch
08e92e6f23 (svn r24733) -Codechange: Move handling of editbox keys to window class. 2012-11-13 21:47:02 +00:00
frosch
c6ac0299a8 (svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members. 2012-11-13 21:46:54 +00:00
frosch
e0f59fb049 (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. 2012-11-13 21:46:33 +00:00
frosch
e95b757c11 (svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code. 2012-11-13 21:46:19 +00:00
frosch
755b52dcc0 (svn r24323) -Codechange: Split Textbuf and associated functions to separate files. 2012-06-04 15:29:37 +00:00
rubidium
33d71b45fe (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 2011-11-12 13:00:29 +00:00
rubidium
1ef751e855 (svn r22423) -Document: some network stuff 2011-05-04 20:24:23 +00:00
rubidium
5c2674ec77 (svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes 2010-12-05 22:22:54 +00:00
rubidium
28da832781 (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 2010-12-05 22:21:37 +00:00
alberth
b40fc5bab8 (svn r19904) -Codechange: Make EventState usable outside Window context. 2010-05-30 12:06:18 +00:00
rubidium
9e39af5230 (svn r18012) -Codechange: make the world generation windows nested; they'll need some tweaks to use the full potential though 2009-11-08 13:35:45 +00:00
rubidium
52f7987a14 (svn r17811) -Codechange: make HasEditBoxFocus a private function of QueryString because it's not meant to be used for determining whether the given widget actually has focus (it also checks the OSK edit box) 2009-10-18 20:56:38 +00:00
rubidium
fa1c023da5 (svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window 2009-10-10 12:47:04 +00:00
smatz
6ec3a4fabd (svn r17600) -Cleanup: remove unused variable 2009-09-21 17:06:19 +00:00
alberth
ed5a0dfaf1 (svn r17502) -Codechange [FS#3184]: Extend QueryStringBaseWindow to support windows with nested widgets (by Terkhen with a few tweaks). 2009-09-11 18:52:56 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
5080feba0d (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 2009-02-09 01:22:29 +00:00
rubidium
3758ba890a (svn r15370) -Codechange: add a callback to tell the parent of an OSK that the string has changed instead of only marking the text box dirty. 2009-02-06 11:57:25 +00:00
rubidium
c27460e29c (svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu) 2009-01-03 23:40:29 +00:00
rubidium
72d89337ee (svn r14804) -Codechange: unify opening the OSK (Zuu) 2009-01-03 13:59:05 +00:00
glx
48a047d73b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 2008-10-25 19:59:11 +00:00
smatz
bc1d994f6c (svn r14514) -Codechange: use 'size' instead of 'length' for querystring and textbuf, explicitly say it includes the terminating zero
-Fix: one couldn't rename things with too long default/automatic name
-Fix: buffer overflow in console when too long (1024 bytes) command was entered
2008-10-22 19:12:10 +00:00
rubidium
a7d3d86f55 (svn r14069) -Fix: silence MSVC 64-bits compile warnings. 2008-08-13 14:52:54 +00:00
rubidium
122f029b93 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 2008-08-11 22:08:56 +00:00
rubidium
d284ba2283 (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. 2008-05-17 23:11:06 +00:00
rubidium
a7db265bb6 (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 2008-05-13 14:43:33 +00:00
rubidium
d8a6bb392a (svn r13042) -Codechange: make a class of CreateScenarioWindow, GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables. 2008-05-11 12:26:20 +00:00