Commit Graph

164 Commits

Author SHA1 Message Date
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
4b8f180ffd (svn r18263) -Codechange: make the town views resizable 2009-11-23 21:34:33 +00:00
rubidium
df8d95738d (svn r18255) -Codechange: make the town authority window big font aware 2009-11-23 14:04:03 +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
rubidium
c0db53a4dc (svn r18179) -Codechange: make the town authority window RTL aware 2009-11-19 10:56:14 +00:00
rubidium
8e11cd3a42 (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
rubidium
a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
rubidium
b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
frosch
040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 2009-11-07 22:47:54 +00:00
alberth
5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
rubidium
c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 2009-10-24 14:53:55 +00:00
rubidium
b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 2009-10-17 14:29:10 +00:00
rubidium
fa1c023da5 (svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window 2009-10-10 12:47:04 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium
72fe81b401 (svn r17654) -Fix [FS#3220] (r17612): the edit box of the town fund window wasn't updated properly (based on patch of Terkhen) 2009-09-27 10:44:25 +00:00
smatz
ad2c641bca (svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen) 2009-09-22 13:54:54 +00:00
smatz
a2f43040af (svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too 2009-09-21 20:22:56 +00:00
smatz
13437a998e (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 2009-09-21 18:16:00 +00:00
alberth
93112ceaef (svn r17587) -Codechange: Town authority window uses pure nested widgets. 2009-09-20 14:46:15 +00:00
alberth
f568b0c98a (svn r17586) -Codechange: Adding documentation, and replacing some numbers with constants in the town authority window. 2009-09-20 10:25:03 +00:00
alberth
ba5e072881 (svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing. 2009-09-20 10:08:10 +00:00
alberth
d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
rubidium
1be2568438 (svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases 2009-09-19 10:19:15 +00:00
alberth
d3577d3d5d (svn r17569) -Codechange: Town view window runs with nested widgets. 2009-09-18 19:59:05 +00:00
smatz
2b4458da63 (svn r17540) -Codechange: move functionality of PlaceProc_Town() to FoundTownWindow::OnPlaceObject() 2009-09-14 20:40:07 +00:00
alberth
a76da0e36a (svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry list, and use that text in the size computation as well. 2009-09-05 11:27:28 +00:00
rubidium
fc193fd902 (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers 2009-09-02 08:48:29 +00:00
smatz
f22e1cf9ab (svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns 2009-09-01 14:05:27 +00:00
rubidium
751dc4ad3d (svn r17323) -Codechange: replace some magic numbers with constants in the town directory. 2009-08-30 15:25:20 +00:00
rubidium
ecf50ba58e (svn r17321) -Codechange: minor coding style fixes for the town directory 2009-08-30 14:39:59 +00:00
rubidium
d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
smatz
073e163b7f (svn r17131) -Codechange: apply coding style to some switch statements 2009-08-09 14:40:34 +00:00
rubidium
d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
alberth
42714792dc (svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings. 2009-07-25 11:54:53 +00:00
alberth
a8e5d36868 (svn r16952) -Codechange: Use a label for the world population in the town directory window. 2009-07-25 11:32:53 +00:00
rubidium
39e6dbd5e3 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 2009-07-20 11:21:57 +00:00
alberth
543b86307f (svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps. 2009-07-18 10:46:55 +00:00
smatz
8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 2009-07-16 19:00:13 +00:00
rubidium
34570f4e93 (svn r16842) -Cleanup: add some spaces around a few operators 2009-07-16 10:13:33 +00:00
alberth
4458a1ec32 (svn r16840) -Codechange: Small merge in town directory widget content method. 2009-07-15 23:04:26 +00:00
alberth
43ee12137b (svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows. 2009-07-04 15:35:36 +00:00
alberth
9cfbe11e3a (svn r16739) -Codechange: Initialize internal data before computing the widgets. 2009-07-04 14:13:23 +00:00
alberth
4d577b8cc1 (svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents. 2009-07-03 22:25:59 +00:00
alberth
14d5eb0427 (svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint. 2009-07-03 21:38:41 +00:00
alberth
2509f55d87 (svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows. 2009-06-28 22:23:26 +00:00
alberth
0365d15306 (svn r16688) -Codechange: Some cleanup of intro screen and town directory. 2009-06-28 21:23:37 +00:00
alberth
0b66eb938f (svn r16558) -Codechange: Switch found-town window to nested widgets. 2009-06-10 20:48:22 +00:00