~ubuntu-branches/debian/stretch/sflphone/stretch

« back to all changes in this revision

Viewing changes to kde/src/widgets/acceleratedvideowidget.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-23 11:40:53 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130623114053-31kveg263f17i9e7
Tags: 1.2.3-1
* New upstream release
* Add Build-Depends: intltool, yelp-tools, gnome-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2009-2012 by Savoir-Faire Linux                         *
 
2
 *   Copyright (C) 2009-2013 by Savoir-Faire Linux                         *
3
3
 *   Author : Emmanuel Lepage Valle <emmanuel.lepage@savoirfairelinux.com >*
4
4
 *            Nokia                                                        *
5
5
 *                                                                         *
48
48
   const GLushort *indices() const { return faces.constData(); }
49
49
   int count() const { return faces.count(); }
50
50
private:
51
 
   QVector<GLushort> faces;
52
 
   QVector<QVector3D> vertices;
53
 
   QVector<QVector3D> normals;
 
51
   QVector<GLushort>  faces    ;
 
52
   QVector<QVector3D> vertices ;
 
53
   QVector<QVector3D> normals  ;
54
54
   QVector<QVector2D> texCoords;
55
 
   QVector<QVector4D> colors;
 
55
   QVector<QVector4D> colors   ;
56
56
   int append(const QVector3D &a, const QVector3D &n, const QVector2D &t);
57
57
   void addTri(const QVector3D &a, const QVector3D &b, const QVector3D &c, const QVector3D &n);
58
58
   friend class Tile;
111
111
   void removeBounce();
112
112
   void startAnimation();
113
113
   void setAnimationPaused(bool paused);
114
 
signals:
 
114
Q_SIGNALS:
115
115
   void changed();
116
116
private:
117
117
   qreal rot;
174
174
   void mousePressEvent(QMouseEvent *) { setAnimationPaused(true); }
175
175
   void mouseReleaseEvent(QMouseEvent *) { setAnimationPaused(false); }
176
176
 
177
 
private slots:
 
177
private Q_SLOTS:
178
178
   void newFrameEvent();
179
179
};
180
180
#endif