Add censoring to input box and add user ID request box when a user ID has not been established in the emscripten port.
This commit is contained in:
@@ -38,9 +38,11 @@ All rights reserved.
|
||||
|
||||
#include "Menu.h"
|
||||
#include "MenuLabel.h"
|
||||
#include "TextEntryLabel.h"
|
||||
|
||||
void Menu::InitializeUserIDWindow(){
|
||||
Menu*userIDWindow=CreateMenu(USER_ID,CENTERED,vi2d{144,96});
|
||||
Menu*userIDWindow=CreateMenu(USER_ID,CENTERED,vi2d{168,120});
|
||||
|
||||
userIDWindow->ADD("User ID Creation Explanation",MenuLabel)({{0,0},{144,96}},"user_id_message"_FS+"\n\n"+"user_id_message2"_FS,1.f,ComponentAttr::SHADOW|ComponentAttr::BACKGROUND|ComponentAttr::OUTLINE)END;
|
||||
userIDWindow->ADD("User ID Creation Explanation",MenuLabel)({{0,-4},{168,92}},"user_id_message"_FS+"\n\n"+"user_id_message2"_FS,1.f,ComponentAttr::SHADOW|ComponentAttr::BACKGROUND|ComponentAttr::OUTLINE)END;
|
||||
userIDWindow->ADD("User ID Input",TextEntryLabel)({{36,94},{96,12}},true,24U,1.f,ComponentAttr::BACKGROUND|ComponentAttr::FIT_TO_LABEL|ComponentAttr::OUTLINE|ComponentAttr::SHADOW)END;
|
||||
}
|
||||
Reference in New Issue
Block a user