summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
AgeCommit message (Collapse)Author
2021-04-21Cleanup: Remove unnecessary parameter of GetScrolledRowFromWidget()Peter Nelson
Line height defaults to the resize height of the relevant widget, which is set in all cases. Therefore it is not necessary to specify this value every time. Additionally fixes scrolled padding for the framerate window.
2021-03-11Change: Recolour graph windows to brown (#8700)Tyler Trahan
2021-02-24Change: Improve graph period markings (#8732)Tyler Trahan
2021-02-18Change: Darken graph grid lines for legibility (#8690)Tyler Trahan
2021-01-13Change: darken the background of all graph to increase contrast (#8557)Patric Stout
Now lines like Mauve, Dark Green and Purple are much more visible without hurting the other colours.
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-13Codechange: use std::sort() in GUIListglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-02-23Change: Add scrollbar to cargo legend in cargo payment rates window.Peter Nelson
2019-02-07Fix #5654: (Re)initialise graph GUI on game (re)start (#7191)Gabda
2019-01-11Change: OnGameTick() is only called when not paused.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-11-25Fix #6498: Use int64 for all company rating calculationsNiels Martin Hansen
2018-06-26Change: Increase cargo type limit to 64.PeterN
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-11-25(svn r26116) -Codechange: validate that the number of lines in a graph is ↵rubidium
more than 0
2013-06-01(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all ↵frosch
of them.
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-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-01-20(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed ↵rubidium
the cargo count of the current quarter instead of the last quarter like the tooltip says
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-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-11(svn r23497) -Add: Advanced display setting to control the linewidth in ↵frosch
graphs. (ChillCore)
2011-11-19(svn r23269) -Codechange: rename some control/string codes/IDs to be more ↵rubidium
consistent
2011-10-12(svn r23025) -Codechange: Support resized company colour icon in company key ↵peter1138
window.
2011-09-02(svn r22868) -Change: Resize the company league window according to the ↵planetmaker
company icon's size
2011-05-06(svn r22429) -Add: some constants for specific palette colours used in the GUI.frosch
2011-05-04(svn r22421) -Fix: Replace various references to Windows palette greyscale ↵frosch
indices with the DOS palette indices.
2011-04-02(svn r22292) -Change: Increase the linewidth in plots.frosch
2011-03-13(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.frosch
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-22(svn r21601) -Fix [FS#4323]: company league table used stats from two ↵rubidium
quarters ago instead of last quarter
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-22(svn r21010) -Fix [FS#4102]: the detailed performance rating window would ↵rubidium
occasionally be too narrow. Based on a patch by Krille