mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	change naming
This commit is contained in:
		| @@ -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().getCurrentInputMode() == InputMode::MOUSE) | ||||
| 		if(GH.input().getCurrentInputMode() == InputMode::KEYBOARD_AND_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); | ||||
|   | ||||
| @@ -25,7 +25,7 @@ class InputSourceGameController; | ||||
|  | ||||
| enum class InputMode | ||||
| { | ||||
| 	MOUSE, | ||||
| 	KEYBOARD_AND_MOUSE, | ||||
| 	TOUCH, | ||||
| 	CONTROLLER | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user