summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-09-22(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom ↵peter1138
level.
2014-06-10(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.frosch
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-23(svn r26422) -Fix [FS#5946]: Some road constructions used the rail sound ↵frosch
effect. Rename the enum items to properly reflect their purpose.
2014-02-24(svn r26375) -Fix [FS#5929]: Station sizes > 8 were always allowed. (adf88)frosch
2013-11-24(svn r26088) -Fix (r26086): Windows compilationrubidium
2013-11-24(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵rubidium
dropdowns
2013-11-12(svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in ↵rubidium
multiplayer (adf88)
2013-10-28(svn r25929) -Fix [FS#5733]: Position signal sprites size-aware in the ↵frosch
signal GUI, that is: Center sprites horizontally, and align the vertical reference point at some baseline which centers the tallest sprite.
2013-10-28(svn r25928) -Fix [FS#5733]: Reserve enough space for two digits of signal ↵frosch
density. (adf88)
2013-10-28(svn r25927) -Fix [FS#5733]: Consider size of signal sprites for sizing the ↵frosch
signal GUI. (based on patch by adf88)
2013-10-12(svn r25854) -Change: Display the cost to upgrade a bridge at the end of ↵zuu
bridge that was clicked and not the other end, which could be outside of the screen in some cases (cirdan, LordAro)
2013-06-30(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of ↵frosch
rows and columns from the resize step size.
2013-06-30(svn r25535) -Fix [FS#5584]: Initialise scrollbars before FinishInitNested, ↵frosch
so their capacity is set via OnResize.
2013-06-30(svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets ↵frosch
depend on their number of rows, since that changes when resizing the window.
2013-06-30(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
2013-06-25(svn r25464) -Fix: Hide default size button in non-newstation rail-station ↵frosch
picker since it is not resizeable anyway.
2013-06-15(svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList.frosch
2013-06-15(svn r25412) -Codechange: Make use of Window::OnHotkeyfrosch
2013-06-15(svn r25410) -Codechange: Put all hotkeys of a window into a static ↵frosch
HotkeyList member.
2013-06-15(svn r25408) -Codechange: Simplify hotkeys by removing unused stuff.frosch
2013-06-15(svn r25401) -Fix-ish: Add missing includes with prototypes to functions ↵frosch
declared in the cpp file.
2013-06-11(svn r25395) -Fix [FS#5596]: The size of station construction windows could ↵frosch
oscillate when resizing the window moved the mouse into the window.
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-03-04(svn r25064) -Fix [FS#5472]: Make sizes of the station preview identical ↵planetmaker
list and direction selection identical in the station build window
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-09-01(svn r24507) -Fix [FS#5285]: The mousewheel did not work in the build ↵frosch
waypoint window. (sbr)
2012-07-01(svn r24367) -Feature: [NewGRF] Customisable signals for rail types.michi_cc
2012-04-22(svn r24167) -Codechange: Rename NewGRFClass::GetCount() to ↵frosch
NewGRFClass::GetClassCount()
2012-04-22(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) ↵frosch
into non-static members GetSpec(uint) and GetSpecCount().
2012-04-22(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in ↵frosch
favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-04-17(svn r24144) -Change [FS#4605]: Reset 'convert signal' button when signal ↵michi_cc
GUI is closed. (yorick)
2012-04-17(svn r24130) -Feature(ette): [FS#2314]: Deselect 'remove' button when ↵michi_cc
changing signal types in the GUI. (Alberth)
2012-04-17(svn r24129) -Feature [FS#3660]: Option to minimise signal distance when ↵michi_cc
dragging over obstacles. (adf88)
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23601) -Fix: fix the conflict in window numbertruebrain
2011-12-16(svn r23560) -Codechange: final pieces of consistency through widgetstruebrain
2011-12-16(svn r23556) -Codechange: unify rail widget naming and document themrubidium
2011-12-16(svn r23529) -Codechange: make all widget enum values unique and make them ↵truebrain
include the files they need to compile
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-11-26(svn r23338) -Feature [FS#4841]: diagonal dragging the rail conversion tool ↵rubidium
when pressing CTRL
2011-11-26(svn r23330) -Fix [FS#4853] (r23316): alignment of signals in the signals ↵rubidium
menu was incorrect
2011-11-08(svn r23147) -Change: [NewGRF v8] Unify the return values of boolean ↵frosch
callbacks, and check the results for validity.
2011-08-04(svn r22714) -Fix: If there's no point in opening the rail toolbar, don't ↵planetmaker
open it for people who use hotkeys either rather than only for those using GUI elements
2011-05-14(svn r22459) -Doc: Typo fixes and doxygen markup improvements.alberth