summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-05-26(svn r24285) -Codechange: Add a more explcit NewsFlag to indicate that the ↵frosch
first string parameter is a vehicle ID.
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-05-26(svn r24281) -Cleanup: Merge all company news subtypes into a single one; ↵frosch
they all behave the same.
2012-05-26(svn r24280) -Cleanup: Remove uselessly duplicated code to set string ↵frosch
parameters in company news.
2012-02-11(svn r23924) -Fix [FS#5054]: [NoGo] "Some" news messages would cause an ↵rubidium
assertion to be triggered due to a missing proper location for the viewport of the news message, so only allow building when valid data for the viewport is provided or no viewport is used
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-20(svn r23643) -Fix [FS#4896]: dates cut off in the message historyrubidium
2011-12-19(svn r23627) -Add: ScriptNews::Create, to create custom news messages ↵truebrain
(GameScript only)
2011-12-19(svn r23601) -Fix: fix the conflict in window numbertruebrain
2011-12-16(svn r23552) -Codechange: unify naming of the news widgetstruebrain
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
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
2011-12-13(svn r23509) -Fix [FS#4884]: Drawing of newspaper headlines used different ↵frosch
padding than the initial sizing of the window.
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-09-05(svn r22897) -Change: More suitable default news settings instead of ↵frosch
everything on 'full'.
2011-05-06(svn r22429) -Add: some constants for specific palette colours used in the GUI.frosch
2011-05-04(svn r22421) -Fix: Replace various references to Windows palette greyscale ↵frosch
indices with the DOS palette indices.
2011-05-02(svn r22410) -Document: some more bits ;)rubidium
2011-04-29(svn r22383) -Codechange: Rename PALETTE_TO_STRUCT_GREY to PALETTE_NEWSPAPER ↵frosch
as it does not belong to the other PALETTE_TO_STRUCT_xxx recolourings.
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-05(svn r21987) -Fix: Make news items, engine previews and AI preview events ↵frosch
deal with no longer existing Engine items after resetting the pool.
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2010-12-10(svn r21458) -Fix [FS#4180]: possible crash when news item gets removed at ↵rubidium
just the wrong moment
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-18(svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the ↵rubidium
middle; let it follow the setting of the statusbar instead
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-08-12(svn r20470) -Codechange: Make arrow buttons lower and raise like other ↵frosch
buttons when clicked.
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
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.
2010-08-12(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-07-02(svn r20043) -Codechange: Introduce vertical alignment for ↵alberth
DrawStringMultiLine().
2010-06-07(svn r19944) -Feature(ette): Open vehicle view when clicking on the caption ↵frosch
of vehicle news.
2010-06-07(svn r19943) -Fix [FS#3865]: Disallow moving of vehicle news window.frosch
2010-06-04(svn r19921) -Fix [FS#3865]: closing chatbox could cause glitches when news ↵smatz
message was shown
2010-02-12(svn r19105) -Fix [FS#3614]: not all news data was properly freed when ↵yexo
starting a new game
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-04(svn r18717) -Codechange: use TileArea in industry instead of three separate ↵rubidium
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2009-12-21(svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not ↵frosch
update the news ticker.
2009-12-21(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.alberth
2009-12-13(svn r18492) -Doc: A few Doxygen reference fixes (NewsSubtype reported by ↵alberth
Eddi), and a typo fix.
2009-11-29(svn r18349) -Fix (r18347): Older compilers want explicit assignments.alberth
2009-11-29(svn r18347) -Codechange: Compute width of labels in news settings window once.alberth
2009-11-29(svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be ↵rubidium
displayed fully. Fix by erikjanp.
2009-11-28(svn r18324) -Codechange: there's no need for a default size when the window ↵rubidium
isn't resizable
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.