Ignore:
Timestamp:
May 16, 2014, 9:51:55 AM (11 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update trunk to latest 0.8.7

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/basegui.h

    r156 r165  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2013 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    3434#endif
    3535
     36//#define SHARE_MENU
     37
    3638class QWidget;
    3739class QMenu;
     
    4143class QLabel;
    4244class FilePropertiesDialog;
    43 class VideoEqualizer2;
     45class VideoEqualizer;
    4446class AudioEqualizer;
    4547class Playlist;
     
    5961class UpdateChecker;
    6062
    61 #if !defined(Q_OS_WIN) || defined(PORTABLE_APP)
    62 #define REMINDER_ACTIONS 1
    63 #endif
    6463
    6564class BaseGui : public QMainWindow
     
    10099        virtual void openDVDFromFolder();
    101100        virtual void openDVDFromFolder(QString directory);
     101#ifdef BLURAY_SUPPORT
     102        void openBluRay();
     103        void openBluRayFromFolder();
     104        void openBluRayFromFolder(QString directory);
     105#endif
    102106        virtual void openDirectory();
    103107        virtual void openDirectory(QString directory);
     
    112116        virtual void helpShowConfig();
    113117        virtual void helpAbout();
    114         virtual void helpAboutQt();
    115 
     118
     119#ifdef SHARE_MENU
    116120        virtual void shareSMPlayer();
     121#endif
    117122
    118123        virtual void loadSub();
     
    202207        virtual void updateMediaInfo();
    203208
     209        void gotNoFileToPlay();
     210
    204211        void checkPendingActionsToRun();
    205212
     
    227234        #endif
    228235#endif
     236        void gotForbidden();
    229237
    230238#if AUTODISABLE_ACTIONS
     
    272280        virtual void saveActions();
    273281
    274         // Check the mouse pos in fullscreen mode, to
    275         // show the controlwidget if it's moved to
    276         // the bottom area.
    277         virtual void checkMousePos( QPoint );
    278         virtual void moveWindow(QPoint diff);
     282        virtual void moveWindowDiff(QPoint diff);
    279283
    280284        // Single instance stuff
     
    318322        void timeChanged(QString time_ready_to_print);
    319323
    320         void cursorNearTop(QPoint);
    321         void cursorNearBottom(QPoint);
    322         void cursorFarEdges();
    323        
     324        /*
    324325        void wheelUp();
    325326        void wheelDown();
     327        */
    326328        /*
    327329        void doubleClicked();
     
    346348        virtual void showEvent( QShowEvent * );
    347349#ifdef Q_OS_WIN
     350        #ifdef AVOID_SCREENSAVER
    348351        /* Disable screensaver by event */
    349352        virtual bool winEvent ( MSG * m, long * result );
     353        #endif
    350354#endif
    351355
     
    376380
    377381protected:
    378         virtual void wheelEvent( QWheelEvent * e ) ;
     382        /* virtual void wheelEvent( QWheelEvent * e ) ; */
    379383
    380384protected:
     
    389393        MyAction * openDVDAct;
    390394        MyAction * openDVDFolderAct;
     395#ifdef BLURAY_SUPPORT
     396        MyAction * openBluRayAct;
     397        MyAction * openBluRayFolderAct;
     398#endif
    391399        MyAction * openURLAct;
    392400        MyAction * exitAct;
     
    503511        MyAction * donateAct;
    504512#endif
    505         MyAction * aboutQtAct;
    506513        MyAction * aboutThisAct;
    507514
     515#ifdef SHARE_MENU
    508516        MyAction * facebookAct;
    509517        MyAction * twitterAct;
     
    511519        MyAction * hotmailAct;
    512520        MyAction * yahooAct;
     521#endif
    513522
    514523        // Playlist
     
    612621        MyAction * aspect32Act;         // 3:2
    613622        MyAction * aspect43Act;         // 4:3
     623        MyAction * aspect118Act;        // 11:8
    614624        MyAction * aspect54Act;         // 5:4
    615625        MyAction * aspect149Act;        // 14:9
     
    742752        QMenu * subfps_menu;
    743753
     754#ifdef SHARE_MENU
    744755        QMenu * share_menu;
     756#endif
    745757
    746758        QMenu * popup;
     
    758770        FilePropertiesDialog *file_dialog;
    759771        Playlist * playlist;
    760         VideoEqualizer2 * video_equalizer2;
     772        VideoEqualizer * video_equalizer;
    761773        AudioEqualizer * audio_equalizer;
    762774#ifdef FIND_SUBTITLES
     
    789801private:
    790802        QString default_style;
    791 
    792         bool near_top;
    793         bool near_bottom;
    794803
    795804        // Variables to restore pos and size of the window
Note: See TracChangeset for help on using the changeset viewer.