![]() MapNameS.erase(mapNameS.getSize() -1, mapNameS. Im currently getting the input like this: void newMapScreen::updateWithWindow(sf::RenderWindow &Window) Also is there any way i can use the keyboard without checking for every key on the keyboard? Anyway i can handle the textinput from the window class and acsess it in my newMapScreen class? Ik its a hard question to understand sorry guys. I need to get real time text input much like doing if(sf::Keyboard::isKeyPressed(sf::Keyboard:::Key)). ![]() The user has to hold down the button for 1+ seconds before the program can register the key entered. I created a event loop by passing in the Window in this newMapScreen class but it registers events very slowly. Very Useful For Designers and Data Entry Operators. Convert Iskoola Potha Unicode Text to FM-Malithi ASCII Text. In my newMapScreen class i need to get text input from the user to name a Map they are creating. Sinhala Unicode to FFMAbhaya Font Converter. I also have a ScreenManager class that handles the different screens. ![]() Im writing a SFML program were the main window is handled in the Window.cpp class.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |