summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2014-09-20(svn r26859) -Fix [FS#6119]: Height computation of game script text in town ↵frosch
GUI did not consider margins.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-23(svn r26422) -Fix [FS#5946]: Some road constructions used the rail sound ↵frosch
effect. Rename the enum items to properly reflect their purpose.
2013-10-28(svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is ↵frosch
not tied to funding a town.
2013-07-27(svn r25630) -Fix [FS#5666]: city list sort of population and rating are ↵rubidium
reversed compared to the icon
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-03-17(svn r25097) -Feature[FS#5288]: Add sorting on rating for the town directory ↵alberth
window (based on work by sbr).
2013-03-17(svn r25096) -Feature: Do descending sort order on population by default, ↵alberth
and stabilize sort of equally populated towns.
2013-03-17(svn r25095) -Codechange: Immediately save the sort order of the town ↵alberth
directory instead of when closing the window.
2013-03-17(svn r25094) -Feature: Introduce dropdown for selecting the sort criterion ↵alberth
in the town directory window (sbr)
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-12-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-11-14(svn r24747) -Fix: Some editboxes had a different colour than the rest of ↵frosch
the window.
2012-11-14(svn r24742) -Codechange: Remove QueryStringBaseWindow and store ↵frosch
QueryStrings per widget instead.
2012-11-14(svn r24740) -Codechange: Remove duplicate members from ↵frosch
QueryStringBaseWindow and directly use QueryString.
2012-11-14(svn r24739) -Codechange: Simplify some code by using Textbuf::Assign.frosch
2012-11-14(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.frosch
2012-11-13(svn r24733) -Codechange: Move handling of editbox keys to window class.frosch
2012-11-13(svn r24732) -Codechange: Unify handling of OK and CANCEL actions for editboxes.frosch
2012-11-13(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.frosch
2012-11-13(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.frosch
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-11-11(svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the ↵frosch
same functionality.
2012-06-04(svn r24324) -Codechange: Turn functions dealing with Textbufs into member ↵frosch
functions.
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-04-17(svn r24141) -Feature: Display rating in the town directory window. ↵michi_cc
(Inspired by patch from MagicBuzz)
2012-01-11(svn r23787) -Fix: add some missing spacesrubidium
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23636) -Add: introduce ScriptText in parameters where it can be usedtruebrain
2011-12-19(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUItruebrain
2011-12-19(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵truebrain
(GameScript only)
2011-12-16(svn r23542) -Codechange: unify and document town related widgetsrubidium
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp
2011-12-10(svn r23477) -Fix [FS#4878] (r23300): like r23342, but now for the user ↵rubidium
interface ;)
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-11-23(svn r23310) -Fix: Town GUI was not representing the true conditions of ↵truebrain
arctic / tropical goals
2011-11-23(svn r23300) -Add: show on the GUI when a town grows and make a general ↵truebrain
framework to store goals of a town
2011-11-23(svn r23298) -Add: track statistics of all incoming and outgoing goods. ↵truebrain
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
2011-11-15(svn r23233) -Codechange: Refactor maximum and actually transported cargo ↵michi_cc
amount of towns into a reusable struct.
2011-11-04(svn r23096) -Codechange: remove useless divisions and multiplications by ↵rubidium
TILE_HEIGHT for the snow line code
2011-04-30(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be ↵rubidium
declared in string_func.h.
2011-04-17(svn r22345) -Change: Remove pixel limiter for text buffers.terkhen
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-04-09(svn r22307) -Fix: When drawing the town authority window, check whether the ↵frosch
availability of the actions changed, and force a complete redraw in that case.