mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
PETKA: implemented right button event in panel and map interfaces
This commit is contained in:
@@ -156,4 +156,8 @@ void InterfaceMap::onMouseMove(const Common::Point p) {
|
||||
}
|
||||
}
|
||||
|
||||
void InterfaceMap::onRightButtonDown(const Common::Point p) {
|
||||
stop();
|
||||
}
|
||||
|
||||
} // End of namespace Petka
|
||||
|
||||
@@ -33,6 +33,7 @@ public:
|
||||
void stop() override;
|
||||
|
||||
void onLeftButtonDown(const Common::Point p) override;
|
||||
void onRightButtonDown(const Common::Point p) override;
|
||||
void onMouseMove(const Common::Point p) override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -321,4 +321,8 @@ void InterfacePanel::applySettings() {
|
||||
g_vm->syncSoundSettings();
|
||||
}
|
||||
|
||||
void InterfacePanel::onRightButtonDown(const Common::Point p) {
|
||||
stop();
|
||||
}
|
||||
|
||||
} // End of namespace Petka
|
||||
|
||||
@@ -35,6 +35,7 @@ public:
|
||||
void stop() override;
|
||||
|
||||
void onLeftButtonDown(const Common::Point p) override;
|
||||
void onRightButtonDown(const Common::Point p) override;
|
||||
void onMouseMove(const Common::Point p) override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user