QTfrontend/util/SDLInteraction.h
branchsdl2transition
changeset 9701 7f6786625667
parent 9080 9b42757d7e71
child 9709 9315727c0f1d
equal deleted inserted replaced
9699:fab319c85a39 9701:7f6786625667
    25 #define HEDGEWARS_SDLINTERACTION_H
    25 #define HEDGEWARS_SDLINTERACTION_H
    26 
    26 
    27 
    27 
    28 #include <QMap>
    28 #include <QMap>
    29 #include <QStringList>
    29 #include <QStringList>
       
    30 #include <QSize>
    30 
    31 
    31 #include "SDL_mixer.h"
    32 #include "SDL_mixer.h"
    32 
    33 
    33 /**
    34 /**
    34  * @brief Class for interacting with SDL (used for music and keys)
    35  * @brief Class for interacting with SDL (used for music and keys)
   101         /// Starts the background music if not already playing.
   102         /// Starts the background music if not already playing.
   102         void startMusic();
   103         void startMusic();
   103 
   104 
   104         /// Fades out and stops the background music (if playing).
   105         /// Fades out and stops the background music (if playing).
   105         void stopMusic();
   106         void stopMusic();
       
   107 
       
   108         QSize getCurrentResolution();
   106 };
   109 };
   107 
   110 
   108 
   111 
   109 #endif //HEDGEWARS_SDLINTERACTION_H
   112 #endif //HEDGEWARS_SDLINTERACTION_H
   110 
   113