include/SDL_hints.h
changeset 5200 01bced9a4cc1
parent 5192 ef5a61ea3202
child 5233 ce4f91138031
     1.1 --- a/include/SDL_hints.h	Sat Feb 05 16:07:10 2011 -0800
     1.2 +++ b/include/SDL_hints.h	Sat Feb 05 20:02:37 2011 -0800
     1.3 @@ -106,7 +106,7 @@
     1.4  
     1.5  
     1.6  /**
     1.7 - *  \brief Set a hint
     1.8 + *  \brief Set a hint with a specific priority
     1.9   *
    1.10   *  The priority controls the behavior when setting a hint that already
    1.11   *  has a value.  Hints will replace existing hints of their priority and
    1.12 @@ -114,9 +114,18 @@
    1.13   * 
    1.14   *  \return SDL_TRUE if the hint was set, SDL_FALSE otherwise
    1.15   */
    1.16 +extern DECLSPEC SDL_bool SDLCALL SDL_SetHintWithPriority(const char *name,
    1.17 +                                                         const char *value,
    1.18 +                                                         SDL_HintPriority priority);
    1.19 +
    1.20 +/**
    1.21 + *  \brief Set a hint with normal priority
    1.22 + * 
    1.23 + *  \return SDL_TRUE if the hint was set, SDL_FALSE otherwise
    1.24 + */
    1.25  extern DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name,
    1.26 -                                             const char *value,
    1.27 -                                             SDL_HintPriority priority);
    1.28 +                                             const char *value);
    1.29 +
    1.30  
    1.31  /**
    1.32   *  \brief Get a hint