Commit Graph

234 Commits (f183ded9fedbe7d26a55d86fa0aa6ffdfae57140)

Author SHA1 Message Date
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
rubidium cab122efef (svn r21010) -Fix [FS#4102]: the detailed performance rating window would occasionally be too narrow. Based on a patch by Krille 14 years ago
yexo 16be24e13a (svn r20558) -Codechange: use one generic function to create a list of company buttons 14 years ago
yexo 44ba57bb79 (svn r20555) -Fix [FS#4053]: wrong tooltip for the company select button in the AI debug and performance rating windows 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
alberth 22b9bc5157 (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 14 years ago
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 15 years ago
terkhen 2e4e4e3147 (svn r19729) -Fix [FS#3793]: The company value graph crashed the game when displaying companies with a huge amount of money. 15 years ago
terkhen 3442b8c345 (svn r19673) -Codechange: Optimize calculation of graph grid size (method by Alberth).
-Fix: Remove a gcc 3.3 warning.
15 years ago
terkhen 320dcc7d07 (svn r19662) -Feature: Resizable graphs. 15 years ago
terkhen e959d56122 (svn r19661) -Codechange: Base the number of vertical grids of a graph on its size. 15 years ago
terkhen 22f864b0c0 (svn r19632) -Cleanup: has_negative_values is no longer used. 15 years ago
terkhen f61b9e3962 (svn r19631) -Feature: Graphs with negative values are no longer forced to have the zero axis in the middle (grid size calculation by Alberth). 15 years ago
terkhen 7ba4f98ce5 (svn r19615) -Fix [FS#3763]: Company related graphs weren't updated correctly after changing the company colour. 15 years ago
smatz fc878baee6 (svn r19579) -Codechange: auto-raise 'Enable/Disable all' buttons in the Cargo payment rates window 15 years ago
rubidium bcce2cabef (svn r19574) -Fix: graphs were not properly updated when going toggling keys (i.e. companies) 15 years ago
terkhen 869fac9964 (svn r19573) -Fix (r19541): Special cargos did not appear at the refit list. 15 years ago
terkhen 794828209b (svn r19550) -Fix (r19543): Scale graphs without taking into account excluded data. 15 years ago
terkhen 1cab553994 (svn r19543) -Feature [FS#3726]: Scale the vertical axis of graphs depending on the graph's highest value. 15 years ago
terkhen daf97ae52c (svn r19542) -Feature: Add buttons to enable / disable all cargos at the cargo payment rates graph. 15 years ago
terkhen 8660890bbb (svn r19539) -Codechange: Use a macro to loop through the list of sorted cargo specifications. 15 years ago
terkhen 33b1307343 (svn r19535) -Feature: Sort cargos at the cargo payment rates graph. 15 years ago
rubidium 7a73a7490d (svn r19090) -Codechange: some comment coding style fixes 15 years ago
terkhen 2329eacfe8 (svn r19076) -Codechange: Move graph functions to their own header. 15 years ago
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium b9052fff9f (svn r18765) -Fix [FS#3499] (r18750): crash when trying to show cargo payments when there are 'holes' in the cargospec array 15 years ago
rubidium 175db8d613 (svn r18750) -Fix [FS#3492]: the cargo payment button states weren't properly set on opening the window 15 years ago
rubidium b0c9b2c232 (svn r18644) -Fix [FS#3434]: company league window was too narrow 15 years ago
alberth 91872aca48 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 15 years ago
alberth 57e6c7fdb7 (svn r18490) -Doc: Fixed syntax of a few doxygen pre and post coditions. 15 years ago
rubidium ac4ef286f4 (svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable 15 years ago
rubidium 1f0da3710f (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 14300d309c (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
rubidium 584c75722e (svn r18264) -Codechange: make the company league window big font aware 15 years ago
rubidium 2ee87ce100 (svn r18259) -Codechange: make the graphs big font aware 15 years ago
rubidium c7c9f24f60 (svn r18250) -Codechange: make the graph legend big font aware 15 years ago
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth bf93372ca2 (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium d786f42427 (svn r18196) -Codechange: make the performance rating details window big font and RTL aware 15 years ago
rubidium 095d64c4fc (svn r18167) -Change: make the graph legend, cargo payment graph and company league windows RTL aware 15 years ago
peter1138 d2358c5ea6 (svn r18160) -Codechange: The hyphen character may not line up in all fonts, so draw
the Y-axis ticks manually.
15 years ago
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. 15 years ago
peter1138 61fa8d4fca (svn r18153) -Codechange: Correct height for 'key' button on graph windows. 15 years ago
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
peter1138 9e49386d9d (svn r18139) -Codechange: Scale company league table for font height. 15 years ago
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 16c2e53191 (svn r18078) -Codechange: remove some duplicate (non translatable) strings 15 years ago
rubidium d79439fb3c (svn r17963) -Codechange: some documentation style 15 years ago
rubidium 56611d13db (svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/ 15 years ago
rubidium 38687193fe (svn r17866) -Codechange: make the remaining graph windows nested 15 years ago
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 472ed0dc76 (svn r17473) -Codechange: use the post destructor for destroying companies too instead of complicating the graph GUI invalidate code. 15 years ago
smatz 0bfea0646c (svn r17420) -Codechange: replace assert() by assert_compile() where possible 15 years ago
rubidium dcf3719ca1 (svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function 15 years ago
rubidium b294497f2a (svn r17400) -Fix [FS#3172] (r17380): total line of performance rating was calculated wrong 15 years ago
rubidium d8b782365b (svn r17380) -Codechange: move drawing the performance detail data to DrawWidget 15 years ago
rubidium efff517449 (svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
alberth 153cfa8c70 (svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of the derived class. 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
belugas a2b996106e (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 b6cfe4d2fe (svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to draw 15 years ago
rubidium 37d4277271 (svn r17052) -Codechange: move state changes out of OnPaint for the graph windows 15 years ago
rubidium 8589fb27a0 (svn r17051) -Codechange: make the graph legend window use nested widgets 15 years ago
rubidium 2675eb4619 (svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph key 15 years ago
smatz 77d13eae61 (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs 15 years ago
smatz 1f29e38b83 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 15 years ago
alberth 92206f2d18 (svn r16837) -Codechange: Collect largest used index while constructing nested widget tree. 15 years ago
alberth 743f12fad0 (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 8808f3beea (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 16 years ago
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 16 years ago
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 16 years ago
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
16 years ago
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 16 years ago
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. 16 years ago
alberth 76ccb85660 (svn r16141) -Codechange: Adding nested widgets to remaining graph windows. 16 years ago
alberth c6d5923d22 (svn r16139) -Codechange: Adding/completing widget number enums of several graph windows. 16 years ago
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. 16 years ago
alberth b5da02ac1c (svn r16003) -Codechange: Replaced magic widget number constant with enumerated value in graph legend window. 16 years ago
alberth 11f406c0a4 (svn r16002) -Codechange: Added nested widgets for company league window 16 years ago
alberth 4af791e888 (svn r16001) -Codechange: Added nested widgets to cargo payment rates window 16 years ago
alberth bdf05e797d (svn r15952) -Codechange: Added nested widgets to operating profit, income, delivered cargo, and company value windows. 16 years ago
alberth ccd2468eb2 (svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tip 16 years ago
rubidium 9038733f1a (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 16 years ago
rubidium 69decac406 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 16 years ago
rubidium 9003641095 (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 16 years ago
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium 9fb19be134 (svn r15457) -Fix: typo in stringid. 16 years ago
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium 9907742a0f (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago