aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/mactextwindow.cpp4
-rw-r--r--graphics/macgui/mactextwindow.h9
2 files changed, 3 insertions, 10 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 7ed04247fa..668b3c7e76 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -35,7 +35,9 @@ enum {
kConWPadding = 3,
kConHPadding = 4,
kConOverscan = 3,
- kConScrollStep = 12
+ kConScrollStep = 12,
+
+ kCursorHeight = 12
};
static void cursorTimerHandler(void *refCon);
diff --git a/graphics/macgui/mactextwindow.h b/graphics/macgui/mactextwindow.h
index a005ad93e8..313b05b60a 100644
--- a/graphics/macgui/mactextwindow.h
+++ b/graphics/macgui/mactextwindow.h
@@ -28,10 +28,6 @@
namespace Graphics {
-enum {
- kCursorHeight = 12
-};
-
struct SelectedText {
int startX, startY;
int endX, endY;
@@ -55,11 +51,6 @@ public:
virtual bool processEvent(Common::Event &event);
- /**
- * Similar to that described in BaseMacWindow.
- * @param g See BaseMacWindow.
- * @param forceRedraw If true, the borders are guarranteed to redraw.
- */
virtual bool draw(ManagedSurface *g, bool forceRedraw = false);
void setTextWindowFont(const MacFont *macFont);