~ubuntu-branches/debian/experimental/openscenegraph/experimental

« back to all changes in this revision

Viewing changes to OpenSceneGraph/include/osgWidget/EventInterface

  • Committer: Package Import Robot
  • Author(s): Alberto Luaces Fernández
  • Date: 2014-08-01 20:41:55 UTC
  • mfrom: (1.4.4) (24.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20140801204155-ykq00e43h6eg0ms3
Tags: 3.2.1-1
* Acknowledge NMU.
* New upstream version.
* Removal of old patches.
* Confirmation that (LP: #1339264) is already closed.
* Removed obsolete conflict rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
            return _eventMask;
315
315
        }
316
316
 
 
317
        typedef std::list<osg::ref_ptr<Callback> > CallbackList;
 
318
 
 
319
        inline CallbackList& getCallbacks() { return _callbacks; }
 
320
        inline const CallbackList& getCallbacks() const { return _callbacks; }
 
321
 
317
322
        void addCallback(Callback* cb) {
318
323
            _callbacks.push_back(cb);
319
324
        }
400
405
        bool canKeyUp   () const { return (_eventMask & EVENT_KEY_UP) != 0; }
401
406
 
402
407
    private:
403
 
        typedef std::list<osg::ref_ptr<Callback> > CallbackList;
404
408
 
405
409
        unsigned int _eventMask;
406
410
        CallbackList _callbacks;