summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
AgeCommit message (Collapse)Author
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of ↵alberth
the derived class.
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-03(svn r17058) -Codechange: magic numbers removal.belugas
Two values used intead of just one, as it gives more possibilities to those who dare...
2009-08-03(svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to drawrubidium
2009-08-03(svn r17052) -Codechange: move state changes out of OnPaint for the graph ↵rubidium
windows
2009-08-03(svn r17051) -Codechange: make the graph legend window use nested widgetsrubidium
2009-08-02(svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph keyrubidium
2009-07-16(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all ↵smatz
valid CargoSpecs
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-15(svn r16837) -Codechange: Collect largest used index while constructing ↵alberth
nested widget tree.
2009-05-31(svn r16488) -Codechange [FS#2941]: Use widget numbers of base grap window ↵alberth
and cargo payment window in the window handling code (erikjanp)
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-26(svn r16157) -Fix: wrong truncation of refit cost/graph x labels because ↵rubidium
they were multiline strings being drawn using DrawString instead of DrawStringMultiLine.
2009-04-25(svn r16141) -Codechange: Adding nested widgets to remaining graph windows.alberth
2009-04-25(svn r16139) -Codechange: Adding/completing widget number enums of several ↵alberth
graph windows.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-09(svn r16003) -Codechange: Replaced magic widget number constant with ↵alberth
enumerated value in graph legend window.
2009-04-09(svn r16002) -Codechange: Added nested widgets for company league windowalberth
2009-04-09(svn r16001) -Codechange: Added nested widgets to cargo payment rates windowalberth
2009-04-04(svn r15952) -Codechange: Added nested widgets to operating profit, income, ↵alberth
delivered cargo, and company value windows.
2009-04-03(svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tipalberth
2009-03-22(svn r15812) -Codechange: use the new DrawString API in another set of GUIsrubidium
2009-03-21(svn r15791) -Codechange: remove the *RightAligned part of the old text ↵rubidium
drawing API.
2009-03-21(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.rubidium
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-12(svn r15457) -Fix: typo in stringid.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15423) -Codechange: split widget related types to their own header and ↵rubidium
add a bit of type strictness.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-12-24(svn r14735) -Codechange: remove a bit of bit-waste in the map array ↵rubidium
(without changing the map array) and make the CompanyIDs contiguous. -Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-23(svn r14732) -Codechange: replace some magic number with less magic ↵rubidium
constants and use the proper type for a few variables.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-02(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively ↵rubidium
causing the payment graph to show the wrong data.
2008-08-07(svn r14011) -Codechange: not required to define an enum which was just the ↵belugas
representation of another. If you want to customize it more easily, why not a simple const of said enum value?
2008-08-04(svn r13994) -Codechange: replace a few rogue magic numbers with Colours ↵belugas
enum values
2008-07-30(svn r13883) -Codechange: Replace numbers with Colours enum on graph guibelugas
2008-07-30(svn r13882) -Codechange: Replace widget numbers with appropriate enumsbelugas
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-06-15(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for ↵skidd13
CompanyLeagueWindow
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-18(svn r13156) -Codechange: make classes of the GraphWindows.rubidium