aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/eventman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/eventman.cpp')
-rw-r--r--engines/lab/eventman.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/engines/lab/eventman.cpp b/engines/lab/eventman.cpp
index 000aaa7cb6..d2cf508391 100644
--- a/engines/lab/eventman.cpp
+++ b/engines/lab/eventman.cpp
@@ -59,10 +59,6 @@ static const byte mouseData[] = {
#define MOUSE_WIDTH 10
#define MOUSE_HEIGHT 15
-/**
- * Checks whether or not the cords fall within one of the buttons in a list
- * of buttons.
- */
Button *EventManager::checkButtonHit(ButtonList *buttonList, Common::Point pos) {
for (ButtonList::iterator buttonItr = buttonList->begin(); buttonItr != buttonList->end(); ++buttonItr) {
Button *button = *buttonItr;
@@ -151,9 +147,6 @@ void EventManager::updateMouse() {
_vm->_graphics->screenUpdate();
}
-/**
- * Initializes the mouse.
- */
void EventManager::initMouse() {
g_system->setMouseCursor(mouseData, MOUSE_WIDTH, MOUSE_HEIGHT, 0, 0, 0);
g_system->showMouse(false);
@@ -161,9 +154,6 @@ void EventManager::initMouse() {
setMousePos(Common::Point(0, 0));
}
-/**
- * Shows the mouse.
- */
void EventManager::mouseShow() {
if (_mouseHidden) {
processInput();
@@ -173,9 +163,6 @@ void EventManager::mouseShow() {
g_system->showMouse(true);
}
-/**
- * Hides the mouse.
- */
void EventManager::mouseHide() {
if (!_mouseHidden) {
_mouseHidden = true;
@@ -184,10 +171,6 @@ void EventManager::mouseHide() {
}
}
-/**
- * Gets the current mouse co-ordinates. NOTE: On IBM version, will scale
- * from virtual to screen co-ordinates automatically.
- */
Common::Point EventManager::getMousePos() {
if (_vm->_isHiRes)
return _mousePos;
@@ -195,9 +178,6 @@ Common::Point EventManager::getMousePos() {
return Common::Point(_mousePos.x / 2, _mousePos.y);
}
-/**
- * Moves the mouse to new co-ordinates.
- */
void EventManager::setMousePos(Common::Point pos) {
if (_vm->_isHiRes)
g_system->warpMouse(pos.x, pos.y);
@@ -208,9 +188,6 @@ void EventManager::setMousePos(Common::Point pos) {
processInput();
}
-/**
- * Checks whether or not a key has been pressed.
- */
bool EventManager::keyPress(Common::KeyCode *keyCode) {
if (haveNextChar()) {
*keyCode = getNextChar();