mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
change naming
This commit is contained in:
@ -427,7 +427,7 @@ QuickSpellPanel::QuickSpellPanel(BattleInterface & owner)
|
||||
{
|
||||
OBJECT_CONSTRUCTION_CAPTURING(255-DISPOSE);
|
||||
|
||||
addUsedEvents(LCLICK | SHOW_POPUP | MOVE | INPUT_MODI_CHANGE);
|
||||
addUsedEvents(LCLICK | SHOW_POPUP | MOVE | INPUT_MODUS_CHANGE);
|
||||
|
||||
pos = Rect(0, 0, 52, 600);
|
||||
background = std::make_shared<CFilledTexture>(ImagePath::builtin("DIBOXBCK"), pos);
|
||||
@ -483,7 +483,7 @@ void QuickSpellPanel::create()
|
||||
{
|
||||
buttonsDisabled.push_back(std::make_shared<TransparentFilledRectangle>(Rect(2, 7 + 50 * i, 48, 36), ColorRGBA(0, 0, 0, 172)));
|
||||
}
|
||||
if(GH.input().getCurrentInputModi() == InputModi::MOUSE)
|
||||
if(GH.input().getCurrentInputModus() == InputModus::MOUSE)
|
||||
labels.push_back(std::make_shared<CLabel>(7, 10 + 50 * i, EFonts::FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, config["keyboard"]["battleSpellShortcut" + std::to_string(i)].String()));
|
||||
|
||||
buttons.push_back(button);
|
||||
@ -496,7 +496,7 @@ void QuickSpellPanel::show(Canvas & to)
|
||||
CIntObject::show(to);
|
||||
}
|
||||
|
||||
void QuickSpellPanel::inputModiChanged(InputModi modi)
|
||||
void QuickSpellPanel::inputModusChanged(InputModus modi)
|
||||
{
|
||||
create();
|
||||
redraw();
|
||||
|
Reference in New Issue
Block a user