Commit Graph

185 Commits

Author SHA1 Message Date
alberth
0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium
5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
rubidium
b89b3c960b (svn r21010) -Fix [FS#4102]: the detailed performance rating window would occasionally be too narrow. Based on a patch by Krille 2010-10-22 16:33:07 +00:00
yexo
a4fbfa268b (svn r20558) -Codechange: use one generic function to create a list of company buttons 2010-08-19 12:56:31 +00:00
yexo
8204ad16f5 (svn r20555) -Fix [FS#4053]: wrong tooltip for the company select button in the AI debug and performance rating windows 2010-08-19 11:33:15 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
alberth
c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
rubidium
f09a74a996 (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 2010-05-13 09:44:44 +00:00
terkhen
0e3a978284 (svn r19729) -Fix [FS#3793]: The company value graph crashed the game when displaying companies with a huge amount of money. 2010-04-26 17:40:03 +00:00
terkhen
28afad04a5 (svn r19673) -Codechange: Optimize calculation of graph grid size (method by Alberth).
-Fix: Remove a gcc 3.3 warning.
2010-04-18 20:23:35 +00:00
terkhen
e8c504755f (svn r19662) -Feature: Resizable graphs. 2010-04-17 19:18:58 +00:00
terkhen
60e9047f3c (svn r19661) -Codechange: Base the number of vertical grids of a graph on its size. 2010-04-17 19:15:13 +00:00
terkhen
9966569d15 (svn r19632) -Cleanup: has_negative_values is no longer used. 2010-04-14 19:37:55 +00:00
terkhen
278440ed6b (svn r19631) -Feature: Graphs with negative values are no longer forced to have the zero axis in the middle (grid size calculation by Alberth). 2010-04-14 19:20:38 +00:00
terkhen
542d5657fa (svn r19615) -Fix [FS#3763]: Company related graphs weren't updated correctly after changing the company colour. 2010-04-12 17:58:09 +00:00
smatz
3c68156129 (svn r19579) -Codechange: auto-raise 'Enable/Disable all' buttons in the Cargo payment rates window 2010-04-07 21:22:08 +00:00
rubidium
c2945f0bb0 (svn r19574) -Fix: graphs were not properly updated when going toggling keys (i.e. companies) 2010-04-07 15:20:24 +00:00
terkhen
1fbde179d9 (svn r19573) -Fix (r19541): Special cargos did not appear at the refit list. 2010-04-07 14:17:29 +00:00
terkhen
1d825663f4 (svn r19550) -Fix (r19543): Scale graphs without taking into account excluded data. 2010-04-03 19:32:14 +00:00
terkhen
ed31c92fe0 (svn r19543) -Feature [FS#3726]: Scale the vertical axis of graphs depending on the graph's highest value. 2010-04-02 16:45:53 +00:00
terkhen
ad6940a5ff (svn r19542) -Feature: Add buttons to enable / disable all cargos at the cargo payment rates graph. 2010-04-02 14:11:10 +00:00
terkhen
3196dede8c (svn r19539) -Codechange: Use a macro to loop through the list of sorted cargo specifications. 2010-04-02 12:20:41 +00:00
terkhen
4bb33b9ddd (svn r19535) -Feature: Sort cargos at the cargo payment rates graph. 2010-04-01 19:50:31 +00:00
rubidium
a7a2568985 (svn r19090) -Codechange: some comment coding style fixes 2010-02-10 21:06:05 +00:00
terkhen
01f8bc2578 (svn r19076) -Codechange: Move graph functions to their own header. 2010-02-10 15:24:48 +00:00
frosch
94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium
05405e4566 (svn r18765) -Fix [FS#3499] (r18750): crash when trying to show cargo payments when there are 'holes' in the cargospec array 2010-01-09 14:57:03 +00:00
rubidium
fec1c1d92b (svn r18750) -Fix [FS#3492]: the cargo payment button states weren't properly set on opening the window 2010-01-07 11:54:01 +00:00
rubidium
9859bb373d (svn r18644) -Fix [FS#3434]: company league window was too narrow 2009-12-27 13:19:17 +00:00
alberth
0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 2009-12-21 16:24:29 +00:00
alberth
6551592e8d (svn r18490) -Doc: Fixed syntax of a few doxygen pre and post coditions. 2009-12-13 20:54:52 +00:00
rubidium
32b86b23b5 (svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable 2009-12-09 17:10:57 +00:00
rubidium
21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 2009-11-28 15:01:49 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium
ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium
50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 2009-11-24 18:05:55 +00:00
rubidium
f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
rubidium
b4da187ae6 (svn r18264) -Codechange: make the company league window big font aware 2009-11-23 22:01:42 +00:00
rubidium
33b6170517 (svn r18259) -Codechange: make the graphs big font aware 2009-11-23 19:53:58 +00:00
rubidium
71ef26ca66 (svn r18250) -Codechange: make the graph legend big font aware 2009-11-22 22:21:00 +00:00
alberth
5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth
18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
alberth
8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 2009-11-22 13:22:53 +00:00
rubidium
ea9a9fbe6d (svn r18196) -Codechange: make the performance rating details window big font and RTL aware 2009-11-20 14:03:17 +00:00
rubidium
964f2ca7fe (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
c3204398ab (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
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. 2009-11-18 08:32:39 +00:00