summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
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
2009-04-12(svn r16040) -Codechange: Use coordinates from the widget for the town-view ↵alberth
viewport instead of magic constants.
2009-04-12(svn r16039) -Codechange: Completing widget number enums of town windows and ↵alberth
adding them as comment to the widget arrays.
2009-04-12(svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to ↵alberth
TVW_SHOWAUTHORITY (bilbo)
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-22(svn r15808) -Codechange: use the new DrawString API in a number of GUIsrubidium
2009-03-21(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the ↵rubidium
new one.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-02-23(svn r15559) -Feature: Show required/already-delivered cargo needed for ↵frosch
town-growth in town-view-window. (and only if it is really needed)
2009-02-17(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to ↵smatz
FoundTownWindow
2009-02-16(svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWNsmatz
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-05(svn r15357) -Codechange: unify the way buttons are updated in the 'found ↵smatz
town' window
2009-02-05(svn r15356) -Codechange: make PlaceProc_Town and some global variables a ↵smatz
static function/variables of the scenedit window
2009-02-05(svn r15353) -Feature(tte): make it possible to have cities of various sizessmatz
2009-02-05(svn r15352) -Codechange: make the arguments passed around while founding a ↵smatz
town a bit more readable
2009-02-04(svn r15342) -Feature: allow changing town layout in the 'Found new town' windowsmatz
2009-02-04(svn r15336) -Fix: do not use _current_company in the GUI as there are no ↵rubidium
guarantees that _current_company is the same as _local_company.