Commit Graph

250 Commits (44d79aa9e5f05b51d679caa7d4c9b9069f36e131)

Author SHA1 Message Date
frosch 18dcd2e6a4 (svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead. 12 years ago
frosch ec27bcb6a6 (svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString. 12 years ago
frosch 838388dcd5 (svn r24739) -Codechange: Simplify some code by using Textbuf::Assign. 12 years ago
frosch 0ab8e7939b (svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor. 12 years ago
frosch 08e92e6f23 (svn r24733) -Codechange: Move handling of editbox keys to window class. 12 years ago
frosch 8f611527e9 (svn r24732) -Codechange: Unify handling of OK and CANCEL actions for editboxes. 12 years ago
frosch e0f59fb049 (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. 12 years ago
frosch e95b757c11 (svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code. 12 years ago
frosch 3b06409153 (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 12 years ago
frosch 88b8e43090 (svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the same functionality. 12 years ago
frosch 9b196d0fb4 (svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions. 12 years ago
rubidium 76d5833650 (svn r24179) -Codechange: move some variables of Town to TownCache 13 years ago
michi_cc 3e5dc26ded (svn r24141) -Feature: Display rating in the town directory window. (Inspired by patch from MagicBuzz) 13 years ago
rubidium 84433bbeb7 (svn r23787) -Fix: add some missing spaces 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain 8ac2d13c79 (svn r23636) -Add: introduce ScriptText in parameters where it can be used 13 years ago
truebrain 6961332f05 (svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI 13 years ago
truebrain b00fcef81a (svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only) 13 years ago
rubidium e750e676c2 (svn r23542) -Codechange: unify and document town related widgets 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
truebrain da63ce43fa (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, 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
13 years ago
rubidium 9b81a5db97 (svn r23477) -Fix [FS#4878] (r23300): like r23342, but now for the user interface ;) 13 years ago
rubidium 9aab2dc861 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
truebrain f3bed7c328 (svn r23310) -Fix: Town GUI was not representing the true conditions of arctic / tropical goals 13 years ago
truebrain 2306f2ab6d (svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town 13 years ago
truebrain 19791d3189 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 13 years ago
michi_cc 56a592dcbd (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 13 years ago
rubidium a70fdbcf2f (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 13 years ago
rubidium 6cc9a2884d (svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h. 14 years ago
terkhen 23f42e5769 (svn r22345) -Change: Remove pixel limiter for text buffers. 14 years ago
terkhen a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 14 years ago
frosch c59504db64 (svn r22307) -Fix: When drawing the town authority window, check whether the availability of the actions changed, and force a complete redraw in that case. 14 years ago
frosch db3a8d1abf (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. 14 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 14 years ago
frosch 1a14c133c6 (svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting. 14 years ago
planetmaker c778568f58 (svn r21929) -Fix [FS#4554]: The town window would not be invalidated in the scenario editor if the ground changed and thus the required cargos for town growth 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
alberth 7d989073d4 (svn r21627) -Codechange: Remove _place_proc global variable. 14 years ago
rubidium eafc316342 (svn r21414) -Codechange: limit town name by amount of characters, not bytes 14 years ago
terkhen 64c200a25e (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
alberth 85a5fcf58a (svn r21022) -Add (r21021): Missed recentering of a town gui viewport after a resize. 14 years ago
planetmaker 310de59b0f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 14 years ago
frosch 46acb837eb (svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news. 14 years ago
frosch 41dac2e579 (svn r20719) -Codechange: Remove some hardcoded iconsizes. 14 years ago
frosch fe408faa96 (svn r20511) -Fix: Initial height of townlist was not a multiple of the line height. 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch 4817d5dcd6 (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll 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.
14 years ago