summaryrefslogtreecommitdiff
path: root/src/company_gui.cpp
AgeCommit message (Collapse)Author
2019-02-02Fix: Make livery window resize properly if GUI scale changes whilst open.Peter Nelson
2019-02-01Fix 23960d0f2c: Scrollbar was broken for non-group liveries.Peter Nelson
Simplify how list position is determined by using existing functions. Also rename livery_height -> rows and SetLiveryHeight() -> SetRows(), as height implies pixels.
2019-01-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
2019-01-27Change: For consistency, add company name to colour scheme window.Peter Nelson
2019-01-27Fix: Ignore company colour selection when showing different company's colour ↵Peter Nelson
scheme.
2019-01-11Codechange: Fix typo in variable name: pices -> pieces (#7033)nikolas
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
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)
2015-10-30(svn r27427) -Fix: Use the NewGRF railtype sorting order in the ↵frosch
infrastructure window.
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-09-28(svn r26935) -Codechange: Fit company colour selection drop down list to UI ↵peter1138
scale.
2014-09-20(svn r26856) -Codechange: Ensure company face widgets can fit company face.peter1138
2014-04-27(svn r26527) -Codechange: Rename STR_MAPGEN_RANDOM to STR_FACE_RANDOMfrosch
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-18(svn r26416) -Fix [FS#5947]: Shares button state was not appropriately ↵planetmaker
updated when switching setting or company (frosch)
2013-11-24(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵rubidium
dropdowns
2013-06-30(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
2013-06-29(svn r25517) -Fix-ish (r25515) / Feature-ish [FS#5623]: properly align the ↵rubidium
statistics as well when the infra sharing is turned on
2013-06-29(svn r25516) -Codechange: reduce code duplication in infrastructure ↵rubidium
statistics window
2013-06-29(svn r25515) -Feature [FS#5595]: right align the infrastructure statisticsrubidium
2013-06-23(svn r25442) -Codechange: move height and ascender information into the ↵rubidium
FontCache instances
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-02-04(svn r24968) -Fix [FS#5379]: company window was not updated when shared were ↵rubidium
enabled/disabled
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-10-31(svn r24655) -Codechange(r18310): Difference between female and male is no ↵alberth
longer needed for tie and earrings (found by botankras)
2012-04-17(svn r24131) -Add [FS#1952]: Ctrl-Clicking to change colour of all colour ↵michi_cc
schemes at once. (Roest)
2012-02-11(svn r23931) -Change: Scale infrastructure cost of rail tracks by the total ↵michi_cc
number of all tracks and not independently for each rail type.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
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-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-12-04(svn r23428) -Fix (r23415): Initial size of the infrastructure details ↵michi_cc
windows was sometimes too small.
2011-12-04(svn r23424) -Change: Make the company GUI somewhat smaller if there are no ↵frosch
shareholders.
2011-12-04(svn r23420) -Change: Put the manager name directly under the picture ↵frosch
instead of vertically centering it.
2011-12-03(svn r23415) -Feature: Infrastructure maintenance costs.michi_cc
2011-12-03(svn r23410) -Add: A window with a detailed overview over the infrastructure ↵michi_cc
of a company.
2011-11-26(svn r23331) -Fix [FS#4851] (rCS, r148): abort building/moving HQ when ↵rubidium
clicking on the button again, just like when building rail, stations, etc (sbr)
2011-10-11(svn r23022) -Codechange: Support resized checkbox and square icons in ↵peter1138
company colour selection window.
2011-10-03(svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP ↵frosch
statistics instead.
2011-07-02(svn r22619) -Fix [FS#4662]: Consider the size of the vehicle sprite for the ↵frosch
lineheight in the company GUI. This also makes the widget containing the sprite not skip drawing it, if the bounds of the widget are outside of the drawing area though the sprite actually needs drawing.
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-05-02(svn r22413) -Document: even more stuffrubidium
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2010-12-05(svn r21412) -Codechange: limit company name by amount of characters, not bytesrubidium