~compiz-team/compiz/0.9.10

« back to all changes in this revision

Viewing changes to plugins/composite/include/composite/composite.h

  • Committer: Daniel van Vugt
  • Author(s): smspillaz
  • Date: 2012-06-06 05:12:28 UTC
  • mfrom: (3221.2.17 pixmap)
  • Revision ID: daniel.van.vugt@canonical.com-20120606051228-oh5x09genim3x7nn
Adds some tests for the pixmap rebinding code ... which also means some
refactoring was done.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        virtual void damageRegion (const CompRegion &r);
172
172
};
173
173
 
174
 
 
175
174
class CompositeScreen :
176
175
    public WrapableHandler<CompositeScreenInterface, 7>,
177
176
    public PluginClassHandler<CompositeScreen, CompScreen, COMPIZ_COMPOSITE_ABI>,
327
326
{
328
327
    public:
329
328
 
330
 
        typedef boost::function <void ()> NewPixmapReadyCallback;
331
 
 
332
329
        CompositeWindow (CompWindow *w);
333
330
        ~CompositeWindow ();
334
331
 
430
427
         * A function to call when a new pixmap is ready to
431
428
         * be bound just before the old one is released
432
429
         */
433
 
        void setNewPixmapReadyCallback (const NewPixmapReadyCallback &cb);
 
430
        void setNewPixmapReadyCallback (const boost::function <void ()> &cb);
434
431
 
435
432
        WRAPABLE_HND (0, CompositeWindowInterface, bool, damageRect,
436
433
                      bool, const CompRect &);