~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    public ScaleaddonOptions
49
49
{
50
50
    public:
 
51
 
51
52
        ScaleAddonScreen (CompScreen *);
52
53
 
53
54
        CompositeScreen *cScreen;
54
 
        ScaleScreen     *sScreen;
55
 
 
56
 
        Window          highlightedWindow;
57
 
        Window          lastHighlightedWindow;
58
 
 
59
 
        int             lastState;
60
 
 
61
 
        float           scale;
 
55
        ScaleScreen     *sScreen;
 
56
 
 
57
        Window          highlightedWindow;
 
58
        Window          lastHighlightedWindow;
 
59
 
 
60
        int             lastState;
 
61
 
 
62
        float           scale;
62
63
        
63
64
        std::vector <ScaleSlot> paintSlots;
64
65
 
67
68
 
68
69
        bool
69
70
        layoutSlotsAndAssignWindows ();
70
 
        
 
71
 
71
72
        bool
72
73
        layoutNaturalThumbs ();
73
74
 
74
75
        bool
75
 
        isOverlappingAny (ScaleWindow *w,
76
 
                          const std::map <ScaleWindow *, CompRegion>,
 
76
        isOverlappingAny (ScaleWindow      *w,
 
77
                          const std::map   <ScaleWindow *, CompRegion>,
77
78
                          const CompRegion &border);
78
79
 
79
80
        void
115
116
    public ScaleWindowInterface
116
117
{
117
118
    public:
 
119
 
118
120
        ScaleAddonWindow (CompWindow *);
119
121
 
120
122
        CompWindow *window;
150
152
#define ADDON_WINDOW(w)                              \
151
153
     ScaleAddonWindow *aw = ScaleAddonWindow::get (w)
152
154
 
153
 
 
154
155
class ScaleAddonPluginVTable :
155
156
    public CompPlugin::VTableForScreenAndWindow <ScaleAddonScreen,
156
157
                                                 ScaleAddonWindow>