Commit Graph

45 Commits

Author SHA1 Message Date
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium 4a970202a9 (svn r17947) -Codechange: make the statusbar, chat input and news window know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used 2009-11-02 10:15:48 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium 1666f7a1a9 (svn r17691) -Codechange: make the status bar nested 2009-10-04 15:38:16 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium e9bc557b2a (svn r16930) -Codechange: more StringID name unification and grouping 2009-07-23 19:31:50 +00:00
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 2009-05-16 23:34:14 +00:00
rubidium 095a30efb0 (svn r16286) -Change: make the scrolling ticker RTL/LTR aware (scroll in different directions) 2009-05-12 22:28:18 +00:00
rubidium 31272407f5 (svn r16284) -Codechange: replace some magic numbers with the left/right/top/bottom of a widget 2009-05-12 20:01:39 +00:00
rubidium c96dac5443 (svn r16283) -Fix [FS#2890]: news ticker truncated too early 2009-05-12 19:59:33 +00:00
rubidium 2664f2a2d9 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-05-06 15:06:57 +00:00
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
alberth ab06ed241f (svn r15929) -Codechange: Added nested widgets for statusbar. 2009-04-03 12:39:52 +00:00
alberth 27a13ec67d (svn r15928) -Codechange: Moving statusbar widget numbers outside StatusBarWindow 2009-04-03 12:38:18 +00:00
smatz 47036cb49e (svn r15863) -Fix (r15791): company money and game date strings were swapped on the statusbar 2009-03-26 22:13:00 +00:00
rubidium f11300d1f9 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 2009-03-21 22:46:17 +00:00
rubidium 69decac406 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 2009-03-21 22:22:00 +00:00
rubidium 9003641095 (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +00:00
glx 9fcff01850 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 2009-03-21 20:06:00 +00:00
rubidium 8a758beec3 (svn r15782) -Codechange: replace some calls to the all text drawing API to the new one. 2009-03-21 19:10:26 +00:00
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
yexo 6dd3703a4c (svn r15600) -Fix (r0): Replace a newline in a news message by four spaces before drawing it in the statusbar. 2009-03-02 21:01:19 +00:00
rubidium 861e9cefb3 (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 2009-02-09 01:22:29 +00:00
smatz c3839648f7 (svn r14948) -Codechange: enumification and more comments in the statusbar code 2009-01-09 23:49:46 +00:00
smatz 5fc7fe9648 (svn r14940) -Fix: let the statusbar know the current news are invalid or bad things will happen 2009-01-09 20:42:17 +00:00
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
belugas c5cecdd2e3 (svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis. 2008-08-02 02:28:17 +00:00
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 2008-05-29 15:13:28 +00:00
rubidium 4625695653 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 2008-05-17 12:48:06 +00:00
rubidium 1a2413d59e (svn r13116) -Codechange: make a window class of the statusbar window. 2008-05-16 07:24:21 +00:00
rubidium 7491b792e2 (svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar. 2008-05-16 07:08:04 +00:00
rubidium d0c79e1164 (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. 2008-05-13 10:17:04 +00:00
rubidium 935434333b (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 2008-05-10 12:30:27 +00:00
rubidium cd3dda5c0c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 2008-05-08 13:29:35 +00:00
rubidium 2eef026fe3 (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 2008-05-08 11:31:41 +00:00
rubidium 402a1e24ba (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 2008-05-06 22:17:12 +00:00
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 2008-05-06 22:08:18 +00:00
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
rubidium 8c2c7c27ea (svn r12768) -Codechange: move the statusbar GUI to it's own file. 2008-04-18 15:13:45 +00:00