summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
AgeCommit message (Collapse)Author
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-22(svn r20591) -Codechange: make sure _date_fract is set when SetDate is ↵rubidium
called. Some places wouldn't reset _date_fract correctly at all
2010-08-15(svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in ↵michi_cc
screenshot of the visible viewport. (Eddi)
2010-08-15(svn r20507) -Change: Remove the shortcut hints from the screenshot menu ↵michi_cc
strings (as they're configurable now) and rename "Giant screenshot" to "Whole map screenshot".
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-21(svn r20201) -Feature [FS#3926]: add several new hotkeys to the global ↵yexo
hotkey list and to the order windows. None of them has a default keybinding.
2010-07-21(svn r20200) -Fix [FS#3930]: terraform and extra viewport hotkeys didn't ↵yexo
work in the scenario editor (jawsper)
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-04(svn r20075) -Feature: customizable hotkeys for the main toolbar in the ↵yexo
scenario editor
2010-07-04(svn r20073) -Feature: customizable hotkeys for the road toolbaryexo
2010-07-03(svn r20070) -Feature: when none of the open windows handles a keypress, try ↵yexo
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(svn r20068) -Feature: customizable hotkeys for the rail toolbaryexo
2010-07-03(svn r20065) -Feature: customizable hotkeys for the main toolbaryexo
2010-07-02(svn r20043) -Codechange: Introduce vertical alignment for ↵alberth
DrawStringMultiLine().
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-04-25(svn r19723) -Add: a simple sprite alignment helper. It does not store the ↵rubidium
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-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-03-16(svn r19431) -Codechange: Append rail type speed limit (if set) to rail type ↵peter1138
selection list, and toolbar title.
2010-03-13(svn r19397) -Add: Enter the starting year at the scenario editor by ↵terkhen
clicking at the date panel.
2010-02-14(svn r19132) -Codechange: No need to end a line with ;;.alberth
2010-02-10(svn r19076) -Codechange: Move graph functions to their own header.terkhen
2010-02-08(svn r19062) -Codechange: Move smallmap related functions to their own header.terkhen
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-11(svn r18784) -Codechange: make NetworkSend_Command accept a company instead ↵rubidium
of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
2009-12-19(svn r18546) -Codechange: make making the screenshot not asynchronious; just ↵rubidium
do it at the moment it's requested.
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-28(svn r18318) -Codechange: add an enum value for manual window placementrubidium
2009-11-27(svn r18308) -Codechange: Use GetSpriteSize() instead of hardcoded width in ↵frosch
dropdowns with company icon.
2009-11-27(svn r18307) -Fix: some coding style.frosch
2009-11-27(svn r18306) -Codechange: Remove the need for SETX from checkboxish menu items.frosch
2009-11-27(svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT).frosch
2009-11-25(svn r18289) -Codechange: if using RTL draw the toolbar in the reverse ↵rubidium
direction so the buttons overlap 'nicely'
2009-11-24(svn r18281) -Feature: founding towns in-game (based on work by Belugas, ↵smatz
TheJosh, GeekToo, Terkhen and others)
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-23(svn r18261) -Codechange: center the company icons in the toolbar dropdownsrubidium
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth
2009-11-20(svn r18201) -Codechange (r18092): No need anymore for initializing nested ↵alberth
widgets for Widget* arrays.
2009-11-18(svn r18165) -Codechange: make company dropdowns RTL awarerubidium
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-15(svn r18108) -Fix (r17986): crash when clicking just 'outside' of the date panelrubidium
2009-11-15(svn r18092) -Codechange: remove support for the unnested widgetsrubidium
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-09(svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for ↵rubidium
IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-11-06(svn r17986) -Codechange: make the scenario 'main' toolbar nested. Also make ↵rubidium
it implement the 'switch' toolbar feature when it gets really small.
2009-11-06(svn r17985) -Codechange: make the toolbar container support non-resizable ↵rubidium
widgets and subclassing of itself.
2009-11-04(svn r17973) -Fix: 'save' toolbar button didn't change when clicking itrubidium
-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(svn r17971) -Codechange: make the code of the toolbar more uniform; give ↵rubidium
the switch bar a tooltip and unify the naming of sprites.