Skip to content

Commit

Permalink
WAGE: Rename function to CamelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Feb 14, 2016
1 parent ed3372d commit 81fb449
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engines/wage/gui.cpp
Expand Up @@ -111,7 +111,7 @@ static const byte macCursorBeam[] = {
0, 0, 3, 3, 3, 0, 0, 3, 3, 3, 3,
};

static void cursor_timer_handler(void *refCon) {
static void cursorTimerHandler(void *refCon) {
Gui *gui = (Gui *)refCon;

int x = gui->_cursorX;
Expand Down Expand Up @@ -171,15 +171,15 @@ Gui::Gui(WageEngine *engine) {

loadFonts();

g_system->getTimerManager()->installTimerProc(&cursor_timer_handler, 200000, this, "wageCursor");
g_system->getTimerManager()->installTimerProc(&cursorTimerHandler, 200000, this, "wageCursor");

_menu = new Menu(this);
}

Gui::~Gui() {
_screen.free();
_console.free();
g_system->getTimerManager()->removeTimerProc(&cursor_timer_handler);
g_system->getTimerManager()->removeTimerProc(&cursorTimerHandler);
delete _menu;
}

Expand Down Expand Up @@ -531,7 +531,7 @@ void Gui::drawInput() {
// undraw cursor
_cursorOff = true;
_cursorState = false;
cursor_timer_handler(this);
cursorTimerHandler(this);
_cursorOff = false;

Common::Rect r(x, y, x + textW + 10, y + font->getFontHeight());
Expand Down

0 comments on commit 81fb449

Please sign in to comment.