summaryrefslogtreecommitdiffstats
path: root/src/ui/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/image.cpp')
-rw-r--r--src/ui/image.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/image.cpp b/src/ui/image.cpp
index f229585..9019858 100644
--- a/src/ui/image.cpp
+++ b/src/ui/image.cpp
@@ -16,8 +16,6 @@
// image.cpp
-#define STRICT
-#define D3D_OVERLOADS
#include <windows.h>
#include <stdio.h>
@@ -55,7 +53,7 @@ CImage::~CImage()
// Creates a new button.
-bool CImage::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
+bool CImage::Create(Math::Point pos, Math::Point dim, int icon, EventMsg eventMsg)
{
if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
@@ -106,7 +104,7 @@ bool CImage::EventProcess(const Event &event)
void CImage::Draw()
{
- FPOINT uv1,uv2, corner, pos, dim;
+ Math::Point uv1,uv2, corner, pos, dim;
float dp;
if ( (m_state & STATE_VISIBLE) == 0 ) return;