Enable Keyboard input overlay when using Steam Big Picture. Enable Fullscreen automatically when using Steam Big Picture. Release Build 8394.
This commit is contained in:
@@ -45,6 +45,9 @@ All rights reserved.
|
||||
#include "SaveFileNameButton.h"
|
||||
#include "TextEntryLabel.h"
|
||||
#include "Checkbox.h"
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#include <isteamutils.h>
|
||||
#endif
|
||||
|
||||
INCLUDE_game
|
||||
using A=Attribute;
|
||||
@@ -68,6 +71,12 @@ void Menu::InitializeClassSelectionWindow(){
|
||||
Component<TextEntryLabel>(SAVE_FILE_NAME,"Save File Name Text Entry")->SetInput(std::string(SaveFile::GetSaveFileName()));
|
||||
game->TextEntryEnable(true);
|
||||
Menu::OpenMenu(SAVE_FILE_NAME);
|
||||
vf2d textboxWindowPos=data.component.lock()->rect.pos*game->GetPixelSize();
|
||||
vf2d textboxWindowSize=data.component.lock()->rect.size*game->GetPixelSize();
|
||||
|
||||
if(SteamUtils()){
|
||||
SteamUtils()->ShowGamepadTextInput(k_EGamepadTextInputModeNormal,k_EGamepadTextInputLineModeSingleLine,"Character Name:",16U,std::string(SaveFile::GetSaveFileName()).c_str());
|
||||
}
|
||||
return true;
|
||||
},vf2d{2.f,2.f})END;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user