Contains generic information about the platform (software, hardware and runtime), obtained by parsing the 'config/platform' section in the system configuration file.
More...
#include <Platform.h>
|
static void | setup (const Setting &s) |
|
static bool | is (const String &name) |
| returns true if the flag with the specified name is set. More...
|
|
|
static float | scale |
| The user interface / 2D graphics scale that should be used on this platform. More...
|
|
static bool | deprecationWarnings |
| When set to true, print warning about deprecated functionality being used. More...
|
|
Contains generic information about the platform (software, hardware and runtime), obtained by parsing the 'config/platform' section in the system configuration file.
Platform settings are globally accessible and are hints that user code can use to customize its execution on different platforms.
static bool omega::Platform::is |
( |
const String & |
name | ) |
|
|
static |
returns true if the flag with the specified name is set.
static void omega::Platform::setup |
( |
const Setting & |
s | ) |
|
|
static |
bool omega::Platform::deprecationWarnings |
|
static |
When set to true, print warning about deprecated functionality being used.
float omega::Platform::scale |
|
static |
The user interface / 2D graphics scale that should be used on this platform.
Read from config/platform/scale, defaults to 1.
The documentation for this class was generated from the following file: