summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
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.
2011-03-13(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.frosch
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-03-08(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs ↵frosch
list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
2011-01-30(svn r21929) -Fix [FS#4554]: The town window would not be invalidated in the ↵planetmaker
scenario editor if the ground changed and thus the required cargos for town growth
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-24(svn r21627) -Codechange: Remove _place_proc global variable.alberth
2010-12-05(svn r21414) -Codechange: limit town name by amount of characters, not bytesrubidium
2010-11-27(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.terkhen
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-23(svn r21022) -Add (r21021): Missed recentering of a town gui viewport after ↵alberth
a resize.
2010-10-19(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could ↵planetmaker
be too small
2010-09-02(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive ↵frosch
rights and unread news.
2010-09-02(svn r20719) -Codechange: Remove some hardcoded iconsizes.frosch
2010-08-16(svn r20511) -Fix: Initial height of townlist was not a multiple of the line ↵frosch
height.
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
and vscroll2. Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-02(svn r20325) -Fix (r20322): surround variable declarations in a switch-block ↵yexo
with {}