summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
2021-04-22Codechange: Add widget text colour override property.Peter Nelson
2021-04-22Codechange: Add internal widget alignment property, along with widget part.Peter Nelson
2021-04-21Cleanup: Remove unnecessary parameter of GetScrolledRowFromWidget()Peter Nelson
Line height defaults to the resize height of the relevant widget, which is set in all cases. Therefore it is not necessary to specify this value every time. Additionally fixes scrolled padding for the framerate window.
2021-02-20Codechange: rename sound ids to make more sense. (#8701)frosch
2021-02-18Fix: Unnecessary status bar redraws when there is no news to show (#8691)Jonathan G Rennison
InvalidateWindowData with mode SBI_NEWS_DELETED was called on the status bar when checking for a new item of news to be shown in the ticker, even if there is no news queued and no change occurs.
2021-02-13Fix #8620: Scale spacing between date & news in history window according to ↵Charles Pigott
font scaling
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-09-24Feature: Make news and errors close hotkeys configurabledP
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2020-06-27Fix #8129: Crash if a news message expires while viewing the endgame screenCharles Pigott
2020-06-09Cleanup: Give `SetDirtyBlocks` a more descriptive name.TechGeekNZ
2020-03-06Change: Keep News Window usable by only storing the 1024 latest news messagesCharles Pigott
2019-12-23Feature: Add a button to the vehicle advisory news window to open the group ↵stormcone
window.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-09-14Fix #7737, afbf6a5: missing returnJohannes E. Krause
2019-08-03Feature: Allow showing Newspaper and Ticker messages in parallelJohannes E. Krause
2019-04-29Fix #7255: Prevent crashlog corruption by only printing the 32 most recent ↵Charles Pigott
news messages
2019-04-24Fix: Manager name in company news was being clippedNiels Martin Hansen
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-01-11Change: Use GUITimer class instead of bare int/uints.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-04-13Add: List recent news messages in crashlog outputCharles Pigott
2017-03-31(svn r27838) -Fix: Small news window's fake caption (r19943) was not sized ↵peter1138
to fit its text.
2014-10-05(svn r26965) -Codechange: Add palette bit to indicate that palette is ↵peter1138
actually a text colour remap, and draw closebox as a sprite, using said bit. Change news popup to use closebox widget for its closebox.
2014-10-04(svn r26953) -Codechange: GUI-scale for company manager face on news popup.peter1138
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