Commit Graph

133 Commits

Author SHA1 Message Date
frosch b4626547b5 (svn r18306) -Codechange: Remove the need for SETX from checkboxish menu items. 2009-11-27 16:20:56 +00:00
frosch a37ca47882 (svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT). 2009-11-27 16:18:03 +00:00
rubidium bd39a3b4c4 (svn r18289) -Codechange: if using RTL draw the toolbar in the reverse direction so the buttons overlap 'nicely' 2009-11-25 21:30:45 +00:00
smatz f0c64208cf (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 2009-11-24 21:18:11 +00:00
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
rubidium fb168e25ad (svn r18261) -Codechange: center the company icons in the toolbar dropdowns 2009-11-23 20:14:42 +00:00
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
alberth 777d5ce12e (svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays. 2009-11-20 20:10:06 +00:00
rubidium 0fc733f3a0 (svn r18165) -Codechange: make company dropdowns RTL aware 2009-11-18 12:31:48 +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 95af4f40f3 (svn r18108) -Fix (r17986): crash when clicking just 'outside' of the date panel 2009-11-15 20:16:51 +00:00
rubidium aeb9f8e715 (svn r18092) -Codechange: remove support for the unnested widgets 2009-11-15 13:36:30 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium cbeba59fc2 (svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed 2009-11-09 17:20:48 +00:00
rubidium c2221885f4 (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 2009-11-09 09:59:35 +00:00
rubidium 7f8a062f3f (svn r17986) -Codechange: make the scenario 'main' toolbar nested. Also make it implement the 'switch' toolbar feature when it gets really small. 2009-11-06 20:34:43 +00:00
rubidium 1000445382 (svn r17985) -Codechange: make the toolbar container support non-resizable widgets and subclassing of itself. 2009-11-06 20:32:15 +00:00
rubidium 8678730ce3 (svn r17973) -Fix: 'save' toolbar button didn't change when clicking it
-Fix: wrong widgets (e.g. finances and company) could be visually disabled, based on the state of the zoom in/out buttons. However, they were still clickable
-Codechange: make the main toolbar a nested window
2009-11-04 20:02:14 +00:00
rubidium 32b568a7e9 (svn r17971) -Codechange: make the code of the toolbar more uniform; give the switch bar a tooltip and unify the naming of sprites. 2009-11-04 18:28:59 +00:00
rubidium b2946819e4 (svn r17970) -Codechange: some coding style / improvement of constant usage 2009-11-04 15:50:14 +00:00
rubidium fd29b7b526 (svn r17969) -Codechange: use the toolbar switch button lowered state as a way to tell which of the configurations it's showing 2009-11-04 15:49:27 +00:00
smatz 090c762921 (svn r17938) -Feature: non-automatic screenshot name can be entered in console 2009-11-01 18:15:35 +00:00
rubidium ca0521f89f (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 2009-10-24 14:53:55 +00:00
rubidium 2b7d09b73e (svn r17748) -Fix: crash when right clicking on the 'toggle' toolbar button 2009-10-09 17:35:01 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
smatz 15511678e3 (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 2009-09-21 18:16:00 +00:00
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +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
frosch 734edc178d (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. 2009-09-13 17:37:47 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
alberth 118d5e9fac (svn r17192) -Fix (r17175): Buttons in the toolbar of the scenario editor did not raise again. 2009-08-15 20:33:38 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
rubidium 36a28fe3d2 (svn r16951) -Change: order the strings in the options dropdown slightly more logical 2009-07-25 11:02:15 +00:00
rubidium 65d4d8b46c (svn r16949) -Codechange: unify the way the DisplayOption enums are written 2009-07-25 10:54:42 +00:00
rubidium e9bc557b2a (svn r16930) -Codechange: more StringID name unification and grouping 2009-07-23 19:31:50 +00:00
smatz da57fe63f3 (svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool 2009-06-01 14:36:36 +00:00
smatz af07333c78 (svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open 2009-05-26 11:57:52 +00:00
smatz 10d1ef5447 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 2009-05-22 15:23:47 +00:00
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 2009-05-17 01:00:56 +00:00
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 2009-05-16 23:34:14 +00:00
rubidium bdbbe3a09b (svn r16321) -Fix (r5946): in the scenario editor change the (starting) game year of the scenario, not the (starting) game year for new games/scenarios. 2009-05-16 18:58:15 +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
rubidium 329cabab4f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 2009-04-19 10:31:30 +00:00
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00
glx 9fcff01850 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 2009-03-21 20:06:00 +00:00
rubidium 93fe44a3c5 (svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier. 2009-03-21 19:31:47 +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