summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
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-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-10(svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used ↵rubidium
town name for the 'Generate Town' window
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-27(svn r17654) -Fix [FS#3220] (r17612): the edit box of the town fund window ↵rubidium
wasn't updated properly (based on patch of Terkhen)
2009-09-22(svn r17612) -Feature: possibility to choose (randomise or enter custom) ↵smatz
town name before its creation (original patch by Terkhen)
2009-09-21(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' toosmatz
2009-09-21(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'smatz
2009-09-20(svn r17587) -Codechange: Town authority window uses pure nested widgets.alberth
2009-09-20(svn r17586) -Codechange: Adding documentation, and replacing some numbers ↵alberth
with constants in the town authority window.
2009-09-20(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a ↵alberth
header file to allow sharing.
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-19(svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town ↵rubidium
in most of the cases
2009-09-18(svn r17569) -Codechange: Town view window runs with nested widgets.alberth
2009-09-14(svn r17540) -Codechange: move functionality of PlaceProc_Town() to ↵smatz
FoundTownWindow::OnPlaceObject()
2009-09-05(svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry ↵alberth
list, and use that text in the size computation as well.
2009-09-02(svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar ↵rubidium
wrappers
2009-09-01(svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdownssmatz
2009-08-30(svn r17323) -Codechange: replace some magic numbers with constants in the ↵rubidium
town directory.
2009-08-30(svn r17321) -Codechange: minor coding style fixes for the town directoryrubidium
2009-08-23(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/falserubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-09(svn r17131) -Codechange: apply coding style to some switch statementssmatz
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-25(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized ↵alberth
strings.
2009-07-25(svn r16952) -Codechange: Use a label for the world population in the town ↵alberth
directory window.
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-07-18(svn r16871) -Codechange: Generalize GetWidgetContentSize to ↵alberth
UpdateWidgetSize for better control over widget size and resize steps.
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16842) -Cleanup: add some spaces around a few operatorsrubidium
2009-07-15(svn r16840) -Codechange: Small merge in town directory widget content method.alberth
2009-07-04(svn r16740) -Codechange: Self-sizing widgets in intro screen, town ↵alberth
directory, and found town windows.
2009-07-04(svn r16739) -Codechange: Initialize internal data before computing the widgets.alberth
2009-07-03(svn r16734) -Codechange: Prepare intro, town directory, and found town ↵alberth
windows for more flexible widget contents.
2009-07-03(svn r16733) -Codechange: Move rebuilding and sorting the town list out of ↵alberth
TownDirectoryWindow::OnPaint.
2009-06-28(svn r16689) -Codechange: Allow for rendering of parameterized text of ↵alberth
nested widgets in Window::DrawWidget, adapt intro and town directory windows.
2009-06-28(svn r16688) -Codechange: Some cleanup of intro screen and town directory.alberth
2009-06-10(svn r16558) -Codechange: Switch found-town window to nested widgets.alberth
2009-06-04(svn r16517) -Codechange: Switched intro-screen and town directory window to ↵alberth
nested widget trees.
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-04-12(svn r16049) -Codechange: Added nested widgets to town windows.alberth
2009-04-12(svn r16047) -Codechange: Extracting widget number enums from their window ↵alberth
classes.
2009-04-12(svn r16043) -Codechange: Prepare town-view widgets for nesting.alberth