Commit Graph

138 Commits (48df0d4e06ee05e56793cc6e638d649126032d4e)

Author SHA1 Message Date
rubidium a6146f5f51 (svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested. 15 years ago
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 458c73aecb (svn r18318) -Codechange: add an enum value for manual window placement 15 years ago
frosch bdd0f8762d (svn r18308) -Codechange: Use GetSpriteSize() instead of hardcoded width in dropdowns with company icon. 15 years ago
frosch 5c6b7fd88d (svn r18307) -Fix: some coding style. 15 years ago
frosch b4626547b5 (svn r18306) -Codechange: Remove the need for SETX from checkboxish menu items. 15 years ago
frosch a37ca47882 (svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT). 15 years ago
rubidium bd39a3b4c4 (svn r18289) -Codechange: if using RTL draw the toolbar in the reverse direction so the buttons overlap 'nicely' 15 years ago
smatz f0c64208cf (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 15 years ago
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
rubidium fb168e25ad (svn r18261) -Codechange: center the company icons in the toolbar dropdowns 15 years ago
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth 777d5ce12e (svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays. 15 years ago
rubidium 0fc733f3a0 (svn r18165) -Codechange: make company dropdowns RTL aware 15 years ago
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 95af4f40f3 (svn r18108) -Fix (r17986): crash when clicking just 'outside' of the date panel 15 years ago
rubidium aeb9f8e715 (svn r18092) -Codechange: remove support for the unnested widgets 15 years ago
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
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 15 years ago
rubidium c2221885f4 (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago
rubidium 7f8a062f3f (svn r17986) -Codechange: make the scenario 'main' toolbar nested. Also make it implement the 'switch' toolbar feature when it gets really small. 15 years ago
rubidium 1000445382 (svn r17985) -Codechange: make the toolbar container support non-resizable widgets and subclassing of itself. 15 years ago
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
15 years ago
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. 15 years ago
rubidium b2946819e4 (svn r17970) -Codechange: some coding style / improvement of constant usage 15 years ago
rubidium fd29b7b526 (svn r17969) -Codechange: use the toolbar switch button lowered state as a way to tell which of the configurations it's showing 15 years ago
smatz 090c762921 (svn r17938) -Feature: non-automatic screenshot name can be entered in console 15 years ago
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. 15 years ago
rubidium 2b7d09b73e (svn r17748) -Fix: crash when right clicking on the 'toggle' toolbar button 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 15511678e3 (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 15 years ago
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 15 years ago
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
frosch 734edc178d (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
alberth 118d5e9fac (svn r17192) -Fix (r17175): Buttons in the toolbar of the scenario editor did not raise again. 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
rubidium 36a28fe3d2 (svn r16951) -Change: order the strings in the options dropdown slightly more logical 15 years ago
rubidium 65d4d8b46c (svn r16949) -Codechange: unify the way the DisplayOption enums are written 15 years ago
rubidium e9bc557b2a (svn r16930) -Codechange: more StringID name unification and grouping 15 years ago
smatz da57fe63f3 (svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool 15 years ago
smatz af07333c78 (svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open 15 years ago
smatz 10d1ef5447 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 15 years ago
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
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. 15 years ago
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
15 years ago
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. 15 years ago