Commit Graph

408 Commits

Author SHA1 Message Date
frosch 03736af2ae (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 2012-11-11 16:10:43 +00:00
zuu bcf1cb1f9c (svn r24521) -Feature [FS#5203]: Ctrl + Backspace/Delete to remove characters up to next word beginning in text edit boxes 2012-09-10 18:47:13 +00:00
zuu 0656a8d40b (svn r24520) -Feature [FS#5203]: Ctrl + Arrow keys to move entire words in text edit boxes (sbr) 2012-09-10 18:45:29 +00:00
frosch 59753be4ca (svn r24494) -Update: Some documentation. 2012-08-21 20:56:06 +00:00
frosch d58eee1e79 (svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions. 2012-06-04 15:30:29 +00:00
frosch 31eb896143 (svn r24323) -Codechange: Split Textbuf and associated functions to separate files. 2012-06-04 15:29:37 +00:00
alberth 87d5f47050 (svn r24293) -Fix: Increase the left and right margins of the text in the yes/no query window. 2012-05-26 21:30:38 +00:00
planetmaker ad9d1ca639 (svn r24048) -Cleanup: Sync credits in readme and ingame information 2012-03-19 20:01:55 +00:00
rubidium 0a5ed6892d (svn r23903) -Fix [FS#4993]: some instances had issues due to a value being out of range 2012-02-05 19:32:12 +00:00
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
truebrain 561b25d031 (svn r23601) -Fix: fix the conflict in window number 2011-12-19 20:50:21 +00:00
rubidium fefe22b4aa (svn r23590) -Codechange: make the string validation settings better expandable 2011-12-18 18:37:54 +00:00
truebrain 05af1d176b (svn r23536) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:49:53 +00:00
truebrain 2aa774e831 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
truebrain df0afdf0dc (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
2011-12-15 19:54:23 +00:00
rubidium 58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 2011-12-10 13:54:10 +00:00
rubidium 6cbeb9e745 (svn r23471) -Codechange: move the error related code out of misc_gui.cpp into error_gui.cpp 2011-12-10 08:49:42 +00:00
truebrain 1902803b6e (svn r23375) -Change: that name I haven't used for several years. Let it die out now finally, please? 2011-11-29 23:47:49 +00:00
yexo d5539f76d3 (svn r23130) -Change [FS#4825]: open the query string window centered as it (almost) always requires your attention 2011-11-08 12:16:17 +00:00
rubidium 798f5a8608 (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 2011-11-04 10:31:46 +00:00
rubidium 7757a2ed40 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 2011-11-04 10:18:13 +00:00
yexo ad232bd497 (svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid) 2011-09-15 13:26:27 +00:00
rubidium e8a9bb3c0d (svn r22766) -Add: river graphics for the original base set (andythenorth) 2011-08-20 12:52:45 +00:00
frosch 2a55273291 (svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters. 2011-07-03 14:32:15 +00:00
frosch 5e449b8fae (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
frosch 22286bd7b6 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
rubidium 1a515e6344 (svn r22405) -Document: some more "random-ish" tidbits 2011-05-01 19:14:12 +00:00
terkhen 8bc9925ade (svn r22346) -Cleanup: Textbuf::max_pixels is not required anymore. 2011-04-17 18:45:36 +00:00
terkhen 5bb7a48cd2 (svn r22345) -Change: Remove pixel limiter for text buffers. 2011-04-17 18:44:09 +00:00
terkhen 10caf391a1 (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
frosch 141f2eba50 (svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope. 2011-03-13 21:34:49 +00:00
frosch ec9540a12a (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
frosch 19b7249ade (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 2011-02-23 20:54:55 +00:00
frosch 40cc3324fa (svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call. 2011-02-23 20:45:52 +00:00
frosch 1a3a1e3b0c (svn r22133) -Fix: some coding style. 2011-02-23 20:29:48 +00:00
planetmaker 914f8e9f1d (svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments 2011-02-14 19:52:26 +00:00
terkhen 24983ec629 (svn r22053) -Fix: The land area information window was not updated after a language change. 2011-02-10 20:49:36 +00:00
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
terkhen 679cd3c21b (svn r21803) -Cleanup: Remove unnecessary semicolons. 2011-01-15 15:36:58 +00:00
frosch 6a38f88bd1 (svn r21711) -Change: Display the minimal height of the tile in the LandInfo window instead of the height of the northern corner. So it is more useful for NewGRF and AI developers, and maybe more transparent for players. 2011-01-04 13:58:14 +00:00
alberth 35a8e91d01 (svn r21589) -Codechange: Move PlaceLandBlockInfo() to the right file, introduce a ShowLandInfo() function. 2010-12-21 21:46:19 +00:00
rubidium e1d62dc81b (svn r21555) -Fix [FS#4321]: strings for the query window weren't properly terminated to N characters anymore 2010-12-21 09:29:01 +00:00
rubidium a029b2b83a (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 2010-12-12 14:14:26 +00:00
rubidium 9bc1e35625 (svn r21472) -Fix [FS#4298] (r21459-ish): make sure the query window is only opened once per parent window / callback. 2010-12-11 20:38:37 +00:00
rubidium 66c7f00b60 (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 bbaa262b0d (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 2010-12-05 22:21:37 +00:00
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium 999246f63e (svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu 2010-11-19 13:24:32 +00:00
yexo 178b35d555 (svn r20940) -Fix (r20928): switch to the normal alphabet where 'b' comes before 'p' 2010-10-16 06:14:24 +00:00
yexo 8f9ae44a67 (svn r20928) -Update: we have a new developer 2010-10-15 18:32:25 +00:00