Commit Graph

161 Commits

Author SHA1 Message Date
michi_cc
38d9d87434 (svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi) 2010-08-15 23:32:36 +00:00
michi_cc
901a526f8c (svn r20507) -Change: Remove the shortcut hints from the screenshot menu strings (as they're configurable now) and rename "Giant screenshot" to "Whole map screenshot". 2010-08-15 23:32:32 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
yexo
f357bf9674 (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. 2010-07-21 14:28:06 +00:00
yexo
cafe07dde8 (svn r20200) -Fix [FS#3930]: terraform and extra viewport hotkeys didn't work in the scenario editor (jawsper) 2010-07-21 13:11:11 +00:00
rubidium
9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
yexo
721a62e12e (svn r20075) -Feature: customizable hotkeys for the main toolbar in the scenario editor 2010-07-04 11:48:04 +00:00
yexo
1e05ef9480 (svn r20073) -Feature: customizable hotkeys for the road toolbar 2010-07-04 10:57:31 +00:00
yexo
d96aa7abfa (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
2010-07-03 21:43:44 +00:00
yexo
df1a47daf7 (svn r20068) -Feature: customizable hotkeys for the rail toolbar 2010-07-03 20:40:18 +00:00
yexo
2105d5e187 (svn r20065) -Feature: customizable hotkeys for the main toolbar 2010-07-03 19:35:54 +00:00
alberth
c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
rubidium
a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
rubidium
738e71af4a (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. 2010-04-25 16:27:30 +00:00
frosch
a4413f4cf6 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 2010-04-18 14:56:05 +00:00
peter1138
bbfc0a49e5 (svn r19431) -Codechange: Append rail type speed limit (if set) to rail type selection list, and toolbar title. 2010-03-16 06:18:52 +00:00
terkhen
23e2cffebd (svn r19397) -Add: Enter the starting year at the scenario editor by clicking at the date panel. 2010-03-13 10:18:57 +00:00
alberth
e3b24801e2 (svn r19132) -Codechange: No need to end a line with ;;. 2010-02-14 16:31:35 +00:00
terkhen
01f8bc2578 (svn r19076) -Codechange: Move graph functions to their own header. 2010-02-10 15:24:48 +00:00
terkhen
c39a4b22aa (svn r19062) -Codechange: Move smallmap related functions to their own header. 2010-02-08 21:19:41 +00:00
frosch
94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium
7f1bf45c03 (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. 2010-01-11 20:32:32 +00:00
rubidium
0da7a4dc91 (svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested. 2009-12-19 19:21:37 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium
fedb593293 (svn r18318) -Codechange: add an enum value for manual window placement 2009-11-28 13:54:28 +00:00
frosch
119638793b (svn r18308) -Codechange: Use GetSpriteSize() instead of hardcoded width in dropdowns with company icon. 2009-11-27 16:46:17 +00:00
frosch
7900d30c2c (svn r18307) -Fix: some coding style. 2009-11-27 16:35:34 +00:00
frosch
fb10e6a19e (svn r18306) -Codechange: Remove the need for SETX from checkboxish menu items. 2009-11-27 16:20:56 +00:00
frosch
372aa6ff5f (svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT). 2009-11-27 16:18:03 +00:00
rubidium
a14d00c478 (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
f7466979b9 (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
f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
rubidium
919691da86 (svn r18261) -Codechange: center the company icons in the toolbar dropdowns 2009-11-23 20:14:42 +00:00
alberth
5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth
18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
alberth
75e513d5b5 (svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays. 2009-11-20 20:10:06 +00:00
rubidium
8e24df4d45 (svn r18165) -Codechange: make company dropdowns RTL aware 2009-11-18 12:31:48 +00:00
rubidium
8e11cd3a42 (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
d4cbcc145b (svn r18108) -Fix (r17986): crash when clicking just 'outside' of the date panel 2009-11-15 20:16:51 +00:00
rubidium
1f6f15a126 (svn r18092) -Codechange: remove support for the unnested widgets 2009-11-15 13:36:30 +00:00
rubidium
b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium
2396f693a2 (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
b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 2009-11-09 09:59:35 +00:00
rubidium
6be5448536 (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
c4c6ed7df0 (svn r17985) -Codechange: make the toolbar container support non-resizable widgets and subclassing of itself. 2009-11-06 20:32:15 +00:00
rubidium
752c4e30c5 (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
9fc2e8d269 (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
c3243891a4 (svn r17970) -Codechange: some coding style / improvement of constant usage 2009-11-04 15:50:14 +00:00
rubidium
f6e661a3d0 (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