Commit Graph

38 Commits (ceb37a68d821bd1930a5233038c553e497e4652b)

Author SHA1 Message Date
frosch 337460249d (svn r25092) -Codechange: Deduplicate keyboard handling between console and editboxes. 11 years ago
frosch 9c23446b2b (svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf. 11 years ago
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. 12 years ago
frosch 42d27b5e17 (svn r24772) -Codechange: Call Window::OnEditboxChanged only when the content changes, not when only moving the cursor. 12 years ago
frosch d7ed7264e2 (svn r24744) -Codechange: Handle clicking on editboxed also via QueryString. 12 years ago
frosch 7b3d6cc31f (svn r24743) -Change: Unify the behaviour of ESC in filter editboxes. 12 years ago
frosch 18dcd2e6a4 (svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead. 12 years ago
frosch ec27bcb6a6 (svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString. 12 years ago
frosch 0ab8e7939b (svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor. 12 years ago
frosch 2ccba5e6c5 (svn r24735) -Codechange: Move HandleEditBoxKey to Window class. 12 years ago
frosch f1d40ca6f2 (svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged. 12 years ago
frosch 08e92e6f23 (svn r24733) -Codechange: Move handling of editbox keys to window class. 12 years ago
frosch c6ac0299a8 (svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members. 12 years ago
frosch e0f59fb049 (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. 12 years ago
frosch e95b757c11 (svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code. 12 years ago
frosch 755b52dcc0 (svn r24323) -Codechange: Split Textbuf and associated functions to separate files. 12 years ago
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 13 years ago
rubidium 1ef751e855 (svn r22423) -Document: some network stuff 13 years ago
rubidium 5c2674ec77 (svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes 14 years ago
rubidium 28da832781 (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 14 years ago
alberth b40fc5bab8 (svn r19904) -Codechange: Make EventState usable outside Window context. 14 years ago
rubidium 9e39af5230 (svn r18012) -Codechange: make the world generation windows nested; they'll need some tweaks to use the full potential though 15 years ago
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) 15 years ago
rubidium fa1c023da5 (svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window 15 years ago
smatz 6ec3a4fabd (svn r17600) -Cleanup: remove unused variable 15 years ago
alberth ed5a0dfaf1 (svn r17502) -Codechange [FS#3184]: Extend QueryStringBaseWindow to support windows with nested widgets (by Terkhen with a few tweaks). 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 5080feba0d (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 16 years ago
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. 16 years ago
rubidium c27460e29c (svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu) 16 years ago
rubidium 72d89337ee (svn r14804) -Codechange: unify opening the OSK (Zuu) 16 years ago
glx 48a047d73b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 16 years ago
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
16 years ago
rubidium a7d3d86f55 (svn r14069) -Fix: silence MSVC 64-bits compile warnings. 16 years ago
rubidium 122f029b93 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 16 years ago
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. 16 years ago
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. 16 years ago
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. 16 years ago