summaryrefslogtreecommitdiffstats
path: root/src/ui/button.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-11 17:28:27 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-11 17:28:27 +0200
commita8665d204255b4b0ad9ae6982f77ecd5e053c1b6 (patch)
tree5f7e58785f5175e7f067ffaf8f96d16272c92d1e /src/ui/button.cpp
parent8ffdf2583e4ea77731490dcaad51dbc08d7f26fa (diff)
downloadcolobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.tar.gz
colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.tar.bz2
colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.zip
Changed #defined constants to consts; typedef struct -> struct
Diffstat (limited to 'src/ui/button.cpp')
-rw-r--r--src/ui/button.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/button.cpp b/src/ui/button.cpp
index 697122c..701971c 100644
--- a/src/ui/button.cpp
+++ b/src/ui/button.cpp
@@ -33,8 +33,8 @@
-#define DELAY1 0.4f
-#define DELAY2 0.1f
+const float DELAY1 = 0.4f;
+const float DELAY2 = 0.1f;