summaryrefslogtreecommitdiff
path: root/src/highscore_gui.cpp
AgeCommit message (Collapse)Author
2021-05-29Codechange: Rename window related DeleteXXX to match new behaviourglx22
2021-05-29Fix f6d5c01: Delay deletion when closing windowsglx22
2021-05-08Fix #9209: Excessive time resizing highscore/news window when screen is too ↵PeterN
small. (#9210) If the highscore/news window panel size, which is now scaled by GUI zoom, is larger than the screen size, a loop will be entered where the window is repeatedly resized. This is resolved by removing the minimal size from the panel, as the window is always resized to cover the screen anyway. This means the screen size can never be too small.
2021-02-13Fix #8625: Wrong ending year was displayed in highscore tableCharles Pigott
2021-01-22Change: Apply some consistency to singleplayer related commentsglx22
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-02Fix #7702: Scaling for highscore screenNiels 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
2014-09-21(svn r26871) -Codechange: Centre and draw arbitrary size highscore screen. ↵peter1138
Highscore text continues to be drawn with 640x480 dimensions.
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-29(svn r25513) -Fix [FS#5623]: the high score's company/president name was ↵rubidium
stored with encoded string codes, causing it to cause trouble when the encoding of the string codes changes. Furthermore, check the incoming dangerous content better
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-01-14(svn r24915) -Fix: Several out-of-bounds readssmatz
2013-01-08(svn r24898) -Fix: Don't unpause the game when closing the highscore window ↵zuu
if it was already paused before the highscore screen was shown.
2012-12-05(svn r24790) -Remove: Classic difficulty profiles.frosch
2012-12-05(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles ↵frosch
and highscore tables.
2011-12-16(svn r23534) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
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-09-15(svn r22932) -Fix [FS#4766]: disable the white border on window creation for ↵yexo
several windows (based on patch by monoid)
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
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-04(svn r20074) -Fix (r20065): highscore window should use the same hotkey for ↵yexo
quit as the toolbar
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-02(svn r18690) -Fix [FS#3469]: some keys that open windows that want to be ↵rubidium
located relatively to the toolbars/statusbar could cause a crash when in one of the end game screens
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-23(svn r18254) -Codechange: make the highscore windows big font aware-ish till ↵rubidium
the point that it still fits within the graphics
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-10-17(svn r17791) -Codechange: Highscore and endgame windows use pure nested widgets.alberth
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-04-26(svn r16162) -Codechange: remove needless TC_ colours from DrawString when ↵rubidium
they are part of strings and add some colours to a few strings.
2009-04-26(svn r16156) -Codechange: make the parameters of DrawStringMultiline the ↵rubidium
same as for DrawString (except the addition of the bottom parameter)
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-11(svn r16031) -Codechange: Added nested widgets to highscore and endgame windows.alberth
2009-03-24(svn r15839) -Fix: high score text was (partly) off-screen when using RTL ↵rubidium
and the window was wider than 640 pixels
2009-03-22(svn r15803) -Codechange: use the new text drawing API for multicenterrubidium
-Fix (r15800): off-by-one w.r.t. offsets