SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
WindowHelper.hpp File Reference
#include <Core/Logger.hpp>
#include <SDL3/SDL.h>
#include <iostream>

Go to the source code of this file.

Classes

struct  Sleak::MessageBoxColorScheme

Namespaces

namespace  Sleak
 Root namespace for everything the engine exposes.

Enumerations

enum  Sleak::MessageBoxReturn { Sleak::Ok = 0 , Sleak::Yes = 1 , Sleak::No = 2 , Sleak::Cancel = 3 }
enum  Sleak::MessageBoxType : unsigned int { Sleak::Info = 0x00000040u , Sleak::Warning = 0x00000020u , Sleak::Error = 0x00000010u }

Functions

void Sleak::MessageBox (const char *Title, const char *Message, MessageBoxType Type)
 Fire-and-forget OS message box; no return value, no custom buttons.
MessageBoxReturn Sleak::ShowMessageBox (const char *Title, const char *Message, MessageBoxType Type, MessageBoxColorScheme scheme=MessageBoxColorScheme())
 Blocking Yes/No/Cancel dialog with a custom color scheme; returns the pressed button.