window.c
Sat, 07 Jul 2007 18:01:26 +0000 rubidium (svn r10467) [0.5] -Backport from trunk (r10406, r10465): 0.5
Thu, 28 Jun 2007 14:31:46 +0000 rubidium (svn r10374) [0.5] -Backport from trunk (r10333, r10336, r10337, r10345, 10346, 10368): 0.5
Thu, 08 Feb 2007 11:03:00 +0000 rubidium (svn r8627) [0.5] -Backport from trunk (8409, 8420 + 8421, 8533, 8612): 0.5
Wed, 17 Jan 2007 01:02:51 +0000 Darkvater (svn r8179) -Backport from trunk (r8065, r8101, r8119, r8123, r8140, r8150): 0.5
Thu, 07 Dec 2006 12:57:53 +0000 Darkvater (svn r7414) -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag
Thu, 07 Dec 2006 00:47:35 +0000 Darkvater (svn r7409) -Codechange: Make the ResizeWindow function also available outside of window.c. This makes
Mon, 04 Dec 2006 13:57:04 +0000 rubidium (svn r7356) -Codechange: replace 'for (i = 0, wi = w->widget; wi->type != WWT_LAST; i++, wi++)' type for loops with 'for (i = 0; i < w->window_count; i++) { wi = &w->widget[i];'-type for loops for better readability.
Mon, 04 Dec 2006 13:46:03 +0000 rubidium (svn r7355) -Codechange: replace 'for (i = 0; w->widget[i].type != WWT_TYPE; i++)'-type for loops with 'for (i = 0; i < w->widget_count; i++)'-type for loops
Mon, 04 Dec 2006 13:36:27 +0000 rubidium (svn r7352) -Codechange: add widget_count parameter to the window.
Fri, 01 Dec 2006 00:09:13 +0000 Darkvater (svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call
Tue, 21 Nov 2006 22:10:52 +0000 Darkvater (svn r7233) -Codechange: get rid of three console.c globals
Sun, 19 Nov 2006 22:24:18 +0000 Darkvater (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron
Sat, 18 Nov 2006 17:07:05 +0000 Darkvater (svn r7207) -Codechange: Pass the (unchanged) windowpointer to the console window and do it only once.
Sat, 18 Nov 2006 16:47:02 +0000 Darkvater (svn r7205) -Fix [FS#350, SF#1560913]: Window allocation and deletion messed with the actual window
Sat, 18 Nov 2006 13:54:33 +0000 Darkvater (svn r7202) -Codechange: Move _viewports and _active_viewports local to viewport.c and have them
Sat, 18 Nov 2006 00:44:09 +0000 Darkvater (svn r7201) -Codechange: Use goto's to loop _windows when there is a change you need to start over
Sat, 18 Nov 2006 00:14:43 +0000 Darkvater (svn r7200) -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById
Thu, 16 Nov 2006 22:05:33 +0000 peter1138 (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
Wed, 15 Nov 2006 21:01:19 +0000 Darkvater (svn r7157) -Fix [FS#221, SF1168820]: Some mouse events possibly lost under high CPU load, handle
Wed, 15 Nov 2006 19:49:16 +0000 Darkvater (svn r7156) -Codechange: Remove obsolete variable, localize global variable, use GB and change logic
Wed, 15 Nov 2006 19:35:52 +0000 Darkvater (svn r7153) -Fix [FS#279]: Some keyboard events possibly lost under high CPU load, handle
Mon, 13 Nov 2006 20:33:51 +0000 bjarni (svn r7138) -Fix: [vehicle list windows] fixed a rare crash where having some (not all) vehicle list windows open for a player, that goes bankrupt would crash the game
Sat, 11 Nov 2006 10:12:00 +0000 Darkvater (svn r7130) -Codechange: Handle the positioning of windows through the desc->left/top settings with
Sat, 11 Nov 2006 09:47:44 +0000 Darkvater (svn r7129) -Codechange: Get rid of a global variable that only sets a window's number.
Tue, 07 Nov 2006 12:51:34 +0000 Darkvater (svn r7092) -Codechange: Add function to send a window message to a whole class of windows,
Fri, 27 Oct 2006 13:48:56 +0000 Darkvater (svn r6961) -Codechange: Remove relic from r212 WWT_NODISTXTBTN which was originally used to not
Tue, 24 Oct 2006 14:15:17 +0000 Darkvater (svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel,
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: