mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
UTLIMA8: Allow double click on entries in save gump
This commit is contained in:
parent
65150e3668
commit
cd4a24a53f
@ -218,6 +218,10 @@ void U8SaveGump::onMouseClick(int button, int32 mx, int32 my) {
|
||||
}
|
||||
}
|
||||
|
||||
void U8SaveGump::onMouseDouble(int button, int32 mx, int32 my) {
|
||||
onMouseClick(button, mx, my);
|
||||
}
|
||||
|
||||
void U8SaveGump::ChildNotify(Gump *child, uint32 message) {
|
||||
EditWidget *widget = dynamic_cast<EditWidget *>(child);
|
||||
if (widget && message == EditWidget::EDIT_ENTER) {
|
||||
|
@ -46,6 +46,7 @@ public:
|
||||
|
||||
Gump *onMouseDown(int button, int32 mx, int32 my) override;
|
||||
void onMouseClick(int button, int32 mx, int32 my) override;
|
||||
void onMouseDouble(int button, int32 mx, int32 my) override;
|
||||
bool OnKeyDown(int key, int mod) override;
|
||||
void ChildNotify(Gump *child, uint32 message) override;
|
||||
void OnFocus(bool gain) override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user