mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Replaced clickLeft with clickPressed clickReleased methods
This commit is contained in:
@@ -43,10 +43,10 @@ void CreditsScreen::show(Canvas & to)
|
||||
|
||||
//end of credits, close this screen
|
||||
if(credits->textSize.y + 600 < positionCounter / 2)
|
||||
clickLeft(false, false);
|
||||
clickPressed(GH.getCursorPosition());
|
||||
}
|
||||
|
||||
void CreditsScreen::clickLeft(tribool down, bool previousState)
|
||||
void CreditsScreen::clickPressed(const Point & cursorPosition)
|
||||
{
|
||||
CTabbedInt * menu = dynamic_cast<CTabbedInt *>(parent);
|
||||
assert(menu);
|
||||
|
||||
Reference in New Issue
Block a user