summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
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.
2009-11-28(svn r18318) -Codechange: add an enum value for manual window placementrubidium
2009-11-28(svn r18311) -Codechange: no need to hardcode locations of some 'random' windowsrubidium
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-23(svn r18257) -Fix: glitch when the news message is wider than the status barrubidium
2009-11-23(svn r18252) -Fix: crash when news is shown when the end game window is ↵rubidium
opened (status bar goes missing for a while etc.)
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth