summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
commitca130a19b36a78c6a23aa56c6ea82eaa187b0a06 (patch)
treea22f311c5698f3f4ee370c0f1d3cb05230a1da95 /src/gui/widgets
parenteeffaaf3ab0593f815e772bfb523b9e7a94d45f5 (diff)
downloadplus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.gz
plus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.bz2
plus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.xz
plus-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.zip
Use time_t for time values.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/browserbox.h2
-rw-r--r--src/gui/widgets/tabs/debugwindowtabs.h2
-rw-r--r--src/gui/widgets/textfield.h2
3 files changed, 3 insertions, 3 deletions
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;