~townsend/compiz/fix-auto-vp-switch-0.9.10

« back to all changes in this revision

Viewing changes to plugins/opacify/src/opacify.h

  • Committer: MC Return
  • Date: 2013-06-29 09:36:01 UTC
  • mfrom: (3750 0.9.10)
  • mto: This revision was merged to the branch mainline in revision 3770.
  • Revision ID: mc.return@gmx.net-20130629093601-trksogeaxli98ln9
MergedĀ latestĀ lp:compiz

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    public ScreenInterface
40
40
{
41
41
    public:
 
42
 
42
43
        OpacifyScreen (CompScreen *);
43
44
 
44
 
        CompositeScreen *cScreen;
45
 
        GLScreen        *gScreen;
46
 
 
47
 
        bool isToggle;
48
 
 
49
 
        CompTimer timeoutHandle;
50
 
 
51
 
        CompWindow *newActive;
52
 
 
53
 
        Window active;
 
45
        CompositeScreen     *cScreen;
 
46
        GLScreen            *gScreen;
 
47
 
 
48
        bool                isToggle;
 
49
 
 
50
        CompTimer           timeoutHandle;
 
51
 
 
52
        CompWindow          *newActive;
 
53
 
 
54
        Window              active;
54
55
        std::vector<Window> passive;
55
 
        CompRegion intersect;
56
 
        unsigned short int passiveNum;
 
56
        CompRegion          intersect;
 
57
        unsigned short int  passiveNum;
57
58
 
58
 
        bool justMoved;
 
59
        bool                justMoved;
59
60
 
60
61
        void
61
62
        handleEvent (XEvent *);
62
63
 
63
64
        void
64
 
        resetWindowOpacity (Window  id);
 
65
        resetWindowOpacity (Window id);
65
66
 
66
67
        void
67
68
        resetScreenOpacity ();
70
71
        clearPassive ();
71
72
 
72
73
        int
73
 
        passiveWindows (CompRegion     fRegion);
 
74
        passiveWindows (CompRegion fRegion);
74
75
 
75
76
        bool
76
77
        handleTimeout ();
101
102
 
102
103
        CompWindow      *window;
103
104
        CompositeWindow *cWindow;
104
 
        GLWindow        *gWindow;
 
105
        GLWindow        *gWindow;
105
106
 
106
 
        bool opacified;
107
 
        int opacity;
 
107
        bool            opacified;
 
108
        int             opacity;
108
109
 
109
110
        bool
110
111
        glPaint (const GLWindowPaintAttrib &,
111
 
                 const GLMatrix &,
112
 
                 const CompRegion &,
113
 
                 unsigned int);
 
112
                 const GLMatrix            &,
 
113
                 const CompRegion          &,
 
114
                 unsigned int                );
114
115
 
115
116
        void
116
117
        setOpacity (int fOpacity);
120
121
 
121
122
        void
122
123
        handleEnter ();
123
 
 
124
 
 
125
 
 
126
124
};
127
125
 
128
126
#define OPACIFY_SCREEN(s)                                                      \