VirtualBox

Changeset 82029 in vbox


Ignore:
Timestamp:
Nov 20, 2019 3:43:46 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9598: UIMousePointerShapeData: Rename hot point to hot-spot.

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  
    2121UIMousePointerShapeData::UIMousePointerShapeData(bool fVisible /* = false */,
    2222                                                 bool fAlpha /* = false */,
    23                                                  const QPoint &hotPoint /* = QPoint() */,
     23                                                 const QPoint &hotSpot /* = QPoint() */,
    2424                                                 const QSize &shapeSize /* = QSize() */,
    2525                                                 const QVector<BYTE> &shape /* = QVector<BYTE>() */)
    2626    : m_fVisible(fVisible)
    2727    , m_fAlpha(fAlpha)
    28     , m_hotPoint(hotPoint)
     28    , m_hotSpot(hotSpot)
    2929    , m_shapeSize(shapeSize)
    3030    , m_shape(shape)
     
    3535    : m_fVisible(another.isVisible())
    3636    , m_fAlpha(another.hasAlpha())
    37     , m_hotPoint(another.hotPoint())
     37    , m_hotSpot(another.hotSpot())
    3838    , m_shapeSize(another.shapeSize())
    3939    , m_shape(another.shape())
     
    4545    m_fVisible = another.isVisible();
    4646    m_fAlpha = another.hasAlpha();
    47     m_hotPoint = another.hotPoint();
     47    m_hotSpot = another.hotSpot();
    4848    m_shapeSize = another.shapeSize();
    4949    m_shape = another.shape();
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMousePointerShapeData.h

    r81592 r82029  
    4343      * @param  fVisible   Brings whether mouse pointer should be visible.
    4444      * @param  fAlpha     Brings whether mouse pointer chape has alpha channel.
    45       * @param  hotPoint   Brings the mouse pointer hot point.
     45      * @param  hotSpot    Brings the mouse pointer hot-spot.
    4646      * @param  shapeSize  Brings the mouse pointer shape size.
    4747      * @param  shape      Brings the mouse pointer shape byte array. */
    4848    UIMousePointerShapeData(bool fVisible = false,
    4949                            bool fAlpha = false,
    50                             const QPoint &hotPoint = QPoint(),
     50                            const QPoint &hotSpot = QPoint(),
    5151                            const QSize &shapeSize = QSize(),
    5252                            const QVector<BYTE> &shape = QVector<BYTE>());
     
    6262    /** Returns whether mouse pointer chape has alpha channel. */
    6363    bool hasAlpha() const { return m_fAlpha; }
    64     /** Returns the mouse pointer hot point. */
    65     const QPoint &hotPoint() const { return m_hotPoint; }
     64    /** Returns the mouse pointer hot-spot. */
     65    const QPoint &hotSpot() const { return m_hotSpot; }
    6666    /** Returns the mouse pointer shape size. */
    6767    const QSize &shapeSize() const { return m_shapeSize; }
     
    7575    /** Holds whether mouse pointer chape has alpha channel. */
    7676    bool           m_fAlpha;
    77     /** Holds the mouse pointer hot point. */
    78     QPoint         m_hotPoint;
     77    /** Holds the mouse pointer hot-spot. */
     78    QPoint         m_hotSpot;
    7979    /** Holds the mouse pointer shape size. */
    8080    QSize          m_shapeSize;
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r82028 r82029  
    16581658    /* Fetch incoming shape data: */
    16591659    const bool fHasAlpha = m_shapeData.hasAlpha();
    1660     uint uXHot = m_shapeData.hotPoint().x();
    1661     uint uYHot = m_shapeData.hotPoint().y();
     1660    uint uXHot = m_shapeData.hotSpot().x();
     1661    uint uYHot = m_shapeData.hotSpot().y();
    16621662    const uint uWidth = m_shapeData.shapeSize().width();
    16631663    const uint uHeight = m_shapeData.shapeSize().height();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette