Commit Graph

484 Commits

Author SHA1 Message Date
pelya
7dd42939ae Align opened windows with toolbar 2014-06-01 01:32:30 +03:00
pelya
f469e7f57b Show info about facility/station/vehicle on mouse up instead of mouse down, to allow better map dragging. 2014-06-01 01:23:34 +03:00
alberth
ac23e46713 (svn r26610) -Feature: Select an editable preset name for saving. 2014-05-24 19:11:20 +00:00
rubidium
beb540ec55 (svn r26538) -Codechange: remove double accounting of the drivers 2014-04-28 21:06:51 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
pelya
19d76ddbbd Adopted "move when clicking near edge" setting for touchscreen 2014-04-06 23:23:10 +03:00
pelya
313e3b73b3 Auto-resize all buttons and fonts, when screen resoluition changes 2014-03-23 17:19:30 +02:00
pelya
982c84b3ee Removed unused variable 2014-03-23 15:39:18 +02:00
Juanjo
0de2e2a664 Add a function for deleting windows linked to main toolbar. 2014-03-15 22:53:35 +02:00
Juanjo
edb6c09c64 When in touchscreen modes, windows aligned with main toolbar are aligned to the left/right edge of the screen. 2014-03-15 22:53:35 +02:00
Juanjo
90c00f5b58 Adaptation of viewport for confirm mode. 2014-03-15 22:53:35 +02:00
Juanjo
d5669bb677 Set construction child windows to screen borders. 2014-03-15 22:23:22 +02:00
Juanjo
90914e262a Changes on viewport related files to deal with touchscreen options. 2014-03-15 22:23:22 +02:00
Juanjo
06a276e5ad Add a window for touchscreen devices. 2014-03-15 22:23:22 +02:00
Juanjo
d95a9c6160 Add a setting for automatically set min sizing values. 2014-03-15 21:37:17 +02:00
alberth
20b9015d74 (svn r26392) -Fix[FS#5933] No need to call OnFocus twice (MJP) 2014-03-05 21:21:55 +00:00
rubidium
4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 2014-01-02 22:41:58 +00:00
rubidium
115877a111 (svn r26122) -Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget 2013-11-26 13:23:31 +00:00
frosch
f16b78eb81 (svn r25884) -Fix: Resizing the window did not properly resize the viewport window, resulting in the link graph glitching. 2013-10-19 15:28:54 +00:00
michi_cc
164aba8732 (svn r25692) -Add: Replacement of a part of the edit box text with a new string. 2013-08-05 20:37:57 +00:00
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
d442d97cf1 (svn r25684) -Change: [Win32] Draw the composition string ourselves if possible. 2013-08-05 20:37:25 +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
michi_cc
1880c36405 (svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system. 2013-08-05 20:37:06 +00:00
michi_cc
07cd393f7e (svn r25678) -Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition. 2013-08-05 20:37:02 +00:00
michi_cc
be50bc410f (svn r25671) -Codechange: Pass character and key code separately to the keyboard handler. 2013-08-05 20:36:36 +00:00
michi_cc
d5590fa8f2 (svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler. 2013-08-05 20:36:32 +00:00
michi_cc
4b9fdb9ec4 (svn r25667) -Fix: [Win32] Only forward key presses to the IME system if an edit box has the input focus. 2013-08-05 20:36:20 +00:00
frosch
1234bef985 (svn r25647) -Add: If an editbox is configured to be cleared with ESC, but the editbox is already empty, unselect the editbox instead. 2013-08-03 21:26:49 +00:00
frosch
3716b3b892 (svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible. 2013-06-15 15:31:04 +00:00
frosch
611c5aabe0 (svn r25411) -Add: Window::OnHotkey 2013-06-15 15:30:16 +00:00
frosch
dd5be60322 (svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since they register in static vectors. 2013-06-15 15:06:22 +00:00
frosch
a4ff810a47 (svn r25297) -Fix (r25291): 32bit compilation. 2013-05-26 20:17:07 +00:00
frosch
4518e16da7 (svn r25295) -Feature: Allow saving window sizes as default sizes. 2013-05-26 19:30:31 +00:00
frosch
13badddd75 (svn r25294) -Feature: Add another button to window title bars to resize the window to its default size. 2013-05-26 19:30:07 +00:00
frosch
b734305ce2 (svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button. 2013-05-26 19:27:44 +00:00
frosch
b172ed3578 (svn r25291) -Add: WindowDesc ability to load and store information in a config file. 2013-05-26 19:27:22 +00:00
frosch
16feb5c4e9 (svn r25290) -Add: Assign string names to notable windows. 2013-05-26 19:25:01 +00:00
frosch
aecb5c30ed (svn r25289) -Codechange: Store width of statusbar and main toolbar directly in the WindowDesc. 2013-05-26 19:24:37 +00:00
frosch
8a98b24891 (svn r25288) -Codechange: No need to copy the WindowDesc flags if the WindowDesc is directly accessible. 2013-05-26 19:24:11 +00:00
frosch
25adefca23 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 2013-05-26 19:23:42 +00:00
frosch
337460249d (svn r25092) -Codechange: Deduplicate keyboard handling between console and editboxes. 2013-03-17 13:05:45 +00:00
planetmaker
f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
glx
00f7ea5927 (svn r24780) -Fix [FS#5378]: passing an int to a function expecting a byte can have side effects when MSVC optimises it 2012-12-03 21:03:13 +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
dbeb31860b (svn r24748) -Add: Clear button to all editboxes. 2012-11-14 22:50:56 +00:00
frosch
d7ed7264e2 (svn r24744) -Codechange: Handle clicking on editboxed also via QueryString. 2012-11-14 22:50:42 +00:00