Ignore:
Timestamp:
May 23, 2013, 5:06:17 PM (12 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update vendor to 0.8.5'

File:
1 edited

Legend:

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

    r137 r140  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2012 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2013 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    4242
    4343#define DELAYED_RESIZE 0
    44 #define NEW_MOUSE_CHECK_POS 1
    4544
    4645//! Screen is a widget that hides the mouse cursor after some seconds if not moved.
     
    5453        ~Screen();
    5554
    56 #if NEW_MOUSE_CHECK_POS
    5755        void setAutoHideCursor(bool b);
    5856        bool autoHideCursor() { return autohide_cursor; };
     
    6058        void setAutoHideInterval(int milliseconds) { autohide_interval = milliseconds; };
    6159        int autoHideInterval() { return autohide_interval; };
    62 #endif
    6360
    6461public slots:
     
    7067
    7168protected:
    72 #if !NEW_MOUSE_CHECK_POS
    7369        virtual void mouseMoveEvent( QMouseEvent * e );
    74 #endif
    7570        virtual void paintEvent ( QPaintEvent * e );
    7671
     
    8075private:
    8176        QTimer * check_mouse_timer;
    82 #if NEW_MOUSE_CHECK_POS
    8377        QPoint mouse_last_position;
    8478        bool autohide_cursor;
    8579        int autohide_interval;
    86 #else
    87         QPoint cursor_pos, last_cursor_pos;
    88 #endif
    8980};
    9081
Note: See TracChangeset for help on using the changeset viewer.