window.c
Sat, 07 Oct 2006 14:30:13 +0000 bjarni (svn r6680) -Codechange r6679: [train build window] only generate the list when the window data is invalidated or the window is generated, not on each redraw
Fri, 06 Oct 2006 21:30:09 +0000 glx (svn r6671) -Fix r6670: typo :P
Fri, 06 Oct 2006 21:27:23 +0000 glx (svn r6670) -Fix r6669: SetWindowWidgetsDisableState() should disable widgets, not hide them
Fri, 06 Oct 2006 21:10:14 +0000 glx (svn r6669) -Add: vararg functions to set hidden/disabled/lowered state of multiple widgets in one call
Fri, 06 Oct 2006 01:33:27 +0000 belugas (svn r6661) Feature: Windows are not restricted to 32 widget items anymore.
Thu, 05 Oct 2006 12:59:28 +0000 bjarni (svn r6651) -Coding feature: added the windowevent WE_INVALIDATE_DATA
Tue, 03 Oct 2006 20:16:20 +0000 belugas (svn r6631) -Codechange: Use accessors for click_state.
Sat, 23 Sep 2006 02:39:24 +0000 belugas (svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
Sat, 02 Sep 2006 20:09:16 +0000 bjarni (svn r6345) -Codechange: AllocateWindowDescFront() now ensures that window_number is set before calling the WE_CREATE event
Mon, 21 Aug 2006 14:59:58 +0000 truelight (svn r6038) -Codechange: move mousewheel code to event WE_MOUSEWHEEL instead of a general function that handles that
Mon, 21 Aug 2006 14:34:59 +0000 truelight (svn r6036) -Codechange: do not handle SCROLL in a central function, but let windows handle them theirself. Added WE_SCROLL for this.
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Wed, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Mon, 03 Apr 2006 09:07:21 +0000 celestar (svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
Mon, 06 Feb 2006 09:18:04 +0000 tron (svn r3564) Several smaller changes:
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Tue, 24 Jan 2006 18:08:04 +0000 Darkvater (svn r3425) - Fix: Followup to r3421. Correctly reset the TileHighLightData structure to prevent crashes in all the other cases where it is not guarded against sufficiently
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Thu, 05 Jan 2006 12:00:38 +0000 tron (svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2)
Sat, 24 Dec 2005 15:01:17 +0000 tron (svn r3336) byte -> WindowClass, uint16 -> WindowNumber
Tue, 29 Nov 2005 22:04:02 +0000 peter1138 (svn r3247) - Fix: "[ 1335580 ] sticky windows not sticky anymore"
Sat, 19 Nov 2005 12:37:28 +0000 tron (svn r3222) -Feature: Right-Click-Scrolling optionally moves in the opposite direction (Requested by manx)
Fri, 18 Nov 2005 20:28:55 +0000 peter1138 (svn r3217) Fix issue with resizing stepped windows introduced in revision 3181.
Tue, 15 Nov 2005 09:00:02 +0000 tron (svn r3185) const
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 13 Nov 2005 14:54:09 +0000 tron (svn r3173) Use the trinary operator and switch to improve readability
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Fri, 04 Nov 2005 14:01:44 +0000 tron (svn r3133) - static, const
Sun, 23 Oct 2005 13:04:44 +0000 tron (svn r3078) Some more stuff, which piled up:
Sat, 15 Oct 2005 11:06:54 +0000 tron (svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list
Sun, 18 Sep 2005 20:56:44 +0000 Darkvater (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Thu, 28 Jul 2005 08:49:29 +0000 celestar (svn r2734) -Feature: The Main Toolbar Dropdown Menu can now display disabled items
Tue, 26 Jul 2005 19:34:03 +0000 tron (svn r2720) Remove unused declarations and definitions
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 19:36:43 +0000 tron (svn r2664) Remove depedency on player.h from variables.h
Fri, 08 Jul 2005 22:25:24 +0000 tron (svn r2535) Tabs
Fri, 08 Jul 2005 00:14:19 +0000 Darkvater (svn r2530) - Fix: [ 1219829 ] Mouse-wheel crashes OTTD. Widget detection failed to detect the most-right and most-bottom pixels of a widget. If scrollwheel is used on a not-found widget (such as the background of the toolbar), it will now fail correctly (glx)
Sat, 25 Jun 2005 06:15:43 +0000 tron (svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Sat, 28 May 2005 17:01:26 +0000 Darkvater (svn r2373) - CodeChange: don't redraw the window upon a user-based dirty request if the requested widget is invisible or otherwise not visible (type WWT_EMPTY)
Mon, 02 May 2005 17:14:31 +0000 Darkvater (svn r2248) - Fix (regression): fix crashing of game when joining a dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash)
Sun, 01 May 2005 19:37:20 +0000 Darkvater (svn r2241) - Fix: [ 1190625 ] Changing mapsize crashes game with highlighting. Without shutting down OpenTTD some possibly 'invalid' data in TileHighLightData (_thd) is left behind; reset it.
Thu, 07 Apr 2005 00:59:54 +0000 Darkvater (svn r2161) - Fix: When resizing a window, the button is also visibly depressed
Tue, 05 Apr 2005 21:03:30 +0000 darkvater (svn r2152) - Fix: Chatbar in MP games is now on-top of the news window.
Mon, 04 Apr 2005 19:14:40 +0000 Darkvater (svn r2149) - Fix (Regression): [ 1175877 ] Inputbox of savegamedialog did not have "focus", keyinput went to game. A quick fix for the horrid inputkey-handling.
Mon, 04 Apr 2005 16:47:03 +0000 matthijs (svn r2146) - Fix: [ 1175973 ] Crash if any key is pressed in startup (pkirchhofer)
Sun, 03 Apr 2005 13:35:43 +0000 Darkvater (svn r2141) - Fix: Keys now hopefully only activate the right windows. If console/querybox/chatbox is open, all input goes there, if closed to game itself.
Sat, 26 Mar 2005 04:16:39 +0000 pasky (svn r2074) MouseLoop -> InputLoop(), factor out a real mouse-specific MouseLoop from the new InitLoop() (more in the spirit of HandleKeypress()).
Wed, 09 Mar 2005 19:48:20 +0000 Darkvater (svn r1978) - Fix: Plug some memleaks; thanks Valgrind
Tue, 22 Feb 2005 14:52:20 +0000 Darkvater (svn r1901) - Fix: unwanted behaviour of the savegame dialog, as well as a bug with a sloppy termination of a string. When any editbox is open, scrolling is disabled. If any new types of editboxes come up, please use SET/CLRBIT of _no_scroll with its unique identifier (ttd.h)
Sat, 05 Feb 2005 15:58:59 +0000 tron (svn r1803) Move debugging stuff into files of it's own
Sun, 23 Jan 2005 13:42:26 +0000 darkvater (svn r1613) -Fix: WE_CLICK event is not called on default actions. If special action is needed, use the other events like WE_RESIZE or WE_DESTROY, etc.
Sun, 23 Jan 2005 13:09:35 +0000 tron (svn r1610) Remove trailing whitespace (last time ever, i hope)
Sun, 23 Jan 2005 08:34:39 +0000 tron (svn r1602) -Fix: [1107514] When resizing a window, make sure the correct window receives the click