alberth
bf93372ca2
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
2009-11-22 13:22:53 +00:00
rubidium
d786f42427
(svn r18196) -Codechange: make the performance rating details window big font and RTL aware
2009-11-20 14:03:17 +00:00
rubidium
095d64c4fc
(svn r18167) -Change: make the graph legend, cargo payment graph and company league windows RTL aware
2009-11-18 15:09:39 +00:00
peter1138
d2358c5ea6
(svn r18160) -Codechange: The hyphen character may not line up in all fonts, so draw
...
the Y-axis ticks manually.
2009-11-18 10:09:22 +00:00
peter1138
b07c99a0fd
(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.
2009-11-18 08:32:39 +00:00
peter1138
61fa8d4fca
(svn r18153) -Codechange: Correct height for 'key' button on graph windows.
2009-11-17 22:06:18 +00:00
rubidium
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
2009-11-17 19:16:48 +00:00
peter1138
9e49386d9d
(svn r18139) -Codechange: Scale company league table for font height.
2009-11-17 13:07:12 +00:00
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
2009-11-15 10:26:01 +00:00
rubidium
16c2e53191
(svn r18078) -Codechange: remove some duplicate (non translatable) strings
2009-11-14 15:37:33 +00:00
rubidium
d79439fb3c
(svn r17963) -Codechange: some documentation style
2009-11-03 17:30:08 +00:00
rubidium
56611d13db
(svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/
2009-11-02 16:07:09 +00:00
rubidium
38687193fe
(svn r17866) -Codechange: make the remaining graph windows nested
2009-10-25 13:52:58 +00:00
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
rubidium
472ed0dc76
(svn r17473) -Codechange: use the post destructor for destroying companies too instead of complicating the graph GUI invalidate code.
2009-09-08 12:27:27 +00:00
smatz
0bfea0646c
(svn r17420) -Codechange: replace assert() by assert_compile() where possible
2009-09-04 23:02:52 +00:00
rubidium
dcf3719ca1
(svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function
2009-09-03 11:56:29 +00:00
rubidium
b294497f2a
(svn r17400) -Fix [FS#3172] (r17380): total line of performance rating was calculated wrong
2009-09-03 10:50:14 +00:00
rubidium
d8b782365b
(svn r17380) -Codechange: move drawing the performance detail data to DrawWidget
2009-09-02 13:39:46 +00:00
rubidium
efff517449
(svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements
2009-09-02 13:24:36 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
alberth
153cfa8c70
(svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of the derived class.
2009-08-08 22:26:45 +00:00
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
2009-08-05 17:59:21 +00:00
belugas
a2b996106e
(svn r17058) -Codechange: magic numbers removal.
...
Two values used intead of just one, as it gives more possibilities to those who dare...
2009-08-03 20:02:25 +00:00
rubidium
b6cfe4d2fe
(svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to draw
2009-08-03 15:23:49 +00:00
rubidium
37d4277271
(svn r17052) -Codechange: move state changes out of OnPaint for the graph windows
2009-08-03 14:44:55 +00:00
rubidium
8589fb27a0
(svn r17051) -Codechange: make the graph legend window use nested widgets
2009-08-03 14:44:08 +00:00
rubidium
2675eb4619
(svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph key
2009-08-02 16:45:53 +00:00
smatz
77d13eae61
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
2009-07-16 20:40:06 +00:00
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
2009-07-16 19:00:13 +00:00
alberth
92206f2d18
(svn r16837) -Codechange: Collect largest used index while constructing nested widget tree.
2009-07-15 22:17:08 +00:00
alberth
743f12fad0
(svn r16488) -Codechange [FS#2941]: Use widget numbers of base grap window and cargo payment window in the window handling code (erikjanp)
2009-05-31 20:33:09 +00:00
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
2009-05-18 16:21:28 +00:00
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
rubidium
2664f2a2d9
(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
2009-05-06 15:06:57 +00:00
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
2009-04-26 14:52:56 +00:00
rubidium
ce171535d1
(svn r16157) -Fix: wrong truncation of refit cost/graph x labels because they were multiline strings being drawn using DrawString instead of DrawStringMultiLine.
2009-04-26 10:48:30 +00:00
alberth
76ccb85660
(svn r16141) -Codechange: Adding nested widgets to remaining graph windows.
2009-04-25 12:00:54 +00:00
alberth
c6d5923d22
(svn r16139) -Codechange: Adding/completing widget number enums of several graph windows.
2009-04-25 10:06:22 +00:00
rubidium
59d45a04d6
(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.
2009-04-21 23:40:56 +00:00
alberth
b5da02ac1c
(svn r16003) -Codechange: Replaced magic widget number constant with enumerated value in graph legend window.
2009-04-09 11:42:24 +00:00
alberth
11f406c0a4
(svn r16002) -Codechange: Added nested widgets for company league window
2009-04-09 11:22:36 +00:00
alberth
4af791e888
(svn r16001) -Codechange: Added nested widgets to cargo payment rates window
2009-04-09 09:41:10 +00:00
alberth
bdf05e797d
(svn r15952) -Codechange: Added nested widgets to operating profit, income, delivered cargo, and company value windows.
2009-04-04 09:03:28 +00:00
alberth
ccd2468eb2
(svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tip
2009-04-03 20:41:20 +00:00
rubidium
9038733f1a
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
2009-03-22 14:39:20 +00:00
rubidium
69decac406
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
2009-03-21 22:22:00 +00:00
rubidium
9003641095
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
2009-03-21 22:00:00 +00:00
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
2009-03-15 15:12:06 +00:00