fixed spllng
svn-id: r4581
This commit is contained in:
parent
11973531b4
commit
0e141368b0
3 changed files with 4 additions and 4 deletions
|
@ -84,7 +84,7 @@ void Dialog::handleMouseDown(int x, int y, int button)
|
||||||
|
|
||||||
// Tell the new focused widget (if any) that it just gained the focus.
|
// Tell the new focused widget (if any) that it just gained the focus.
|
||||||
if (w)
|
if (w)
|
||||||
w->recievedFocus();
|
w->receivedFocus();
|
||||||
|
|
||||||
_focusedWidget = w;
|
_focusedWidget = w;
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,7 +99,7 @@ public:
|
||||||
virtual void handleKeyUp(char key, int modifiers) {}
|
virtual void handleKeyUp(char key, int modifiers) {}
|
||||||
virtual void handleTickle() {}
|
virtual void handleTickle() {}
|
||||||
void draw();
|
void draw();
|
||||||
void recievedFocus() { _hasFocus = true; recievedFocusWidget(); }
|
void receivedFocus() { _hasFocus = true; receivedFocusWidget(); }
|
||||||
void lostFocus() { _hasFocus = false; lostFocusWidget(); }
|
void lostFocus() { _hasFocus = false; lostFocusWidget(); }
|
||||||
|
|
||||||
void setFlags(int flags) { _flags |= flags; }
|
void setFlags(int flags) { _flags |= flags; }
|
||||||
|
@ -109,7 +109,7 @@ public:
|
||||||
protected:
|
protected:
|
||||||
virtual void drawWidget(bool hilite) {}
|
virtual void drawWidget(bool hilite) {}
|
||||||
|
|
||||||
virtual void recievedFocusWidget() {}
|
virtual void receivedFocusWidget() {}
|
||||||
virtual void lostFocusWidget() {}
|
virtual void lostFocusWidget() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2770,7 +2770,7 @@ void Scumm::o5_pickupObjectOld()
|
||||||
|
|
||||||
// FIXME: Zak256 (Zaire): Why does this happen at all?
|
// FIXME: Zak256 (Zaire): Why does this happen at all?
|
||||||
if (obj < 1) {
|
if (obj < 1) {
|
||||||
warning("pickupObjectOld recieved negative index");
|
warning("pickupObjectOld received negative index");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue