summaryrefslogtreecommitdiffstats
path: root/src/ui/label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/label.cpp')
-rw-r--r--src/ui/label.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/label.cpp b/src/ui/label.cpp
index 288631c..5458d28 100644
--- a/src/ui/label.cpp
+++ b/src/ui/label.cpp
@@ -16,8 +16,6 @@
// label.cpp
-#define STRICT
-#define D3D_OVERLOADS
#include <windows.h>
#include <stdio.h>
@@ -50,7 +48,7 @@ CLabel::~CLabel()
// Creates a new button.
-bool CLabel::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
+bool CLabel::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
{
if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
@@ -72,7 +70,7 @@ bool CLabel::EventProcess(const Event &event)
void CLabel::Draw()
{
- FPOINT pos;
+ Math::Point pos;
if ( (m_state & STATE_VISIBLE) == 0 ) return;