mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Mainly more improvements in CPreGame
This commit is contained in:
@ -28,6 +28,10 @@ void CButtonBase::show()
|
||||
|
||||
}
|
||||
}
|
||||
ClickableL::ClickableL()
|
||||
{
|
||||
pressedL=false;
|
||||
}
|
||||
void ClickableL::clickLeft(tribool down)
|
||||
{
|
||||
if (down)
|
||||
@ -44,6 +48,10 @@ void ClickableL::deactivate()
|
||||
LOCPLINT->lclickable.erase
|
||||
(std::find(LOCPLINT->lclickable.begin(),LOCPLINT->lclickable.end(),this));
|
||||
}
|
||||
ClickableR::ClickableR()
|
||||
{
|
||||
pressedR=false;
|
||||
}
|
||||
void ClickableR::activate()
|
||||
{
|
||||
LOCPLINT->rclickable.push_back(this);
|
||||
|
Reference in New Issue
Block a user