#include <SDOM_SDL_Utils.hpp>
◆ SDL_Utils()
SDOM::SDL_Utils::SDL_Utils |
( |
| ) |
|
|
default |
◆ ~SDL_Utils()
SDOM::SDL_Utils::~SDL_Utils |
( |
| ) |
|
|
default |
◆ colorFromSol()
SDL_Color SDOM::SDL_Utils::colorFromSol |
( |
const sol::object & |
o | ) |
|
|
static |
◆ eventToLuaTable()
sol::table SDOM::SDL_Utils::eventToLuaTable |
( |
const SDL_Event & |
event, |
|
|
sol::state_view |
lua |
|
) |
| |
|
static |
◆ eventTypeFromString()
SDL_EventType SDOM::SDL_Utils::eventTypeFromString |
( |
const std::string & |
str | ) |
|
|
static |
◆ eventTypeToString()
std::string SDOM::SDL_Utils::eventTypeToString |
( |
SDL_EventType |
type | ) |
|
|
static |
◆ keyToAscii()
int SDOM::SDL_Utils::keyToAscii |
( |
SDL_Keycode |
keycode, |
|
|
SDL_Keymod |
keymod |
|
) |
| |
|
static |
◆ pixelFormatFromString()
SDL_PixelFormat SDOM::SDL_Utils::pixelFormatFromString |
( |
const std::string & |
str | ) |
|
|
static |
◆ pixelFormatToString()
std::string SDOM::SDL_Utils::pixelFormatToString |
( |
SDL_PixelFormat |
format | ) |
|
|
static |
◆ registerLua()
void SDOM::SDL_Utils::registerLua |
( |
sol::state_view |
lua | ) |
|
|
static |
◆ rendererLogicalPresentationFromString()
SDL_RendererLogicalPresentation SDOM::SDL_Utils::rendererLogicalPresentationFromString |
( |
const std::string & |
str | ) |
|
|
static |
◆ rendererLogicalPresentationToString()
std::string SDOM::SDL_Utils::rendererLogicalPresentationToString |
( |
Uint32 |
flags | ) |
|
|
static |
◆ scaleModeFromSol()
SDL_ScaleMode SDOM::SDL_Utils::scaleModeFromSol |
( |
const sol::object & |
o | ) |
|
|
static |
◆ tableToFRect()
SDL_FRect SDOM::SDL_Utils::tableToFRect |
( |
const sol::table & |
t | ) |
|
|
static |
◆ windowFlagsFromString()
Uint64 SDOM::SDL_Utils::windowFlagsFromString |
( |
const std::string & |
str | ) |
|
|
static |
◆ windowFlagsToString()
std::string SDOM::SDL_Utils::windowFlagsToString |
( |
Uint64 |
flags | ) |
|
|
static |
The documentation for this class was generated from the following files: