Go to the source code of this file.
Functions | |
CSFML_WINDOW_API sfContext * | sfContext_create (void) |
Create a new context. More... | |
CSFML_WINDOW_API void | sfContext_destroy (sfContext *context) |
Destroy a context. More... | |
CSFML_WINDOW_API sfBool | sfContext_setActive (sfContext *context, sfBool active) |
Activate or deactivate explicitely a context. More... | |
CSFML_WINDOW_API sfContextSettings | sfContext_getSettings (const sfContext *context) |
Get the settings of the context. More... | |
CSFML_WINDOW_API sfContext* sfContext_create | ( | void | ) |
Create a new context.
This function activates the new context.
CSFML_WINDOW_API void sfContext_destroy | ( | sfContext * | context | ) |
Destroy a context.
context | Context to destroy |
CSFML_WINDOW_API sfContextSettings sfContext_getSettings | ( | const sfContext * | context | ) |
Get the settings of the context.
Note that these settings may be different than the ones passed to the constructor; they are indeed adjusted if the original settings are not directly supported by the system.
CSFML_WINDOW_API sfBool sfContext_setActive | ( | sfContext * | context, |
sfBool | active | ||
) |
Activate or deactivate explicitely a context.
context | Context object |
active | sfTrue to activate, sfFalse to deactivate |