summaryrefslogtreecommitdiff
path: root/src/statusbar_gui.cpp
AgeCommit message (Collapse)Author
2020-12-22Change: [Linkgraph] Pause the game when linkgraph jobs lag (#6470)Jonathan G Rennison
Check if the job is still running two date fract ticks before it is due to join, and if so pause the game until its done. When loading a game, check if the game would block immediately due to a job which is scheduled to be joined within two date fract ticks, and if so pause the game until its done. This avoids the main thread being blocked on a thread join, which appears to the user as if the game is unresponsive, as the UI does not repaint and cannot be interacted with. Show if pause is due to link graph job in status bar, update network messages. This does not apply for network clients.
2020-07-15Feature: Center text and icons in the status bar vertically (#8273)Pavel Stupnikov
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-08-03Feature: Allow showing Newspaper and Ticker messages in parallelJohannes E. Krause
2019-04-24Fix: Scale news ticker scroll speed by UI scaleNiels 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.
2015-02-13(svn r27146) -Fix: Make statusbar and chat-entry window use the same width ↵frosch
as the toolbar. Otherwise they lack a size definition.
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-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25289) -Codechange: Store width of statusbar and main toolbar directly ↵frosch
in the WindowDesc.
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2012-12-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2011-12-16(svn r23547) -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-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-04(svn r21955) -Cleanup: always show the long date in the status barrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-13(svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is ↵rubidium
configurable, why isn't the statusbar's location configurable?
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-09-03(svn r20722) -Fix (r20719): signed/unsigned side effect makes a small ↵glx
negative value become a big positive value
2010-09-02(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive ↵frosch
rights and unread news.
2010-09-02(svn r20719) -Codechange: Remove some hardcoded iconsizes.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-19(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use ↵rubidium
VARDEF and put them in a more logical location
2010-07-02(svn r20043) -Codechange: Introduce vertical alignment for ↵alberth
DrawStringMultiLine().
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
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
2009-12-21(svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not ↵frosch
update the news ticker.
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-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-23(svn r18262) -Codechange: make the status bar big font awarerubidium
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
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-11-02(svn r17947) -Codechange: make the statusbar, chat input and news window ↵rubidium
know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-04(svn r17691) -Codechange: make the status bar nestedrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium