Commit Graph

158 Commits (605f6d0ed3c81a77d533f3db40ed50350d57536c)

Author SHA1 Message Date
yexo 1ec328f725 (svn r20201) -Feature [FS#3926]: add several new hotkeys to the global hotkey list and to the order windows. None of them has a default keybinding. 14 years ago
yexo 2828f36aa4 (svn r20200) -Fix [FS#3930]: terraform and extra viewport hotkeys didn't work in the scenario editor (jawsper) 14 years ago
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
yexo 6997637208 (svn r20075) -Feature: customizable hotkeys for the main toolbar in the scenario editor 14 years ago
yexo 19f86951d9 (svn r20073) -Feature: customizable hotkeys for the road toolbar 14 years ago
yexo 26be68ae98 (svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
14 years ago
yexo 9b66684b81 (svn r20068) -Feature: customizable hotkeys for the rail toolbar 14 years ago
yexo ddf11b7d3f (svn r20065) -Feature: customizable hotkeys for the main toolbar 14 years ago
alberth 22b9bc5157 (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 14 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium c72e2dde60 (svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets. 14 years ago
frosch 2e90f7f8b9 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 14 years ago
peter1138 ef8deb2edd (svn r19431) -Codechange: Append rail type speed limit (if set) to rail type selection list, and toolbar title. 14 years ago
terkhen bf2c06bedb (svn r19397) -Add: Enter the starting year at the scenario editor by clicking at the date panel. 15 years ago
alberth 33a96b5ef3 (svn r19132) -Codechange: No need to end a line with ;;. 15 years ago
terkhen 2329eacfe8 (svn r19076) -Codechange: Move graph functions to their own header. 15 years ago
terkhen b9f06f3f29 (svn r19062) -Codechange: Move smallmap related functions to their own header. 15 years ago
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium ebe99fd493 (svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company. 15 years ago
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