Ignore:
Timestamp:
Mar 15, 2012, 5:14:10 PM (13 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer 0.7.1: vendor update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/src/floatingwidget.h

    r118 r121  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org>
     2    Copyright (C) 2006-2012 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    2424
    2525class QToolBar;
     26
     27#if QT_VERSION < 0x040600
     28#define OLD_ANIMATION
     29#endif
     30
     31#ifndef OLD_ANIMATION
     32class QPropertyAnimation;
     33#endif
    2634
    2735class FloatingWidget : public QWidget
     
    5967
    6068private slots:
     69#ifdef OLD_ANIMATION
    6170        void animate();
     71#endif
    6272        void checkUnderMouse();
    6373
     
    6575        // Animation variables
    6676        bool _animated;
     77#ifdef OLD_ANIMATION
    6778        QTimer * animation_timer;
     79#endif
    6880        int final_y;
    6981        int current_y;
     
    7486
    7587        int _margin;
     88
     89#ifndef OLD_ANIMATION
     90        QPropertyAnimation * animation;
     91#endif
     92
    7693};
    7794
Note: See TracChangeset for help on using the changeset viewer.