summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-13(svn r16297) -Codechange: silence more ICC warningsrubidium
2009-05-02(svn r16205) -Codechange: Added nested widgets for news windows and ↵alberth
news-settings window.
2009-05-02(svn r16204) -Codechange: Completing widget numbers of news settings window.alberth
2009-05-02(svn r16203) -Codechange: Simplify widget layout of news settings window.alberth
2009-05-02(svn r16202) -Codechange: Use widget top coordinate instead of hardcoded value.alberth
2009-05-02(svn r16200) -Codechange: Moving news-type description to NewsTypeData array.alberth
2009-04-26(svn r16162) -Codechange: remove needless TC_ colours from DrawString when ↵rubidium
they are part of strings and add some colours to a few strings.
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-26(svn r16156) -Codechange: make the parameters of DrawStringMultiline the ↵rubidium
same as for DrawString (except the addition of the bottom parameter)
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-23(svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and ↵smatz
news_func.h
2009-03-22(svn r15820) -Codechange: Some windows using nested widgetsalberth
2009-03-22(svn r15812) -Codechange: use the new DrawString API in another set of GUIsrubidium
2009-03-22(svn r15803) -Codechange: use the new text drawing API for multicenterrubidium
-Fix (r15800): off-by-one w.r.t. offsets
2009-03-21(svn r15791) -Codechange: remove the *RightAligned part of the old text ↵rubidium
drawing API.
2009-03-21(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.rubidium
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-15(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinatesmatz
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-09(svn r14940) -Fix: let the statusbar know the current news are invalid or ↵smatz
bad things will happen
2008-09-30(svn r14423) -Codechange: also do r14221 for the strings.rubidium
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-13(svn r14307) -Fix: when deleting a station, remove news items regarding itsmatz
2008-07-31(svn r13897) -Codechange: Replace remaining numbers with Colours enum on ↵belugas
news guis -Fix: a few misalignements
2008-07-30(svn r13872) -Feature: Split the news message announcing opening and closure ↵belugas
of industries into two news of their own
2008-07-29(svn r13867) -Codechange: Fix missing alignmentbelugas
2008-07-18(svn r13730) -Fix: make a copy of the names for news messages about the ↵rubidium
deletion of companies as the removal of a company could lead to wrong names in the news messages.
2008-06-28(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' ↵frosch
into their own parameter.
2008-06-09(svn r13434) -Fix (r13317): news window with invalid news item could be shownsmatz
2008-06-05(svn r13389) -Codechange: remove NM_CALLBACK because that information could ↵rubidium
be gathered from the fact that a callback has been specified. Patch by Cirdan.
2008-06-01(svn r13349) -Codechange: remove a pointless flag; the flag is set before ↵rubidium
calling a function and is then reset in the function without ever reading it. Patch by Cirdan.
2008-05-30(svn r13345) -Codechange: only one of all the NewsItem's instance duration ↵rubidium
variable, so move it so there is only once instance of that variable. Patch by Cirdan.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-28(svn r13317) -Codechange: make news messages use a linked list instead of a ↵rubidium
moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan. -Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
2008-05-28(svn r13316) -Codechange: move some functions around to make them grouped ↵rubidium
more logically.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-19(svn r13181) -Codechange: make news callback handling a little simpler. ↵rubidium
Patch by Cirdan.
2008-05-18(svn r13154) -Codechange: make a window class of the news message history ↵rubidium
window.
2008-05-17(svn r13151) -Codechange: use an enum instead of bool as return type of ↵rubidium
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
2008-05-17(svn r13147) -Codechange: move the code to draw bankruptcy news to news_gui.cpp.rubidium
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.