move timeout animation from setlabel to new position
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
#include <QtGui>
|
||||
#include <QtCore>
|
||||
#include <third_party/boost/timers.hpp>
|
||||
#include "sdlplayer.h"
|
||||
|
||||
class gameTableImpl;
|
||||
|
||||
@@ -31,40 +29,14 @@ public:
|
||||
|
||||
|
||||
void setMyW ( gameTableImpl* theValue ) { myW = theValue; }
|
||||
|
||||
void startTimeOutAnimation(int secs, bool beep);
|
||||
void stopTimeOutAnimation();
|
||||
|
||||
void paintEvent(QPaintEvent * event);
|
||||
|
||||
void paintEvent(QPaintEvent * event);
|
||||
|
||||
public slots:
|
||||
void startTimeOutAnimationNow();
|
||||
void nextTimeOutAnimationFrame();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
gameTableImpl *myW;
|
||||
QTimer *timeOutAnimationTimer;
|
||||
QTimer *timeOutAnimationKickOnTimer;
|
||||
|
||||
// boost::shared_ptr<SDLPlayer> mySDLPlayer;
|
||||
gameTableImpl *myW;
|
||||
|
||||
boost::timers::portable::microsec_timer realTimer;
|
||||
|
||||
bool timeOutAnimation;
|
||||
|
||||
int timeOutAnimationWidth;
|
||||
int timeOutValue;
|
||||
int timeOutFrame;
|
||||
int waitFrames;
|
||||
int decreaseWidthIntervall;
|
||||
int timerIntervall;
|
||||
bool isBeep;
|
||||
bool isBeepPlayed;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user