From ca130a19b36a78c6a23aa56c6ea82eaa187b0a06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Aug 2016 01:24:49 +0300 Subject: Use time_t for time values. --- src/gui/widgets/browserbox.h | 2 +- src/gui/widgets/tabs/debugwindowtabs.h | 2 +- src/gui/widgets/textfield.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index d0655631c..74acc8847 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -228,7 +228,7 @@ class BrowserBox final : public Widget, int mHeight; int mWidth; int mYStart; - int mUpdateTime; + time_t mUpdateTime; int mPadding; unsigned int mNewLinePadding; int mItemPadding; diff --git a/src/gui/widgets/tabs/debugwindowtabs.h b/src/gui/widgets/tabs/debugwindowtabs.h index ca1527fa6..43292bcd5 100644 --- a/src/gui/widgets/tabs/debugwindowtabs.h +++ b/src/gui/widgets/tabs/debugwindowtabs.h @@ -68,7 +68,7 @@ class MapDebugTab final : public DebugTab Label *mMapActorCountLabel A_NONNULLPOINTER; Label *mXYLabel A_NONNULLPOINTER; Label *mTexturesLabel A_NONNULLPOINTER; - int mUpdateTime; + time_t mUpdateTime; #ifdef DEBUG_DRAW_CALLS Label *mDrawCallsLabel A_NONNULLPOINTER; #endif diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h index 89606d27c..aa016ef04 100644 --- a/src/gui/widgets/textfield.h +++ b/src/gui/widgets/textfield.h @@ -277,7 +277,7 @@ class TextField notfinal : public Widget, static ImageRect skin; int mMinimum; int mMaximum; - int mLastEventPaste; + time_t mLastEventPaste; int mPadding; bool mNumeric; bool mLoseFocusOnTab; -- cgit v1.2.3-70-g09d2