I’m currently working on the menu for a game and I’ve tried searching for information on how to create a textbox within the menu for some particular options such as the name of the player, and I haven’t found any useful information about it.
I am using DirectInput for the keyboard input for the game itself, but it seems that would be far too ‘over-sensitive’ for typing into a textbox. How would I create a textbox that could reliably accept input?
When it comes to game UIs, they rely upon non-OS primitives so that they can be styled and flow exactly as the game designers intend. Also using non-OS primitives allows better integration with the game engine. A popular open source game UI toolkit is CEGUI. If you want a UI toolkit for debug purposes I’d look at AntTweakBar. And finally a UI toolkit provided by the DirectX SDK is the DXUT (Look at DX9 SDK samples for the DXUT 9 version).