peter1138
c3204398ab
(svn r18160) -Codechange: The hyphen character may not line up in all fonts, so draw
...
the Y-axis ticks manually.
15 years ago
peter1138
f5f1b864f8
(svn r18159) -Codechange: Rework graphs to scale to the widget they are in, instead of using absolute pixel placement. X-axis labels still need work for large fonts.
15 years ago
peter1138
ed583ca939
(svn r18153) -Codechange: Correct height for 'key' button on graph windows.
15 years ago
rubidium
8e11cd3a42
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
peter1138
b7a3171073
(svn r18139) -Codechange: Scale company league table for font height.
15 years ago
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
4fd93aecd2
(svn r18078) -Codechange: remove some duplicate (non translatable) strings
15 years ago
rubidium
318c2fad7c
(svn r17963) -Codechange: some documentation style
15 years ago
rubidium
95bcee3fde
(svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/
15 years ago
rubidium
8f7b58be35
(svn r17866) -Codechange: make the remaining graph windows nested
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
ec00da379e
(svn r17473) -Codechange: use the post destructor for destroying companies too instead of complicating the graph GUI invalidate code.
15 years ago
smatz
dc73d5432d
(svn r17420) -Codechange: replace assert() by assert_compile() where possible
15 years ago
rubidium
684706b6b0
(svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function
15 years ago
rubidium
04fa406645
(svn r17400) -Fix [FS#3172] (r17380): total line of performance rating was calculated wrong
15 years ago
rubidium
187db314e5
(svn r17380) -Codechange: move drawing the performance detail data to DrawWidget
15 years ago
rubidium
808a2b06e6
(svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
alberth
2ed22179a8
(svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of the derived class.
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
belugas
00338562b9
(svn r17058) -Codechange: magic numbers removal.
...
Two values used intead of just one, as it gives more possibilities to those who dare...
15 years ago
rubidium
b8df1e048c
(svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to draw
15 years ago
rubidium
ec467bf115
(svn r17052) -Codechange: move state changes out of OnPaint for the graph windows
15 years ago
rubidium
634019bb17
(svn r17051) -Codechange: make the graph legend window use nested widgets
15 years ago
rubidium
a6c4b37fc9
(svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph key
15 years ago
smatz
cb13cf2543
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
15 years ago
smatz
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
alberth
0dcb1a320d
(svn r16837) -Codechange: Collect largest used index while constructing nested widget tree.
15 years ago
alberth
49e253d949
(svn r16488) -Codechange [FS#2941]: Use widget numbers of base grap window and cargo payment window in the window handling code (erikjanp)
16 years ago
smatz
512db5248e
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
241af768f0
(svn r16242) -Codechange: rework pausing
...
-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
16 years ago
rubidium
650cb3694e
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
16 years ago
rubidium
2eddffadbe
(svn r16157) -Fix: wrong truncation of refit cost/graph x labels because they were multiline strings being drawn using DrawString instead of DrawStringMultiLine.
16 years ago
alberth
76852d8ff6
(svn r16141) -Codechange: Adding nested widgets to remaining graph windows.
16 years ago
alberth
0e7710f04d
(svn r16139) -Codechange: Adding/completing widget number enums of several graph windows.
16 years ago
rubidium
5c5b357043
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
16 years ago
alberth
6fecc82c3d
(svn r16003) -Codechange: Replaced magic widget number constant with enumerated value in graph legend window.
16 years ago
alberth
fad4eeb2d1
(svn r16002) -Codechange: Added nested widgets for company league window
16 years ago
alberth
f38419ac3c
(svn r16001) -Codechange: Added nested widgets to cargo payment rates window
16 years ago
alberth
49cc3085e9
(svn r15952) -Codechange: Added nested widgets to operating profit, income, delivered cargo, and company value windows.
16 years ago
alberth
4e74ba63f9
(svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tip
16 years ago
rubidium
2e38d7c332
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
16 years ago
rubidium
2a422e3e95
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
16 years ago
rubidium
89d614deea
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
16 years ago
rubidium
7f468dc142
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
f3e0fd7416
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
rubidium
31f3d5b6d5
(svn r15457) -Fix: typo in stringid.
16 years ago
rubidium
89e1afdaa0
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago