Function getHintBool
Wraps SDL_GetHintBoolean (from SDL 2.0.5) which gets the value of a specified user-set hint as a bool
bool getHintBool
(
string name,
bool defaultValue = false
) @trusted;
Parameters
| Name | Description |
|---|---|
| name | name of the hint |
| defaultValue | default returned value if the hint wasn't set |
Returns
bool value of the given name of the hint or defaultValue if the hint wasn't set