Self

DRAFT

SDL_AddHintCallback

Use this function to add a function to watch a particular hint.

Syntax

void SDL_AddHintCallback(const char*      name,
                         SDL_HintCallback callback,
                         void*            userdata)

Function Parameters

name

the hint to watch

callback

the function to call when the hint value changes

userdata

a pointer to pass to the callback function

Code Examples

You can add your code example here

Remarks

The function prototype for callback is:

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryHints

None: SDL_AddHintCallback (last edited 2013-10-30 21:03:35 by PhilippWiesemann)