mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 14:09:28 +00:00
insert key up events for synthetic events
svn-id: r26654
This commit is contained in:
parent
9bf84a30ef
commit
1337ce8296
@ -1,5 +1,5 @@
|
||||
/* ScummVM - Scumm Interpreter
|
||||
* Copyright (C) 2001-2006 The ScummVM project
|
||||
* Copyright (C) 2001-2007 The ScummVM project
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@ -39,7 +39,8 @@ namespace CEGUI {
|
||||
bool ItemAction::action(int x, int y, bool pushed) {
|
||||
|
||||
if (checkInside(x, y) && _visible && pushed) {
|
||||
GUI::Actions::Instance()->perform(_action);
|
||||
GUI::Actions::Instance()->perform(_action, true);
|
||||
GUI::Actions::Instance()->perform(_action, false);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user