Changeset 82029 in vbox
- Timestamp:
- Nov 20, 2019 3:43:46 PM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMousePointerShapeData.cpp
r81592 r82029 21 21 UIMousePointerShapeData::UIMousePointerShapeData(bool fVisible /* = false */, 22 22 bool fAlpha /* = false */, 23 const QPoint &hot Point /* = QPoint() */,23 const QPoint &hotSpot /* = QPoint() */, 24 24 const QSize &shapeSize /* = QSize() */, 25 25 const QVector<BYTE> &shape /* = QVector<BYTE>() */) 26 26 : m_fVisible(fVisible) 27 27 , m_fAlpha(fAlpha) 28 , m_hot Point(hotPoint)28 , m_hotSpot(hotSpot) 29 29 , m_shapeSize(shapeSize) 30 30 , m_shape(shape) … … 35 35 : m_fVisible(another.isVisible()) 36 36 , m_fAlpha(another.hasAlpha()) 37 , m_hot Point(another.hotPoint())37 , m_hotSpot(another.hotSpot()) 38 38 , m_shapeSize(another.shapeSize()) 39 39 , m_shape(another.shape()) … … 45 45 m_fVisible = another.isVisible(); 46 46 m_fAlpha = another.hasAlpha(); 47 m_hot Point = another.hotPoint();47 m_hotSpot = another.hotSpot(); 48 48 m_shapeSize = another.shapeSize(); 49 49 m_shape = another.shape(); -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMousePointerShapeData.h
r81592 r82029 43 43 * @param fVisible Brings whether mouse pointer should be visible. 44 44 * @param fAlpha Brings whether mouse pointer chape has alpha channel. 45 * @param hot Point Brings the mouse pointer hot point.45 * @param hotSpot Brings the mouse pointer hot-spot. 46 46 * @param shapeSize Brings the mouse pointer shape size. 47 47 * @param shape Brings the mouse pointer shape byte array. */ 48 48 UIMousePointerShapeData(bool fVisible = false, 49 49 bool fAlpha = false, 50 const QPoint &hot Point = QPoint(),50 const QPoint &hotSpot = QPoint(), 51 51 const QSize &shapeSize = QSize(), 52 52 const QVector<BYTE> &shape = QVector<BYTE>()); … … 62 62 /** Returns whether mouse pointer chape has alpha channel. */ 63 63 bool hasAlpha() const { return m_fAlpha; } 64 /** Returns the mouse pointer hot point. */65 const QPoint &hot Point() const { return m_hotPoint; }64 /** Returns the mouse pointer hot-spot. */ 65 const QPoint &hotSpot() const { return m_hotSpot; } 66 66 /** Returns the mouse pointer shape size. */ 67 67 const QSize &shapeSize() const { return m_shapeSize; } … … 75 75 /** Holds whether mouse pointer chape has alpha channel. */ 76 76 bool m_fAlpha; 77 /** Holds the mouse pointer hot point. */78 QPoint m_hot Point;77 /** Holds the mouse pointer hot-spot. */ 78 QPoint m_hotSpot; 79 79 /** Holds the mouse pointer shape size. */ 80 80 QSize m_shapeSize; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r82028 r82029 1658 1658 /* Fetch incoming shape data: */ 1659 1659 const bool fHasAlpha = m_shapeData.hasAlpha(); 1660 uint uXHot = m_shapeData.hot Point().x();1661 uint uYHot = m_shapeData.hot Point().y();1660 uint uXHot = m_shapeData.hotSpot().x(); 1661 uint uYHot = m_shapeData.hotSpot().y(); 1662 1662 const uint uWidth = m_shapeData.shapeSize().width(); 1663 1663 const uint uHeight = m_shapeData.shapeSize().height();
Note:
See TracChangeset
for help on using the changeset viewer.