From d99aa0f12634bed7b5101b4b5a64f50ee744961b Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 5 Jan 2010 01:37:57 +0000 Subject: More renaming svn-id: r47009 --- engines/sci/engine/kernel.cpp | 2 +- engines/sci/engine/kevent.cpp | 2 +- engines/sci/engine/kgraphics.cpp | 22 +++++++++++----------- engines/sci/engine/kmenu.cpp | 2 +- engines/sci/engine/kmovement.cpp | 2 +- engines/sci/engine/state.h | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) (limited to 'engines/sci/engine') diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 43451728f4..0b80871ce4 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -709,7 +709,7 @@ void kernel_sleep(SciEvent *event, uint32 msecs ) { while (true) { // let backend process events and update the screen event->get(SCI_EVENT_PEEK); - // TODO: we need to call SciGuiCursor::refreshPosition() before each screen update to limit the mouse cursor position + // TODO: we need to call Cursor::refreshPosition() before each screen update to limit the mouse cursor position g_system->updateScreen(); time = g_system->getMillis(); if (time + 10 < wakeup_time) { diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp index 8d04bc7354..e9ac8a3e45 100644 --- a/engines/sci/engine/kevent.cpp +++ b/engines/sci/engine/kevent.cpp @@ -30,7 +30,7 @@ #include "sci/debug.h" // for g_debug_simulated_key #include "sci/event.h" #include "sci/graphics/gui.h" -#include "sci/graphics/gui_cursor.h" +#include "sci/graphics/cursor.h" namespace Sci { diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 3021aa6f5b..4cc0086de3 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -34,10 +34,10 @@ #include "sci/engine/state.h" #include "sci/engine/kernel.h" #include "sci/graphics/gui.h" -#include "sci/graphics/gui_animate.h" -#include "sci/graphics/gui_cursor.h" -#include "sci/graphics/gui_screen.h" -#include "sci/graphics/gui_view.h" +#include "sci/graphics/animate.h" +#include "sci/graphics/cursor.h" +#include "sci/graphics/screen.h" +#include "sci/graphics/view.h" namespace Sci { @@ -701,12 +701,12 @@ void _k_GenericDrawControl(EngineState *s, reg_t controlObject, bool hilite) { reg_t textReference = GET_SEL32(s->_segMan, controlObject, text); Common::String text; Common::Rect rect; - GuiTextAlignment alignment; + TextAlignment alignment; int16 mode, maxChars, cursorPos, upperPos, listCount, i; int16 upperOffset, cursorOffset; GuiResourceId viewId; - GuiViewLoopNo loopNo; - GuiViewCelNo celNo; + LoopNo loopNo; + CelNo celNo; reg_t listSeeker; Common::String *listStrings = NULL; const char **listEntries = NULL; @@ -842,8 +842,8 @@ reg_t kEditControl(EngineState *s, int argc, reg_t *argv) { reg_t kAddToPic(EngineState *s, int argc, reg_t *argv) { GuiResourceId viewId; - GuiViewLoopNo loopNo; - GuiViewCelNo celNo; + LoopNo loopNo; + CelNo celNo; int16 leftPos, topPos, priority, control; switch (argc) { @@ -909,8 +909,8 @@ reg_t kSetPort(EngineState *s, int argc, reg_t *argv) { reg_t kDrawCel(EngineState *s, int argc, reg_t *argv) { GuiResourceId viewId = argv[0].toSint16(); - GuiViewLoopNo loopNo = argv[1].toSint16(); - GuiViewCelNo celNo = argv[2].toSint16(); + LoopNo loopNo = argv[1].toSint16(); + CelNo celNo = argv[2].toSint16(); uint16 x = argv[3].toUint16(); uint16 y = argv[4].toUint16(); int16 priority = (argc > 5) ? argv[5].toSint16() : -1; diff --git a/engines/sci/engine/kmenu.cpp b/engines/sci/engine/kmenu.cpp index d426b9f8a1..90cd2adbe9 100644 --- a/engines/sci/engine/kmenu.cpp +++ b/engines/sci/engine/kmenu.cpp @@ -28,7 +28,7 @@ #include "sci/engine/state.h" #include "sci/engine/kernel.h" #include "sci/graphics/gui.h" -#include "sci/graphics/gui_cursor.h" +#include "sci/graphics/cursor.h" namespace Sci { diff --git a/engines/sci/engine/kmovement.cpp b/engines/sci/engine/kmovement.cpp index da667037c6..1aef51a276 100644 --- a/engines/sci/engine/kmovement.cpp +++ b/engines/sci/engine/kmovement.cpp @@ -27,7 +27,7 @@ #include "sci/resource.h" #include "sci/engine/state.h" #include "sci/engine/kernel.h" -#include "sci/graphics/gui_animate.h" +#include "sci/graphics/animate.h" namespace Sci { diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h index da5ccdf73e..26e4893b27 100644 --- a/engines/sci/engine/state.h +++ b/engines/sci/engine/state.h @@ -52,7 +52,7 @@ namespace Sci { class SciEvent; class Menubar; class SciGui; -class SciGuiCursor; +class Cursor; class MessageState; class SoundCommandParser; -- cgit v1.2.3