- Timestamp:
- Aug 2, 2010, 5:05:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vendor/nokia/qt/current/demos/composition/composition.h
r649 r767 110 110 void paint(QPainter *); 111 111 112 void mousePressEvent(QMouseEvent *);113 void mouseMoveEvent(QMouseEvent *);114 void mouseReleaseEvent(QMouseEvent *);115 116 112 void setCirclePos(const QPointF &pos); 117 113 … … 121 117 int circleColor() const { return m_circle_hue; } 122 118 int circleAlpha() const { return m_circle_alpha; } 119 120 121 122 123 124 123 125 124 126 public slots: … … 151 153 void setCircleAlpha(int alpha) { m_circle_alpha = alpha; update(); } 152 154 void setCircleColor(int hue) { m_circle_hue = hue; update(); } 153 void setAnimationEnabled(bool enabled) { m_animation_enabled = enabled; update(); }155 void setAnimationEnabled(bool enabled) 154 156 155 157 private: … … 178 180 ObjectType m_current_object; 179 181 bool m_animation_enabled; 182 180 183 181 184 #ifdef QT_OPENGL_SUPPORT
Note:
See TracChangeset
for help on using the changeset viewer.