Ignore:
Timestamp:
Aug 31, 2016, 5:19:25 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update vendor to version 16.8.0

File:
1 edited

Legend:

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

    r175 r179  
    2121
    2222#include "basegui.h"
     23#include "widgetactions.h"
    2324#include <QSystemTrayIcon>
    2425#include <QPoint>
    2526#include "guiconfig.h"
     27
     28#define SCREENS_SUPPORT
     29//#define DETACH_VIDEO_OPTION
    2630
    2731class QMenu;
     
    3034class TimeSliderAction;
    3135class VolumeSliderAction;
     36class TimeLabelAction;
     37class InfoWindow;
     38class GlobalShortcuts;
    3239
    3340class BaseGuiPlus : public BaseGui
     
    4148        virtual bool startHidden();
    4249
     50#ifdef SCREENS_SUPPORT
     51        /* virtual void toggleFullscreen(bool); */
     52#endif
     53
     54public slots:
     55#ifdef GLOBALSHORTCUTS
     56        virtual void showPreferencesDialog();
     57#endif
     58
    4359protected:
    4460        virtual void retranslateStrings();
     61        virtual void populateMainMenu();
    4562
    4663        void loadConfig();
     
    4865        void updateShowAllAct();
    4966
    50     virtual void aboutToEnterFullscreen();
    51     virtual void aboutToExitFullscreen();
     67        virtual void aboutToEnterFullscreen();
     68        virtual void aboutToExitFullscreen();
    5269        virtual void aboutToEnterCompactMode();
    5370        virtual void aboutToExitCompactMode();
     
    5875        TimeSliderAction * createTimeSliderAction(QWidget * parent);
    5976        VolumeSliderAction * createVolumeSliderAction(QWidget * parent);
     77        TimeLabelAction * createTimeLabelAction(TimeLabelAction::TimeLabelType type, QWidget * parent);
     78
     79#ifdef SCREENS_SUPPORT
     80        bool isVideoDetached();
     81#endif
    6082
    6183protected slots:
     
    7193        virtual void showAll();
    7294        virtual void quit();
    73 #ifdef Q_OS_OS2
    74         void trayAvailable();
    75 #endif
    7695
    7796#if DOCK_PLAYLIST
     
    89108#endif
    90109
     110#ifdef SCREENS_SUPPORT
     111        void updateSendToScreen();
     112        void sendVideoToScreen(int screen);
     113
     114        void detachVideo(bool);
     115
     116        void showScreensInfo();
     117#endif
     118
     119#ifdef GLOBALSHORTCUTS
     120        void updateGlobalShortcuts();
     121#endif
    91122
    92123protected:
     
    97128        MyAction * showTrayAct;
    98129        MyAction * showAllAct;
     130
     131#ifdef DETACH_VIDEO_OPTION
     132        MyAction * detachVideoAct;
     133#endif
     134
     135#ifdef SCREENS_SUPPORT
     136        MyAction * showScreensInfoAct;
     137        QMenu * sendToScreen_menu;
     138        MyActionGroup * sendToScreenGroup;
     139
     140        InfoWindow * screens_info_window;
     141        QLabel * detached_label;
     142#endif
     143
     144#ifdef GLOBALSHORTCUTS
     145        GlobalShortcuts * global_shortcuts;
     146#endif
    99147
    100148        // To save state
     
    108156        //bool infowindow_visible;
    109157
    110    int widgets_size; // To be able to restore the original size after exiting from compact mode
     158        int widgets_size; // To be able to restore the original size after exiting from compact mode
    111159
    112160#if DOCK_PLAYLIST
    113     PlaylistDock * playlistdock;
     161        PlaylistDock * playlistdock;
    114162        bool fullscreen_playlist_was_visible;
    115163        bool fullscreen_playlist_was_floating;
     
    117165        bool ignore_playlist_events;
    118166#endif
    119 
    120167};
    121168
Note: See TracChangeset for help on using the changeset viewer.