summaryrefslogtreecommitdiff
path: root/src/engine_gui.cpp
AgeCommit message (Collapse)Author
2019-03-26Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + nHenry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-01-29Fix #6584: text layout problem in engine preview dialogNikolas Nyby
With language set to German, there was a problem in this dialog box due to the long strings in this language. It looks like the call to `GetStringHeight()` here is using `r.top` to help calculate the max width, rather than `r.left`.
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-07-11(svn r27889) -Change: Do not cancel headquarter construction and ↵frosch
engine-preview-query when shift-clicking (adf88)
2017-03-18(svn r27802) -Add: Display aircraft type in engine preview window (patch by ↵alberth
Samu)
2017-03-18(svn r27800) -Change: Rename long aircraft string names of the preview windowalberth
2014-09-28(svn r26934) -Fix (r26933): Don't statically initialise non-static variables.peter1138
2014-09-28(svn r26933) -Codechange: Resize engine preview window to fit vehicle sprite.peter1138
2014-09-18(svn r26848) -Codechange: Unduplicate summing of cargo capacities in ↵alberth
GetTotalCapacityOfArticulatedParts.
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
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.
2012-12-09(svn r24811) -Add: Close engine preview window when another client accepts it.frosch
2012-12-09(svn r24809) -Feature(ette) [FS#2632]: Consider engine preview windows ↵frosch
always sticky, so non-shift mass-closure does not affect them.
2012-03-24(svn r24058) -Fix [FS#5124]: Wrong numbering of string parameters.frosch
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-16(svn r23531) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-13(svn r23504) -Feature: Aircraft range.michi_cc
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-07-02(svn r20043) -Codechange: Introduce vertical alignment for ↵alberth
DrawStringMultiLine().
2010-03-06(svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort ↵terkhen
for road vehicles.
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-30(svn r18963) -Codechange: Give AccelerationModel a generical name.terkhen
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-15(svn r18818) -Fix [FS#3526] (r18766): some train acceleration type ↵rubidium
conversions were missed
2010-01-07(svn r18752) -Codechange: unduplify some coderubidium
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-28(svn r18324) -Codechange: there's no need for a default size when the window ↵rubidium
isn't resizable
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-24(svn r18280) -Codechange: remove widget indices that are not needed for ↵rubidium
custom drawing/handling input
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
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-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-16(svn r18121) -Codechange: pass the maximum left/right location to the ↵rubidium
Draw*Engine functions
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-08(svn r18019) -Codechange: make the 'engine preview' window nestedrubidium
2009-10-31(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail ↵frosch
consistent. Now always the cargo class decides.
2009-10-27(svn r17891) -Feature [FS#1619]: Show maximum tractive effort in the ↵rubidium
'exclusive test'/'early offer'/'engine preview' window
2009-10-06(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.frosch
2009-10-06(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when ↵frosch
a Engine * is already present.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium