Commit Graph

140 Commits

Author SHA1 Message Date
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
c096e3d54c (svn r17228) -Codechange: some coding style fixes 2009-08-20 10:23:39 +00:00
alberth
e5577c7c01 (svn r17204) -Codechange: Move viewport initialization into the constructor of the news item window. 2009-08-16 16:06:06 +00:00
alberth
8484638ba8 (svn r17202) -Codechange: News item is already given as argument. 2009-08-16 09:20:25 +00:00
alberth
a634d839fb (svn r17200) -Codechange: Initialize NewsWindow::duration, add some documentation strings. 2009-08-16 08:59:56 +00:00
alberth
7877b5b304 (svn r17199) -Codechange: Remove NF_VIEWPORT since it is implied by the news mode. 2009-08-16 07:31:36 +00:00
alberth
2a155ffbf9 (svn r17188) -Codechange: Use display mode names for naming window and widget descriptions. 2009-08-15 14:39:22 +00:00
alberth
c4bcae1599 (svn r17187) -Codechange: Make switches on news display mode complete. 2009-08-15 14:27:54 +00:00
alberth
f8252a7b74 (svn r17178) -Codechange (r17177): Remove now unused define. 2009-08-14 22:07:25 +00:00
alberth
45cad5c733 (svn r17177) -Codechange: Message options window uses nested widget tree. 2009-08-14 22:01:44 +00:00
alberth
4cd2dfecdf (svn r17176) -Codechange: Move widget state updating out of OnPaint method of message options window. 2009-08-14 21:33:30 +00:00
alberth
b21edb5c61 (svn r17174) -Codechange: Switch to vertical alignment in the message options window. 2009-08-14 21:21:56 +00:00
alberth
a6d4d3351a (svn r17172) -Codechange: Move the _message_opt variable into the MessageOptionsWindow struct. 2009-08-14 19:02:20 +00:00
alberth
0cc8cbd40d (svn r17171) -Doc: Additions and corrections of various doxygen strings. 2009-08-14 18:41:03 +00:00
frosch
e44a69b92f (svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them. 2009-08-10 20:06:39 +00:00
alberth
e8c34c300d (svn r17123) -Codechange (r17122): Use this for calling methods. 2009-08-08 20:39:45 +00:00
alberth
a4ef6a78a2 (svn r17122) -Codechange: Message history window uses nested widget tree. 2009-08-08 20:06:38 +00:00
rubidium
d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium
5bb7b8ad35 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
alberth
0dcb1a320d (svn r16837) -Codechange: Collect largest used index while constructing nested widget tree. 2009-07-15 22:17:08 +00:00
alberth
627cb3abe2 (svn r16487) -Codechange [FS#2940]: Add widget numbers to news display and news history windows (based on work by erikjanp) 2009-05-31 20:18:47 +00:00
alberth
02c1ed111d (svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp) 2009-05-31 19:29:40 +00:00
frosch
eeb3f75cfe (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted. 2009-05-24 16:52:42 +00:00
smatz
d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 2009-05-16 23:34:14 +00:00
rubidium
08655368eb (svn r16297) -Codechange: silence more ICC warnings 2009-05-13 17:39:00 +00:00
alberth
d477532aed (svn r16205) -Codechange: Added nested widgets for news windows and news-settings window. 2009-05-02 17:00:56 +00:00
alberth
8214a1746c (svn r16204) -Codechange: Completing widget numbers of news settings window. 2009-05-02 16:52:21 +00:00
alberth
785c4dad07 (svn r16203) -Codechange: Simplify widget layout of news settings window. 2009-05-02 16:45:01 +00:00
alberth
41003af530 (svn r16202) -Codechange: Use widget top coordinate instead of hardcoded value. 2009-05-02 16:40:26 +00:00
alberth
5175aa9e9b (svn r16200) -Codechange: Moving news-type description to NewsTypeData array. 2009-05-02 13:05:00 +00:00
rubidium
3bd4eeb178 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 2009-04-26 15:26:19 +00:00
rubidium
650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 2009-04-26 14:52:56 +00:00
rubidium
dd2661bbbd (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 2009-04-26 10:45:07 +00:00
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. 2009-04-21 23:40:56 +00:00
alberth
bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00
smatz
ce4f598cf5 (svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and news_func.h 2009-03-23 11:48:05 +00:00
alberth
8f5f39cf09 (svn r15820) -Codechange: Some windows using nested widgets 2009-03-22 21:16:57 +00:00
rubidium
2e38d7c332 (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 2009-03-22 14:39:20 +00:00
rubidium
31a5457c03 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
2009-03-22 09:34:06 +00:00
rubidium
2a422e3e95 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 2009-03-21 22:22:00 +00:00
rubidium
89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +00:00
rubidium
c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 2009-03-21 20:12:12 +00:00
smatz
d28895c88b (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 2009-03-15 15:25:18 +00:00
rubidium
7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
rubidium
f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
rubidium
89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium
a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 2009-02-09 02:09:47 +00:00
smatz
9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
smatz
11822aa8ef (svn r14940) -Fix: let the statusbar know the current news are invalid or bad things will happen 2009-01-09 20:42:17 +00:00
rubidium
96156a8ab1 (svn r14423) -Codechange: also do r14221 for the strings. 2008-09-30 21:18:28 +00:00