Commit Graph

67 Commits (8e24df4d45bf73596cc7ba44ffaba019ca95d2b9)

Author SHA1 Message Date
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
smatz ce6e15ee11 (svn r18102) -Codechange: simplify Company::Get(this->window_number)->index to just this->window_number 15 years ago
alberth 1c29698eed (svn r18091) -Codechange: CompanyWindow uses pure nested widgets. 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
alberth 67c90594d5 (svn r18085) -Codechange: Make the company face window use nested widgets. 15 years ago
rubidium 4fd93aecd2 (svn r18078) -Codechange: remove some duplicate (non translatable) strings 15 years ago
alberth eb8560c9f0 (svn r18077) -Codechange: Make the livery window use pure nested widgets. 15 years ago
rubidium cf5dbddede (svn r18018) -Codechange: make the 'buy company' window nested 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
alberth 16bc6380a8 (svn r17756) -Codechange: Company finances window uses pure nested widgets. 15 years ago
alberth 67f2a3cead (svn r17754) -Codechange: Make ExpensesList::GetHeight() return a uint. 15 years ago
alberth 2f6eb6fdfd (svn r17753) -Fix (r17750): Expenses amounts were printed two pixels too low. 15 years ago
alberth 18bcbd08ef (svn r17750) -Codechange: Financial expenses panel handles different font size, replaced magic numbers by constants. 15 years ago
alberth 2145e02fde (svn r17740) -Codechange: Extract financial expenses drawing routines. 15 years ago
alberth b6efdf108e (svn r17724) -Codechange: Merge magic height values toghether in finances window. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
alberth 4ff755ac90 (svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array. 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium f49259326d (svn r16954) -Codechange: make the Game Options window use the nested widget system. 15 years ago
rubidium 01eabc5f4c (svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it. 15 years ago
alberth fe9f5cbc46 (svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field. 15 years ago
smatz 2de68b2894 (svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected 15 years ago
smatz 8eda6955b5 (svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount() 15 years ago
smatz a2567c84a0 (svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible 15 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
rubidium 08655368eb (svn r16297) -Codechange: silence more ICC warnings 15 years ago
alberth 1de26120e9 (svn r16208) -Codechange: Added nested widgets for the buy company and show company windows. 15 years ago
alberth 3e83aec89c (svn r16207) -Codechange: Added and applied BuyCompanyWidgets enum.
-Doc: Small fixes and additions to documentation.
15 years ago
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium dd2661bbbd (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium e88cb7f70f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
glx 6208f53554 (svn r15880) -Codechange: add an invisible widget on company manager face windows to position company manager face image 15 years ago
glx dc609bb28e (svn r15879) -Codechange: add an invisible widget on advanced company face window to determine where to draw the strings instead refering to other widgets. Required for rtl languages. 15 years ago
peter1138 a6de3cd932 (svn r15877) -Codechange: Let drop down lists know about font height. 15 years ago
glx 45092468f9 (svn r15869) -Codechange: New widgets for select manager face and select livery windows 15 years ago
glx e6f26e29b6 (svn r15865) -Codechange: New widgets for company finances windows 15 years ago
glx b44e1f4075 (svn r15864) -Codechange: add some 'invisible' widgets on company finances window, and use them to determine where to draw strings instead using some magic values 15 years ago
glx 14eb4b48d2 (svn r15855) -Codechange: complete the company finances window widget enum and remove unneeded magic in large window definition 15 years ago
rubidium 12f1abbce0 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 15 years ago
rubidium 31a5457c03 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
15 years ago
rubidium 2a422e3e95 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 15 years ago
rubidium 89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 15 years ago
rubidium 303a8f9673 (svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier. 15 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 15 years ago