summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
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.
2008-05-16(svn r13115) -Codechange: make a window subclass of the MessageOptionsWindow.rubidium
2008-05-16(svn r13114) -Codechange: use InvalidateData instead of direct window access ↵rubidium
to modify the state of the statusbar from outside the statusbar.
2008-05-15(svn r13111) -Documentation: update the documentation of AddNewsItem to ↵rubidium
reflect reality. Patch by Cirdan.
2008-05-15(svn r13102) -Codechange: make a class of the NewsWindow.rubidium
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-05-13(svn r13065) -Codechange: remove the need for the news string callbacks. ↵rubidium
Patch by Cirdan.
2008-05-11(svn r13047) -Codechange: remove vp_dglx
2008-05-11(svn r13043) -Codechange: remove some duplicate variables from news_d.rubidium
2008-05-10(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the ↵rubidium
same thing.
2008-05-08(svn r13021) -Codechange: free data_b for other uses when it is not used to ↵rubidium
store a second tile to skip to (in news messages). Patch by cirdan.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-05(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a ↵peter1138
'Location' button, a town/station/industry list, or some news items.
2008-05-05(svn r12952) -Cleanup: Indenting and codestylepeter1138
2008-04-22(svn r12842) -Codechange [FS#1604]: scale message history by map sizeglx
2008-04-20(svn r12805) -Codechange: remove some bit magic related to the news display ↵rubidium
states. Patch by cirdan.
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-19(svn r12785) -Codechange: put all news-type related constants in the same ↵rubidium
array. Patch by cirdan.
2008-04-18(svn r12762) -Fix: tabs after the first non-tab character are generally not ↵rubidium
okay (or lines starting with a space and then tabs).
2008-04-17(svn r12750) -Fix (r12749): viewport for industry new messages was not shown ↵rubidium
properly.
2008-04-13(svn r12683) -Fix [FS#1906]: in some cases a news messages would not be shown.rubidium
2008-03-28(svn r12475) -Codechange: cleanup coding style in news_gui.cpp.rubidium
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-01-17(svn r11909) -Codechange: use dropdown widget for player livery, network ↵peter1138
lobby/setup and news settings windows
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-07(svn r11588) -Codechange: use the new member introduced in r11551glx
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-26(svn r11526) -Codechange: Rename the function delta fitting to the naming styleskidd13