I’m trying to create a message box with buttons in it and I now has 2 issues / questions:
How does the color scheme for a specific button work? I know there is a colorScheme pointer inside the SDL_MessageBoxData, which I’ve created, but even if I, for example, set the SDL_MESSAGEBOX_COLOR_BACKGROUND to red, the message box background color is the default (gray). Am I missing something?
How can I prevent the user from access the SDL window when the message box is open? When I have a message box open and the user clicks on the SDL window (which is behind the message box), I want the focus to return / remain on the message box. Can this be done?