summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-08-05(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵michi_cc
just UCS-2 to the window key press handlers.
2013-06-30(svn r25533) -Codechange: Use SetCapacityFromWidget more often.frosch
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-03-17(svn r25093) -Fix [FS#5486]: Clicking the statusbar crashed, when news were ↵frosch
pending but no news were shown yet. (3298)
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-12-23(svn r24845) -Add: News ticker sound setting to adv. settings window.frosch
2012-12-23(svn r24843) -Codechange: Move news display options into the general ↵frosch
settings framework. (based on patch by eagle_rainbow)
2012-12-23(svn r24842) -Remove: News settings window.frosch
2012-12-08(svn r24802) -Fix [FS#4224]: When displaying the previous news message, ↵frosch
don't consider news which are turned off.
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.