Changeset 74960 in vbox
- Timestamp:
- Oct 21, 2018 1:13:44 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 125978
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.cpp
r74799 r74960 199 199 *********************************************************************************************************************************/ 200 200 201 UIChooserItem::UIChooserItem(UIChooserItem *pParent, bool fTemporary) 201 UIChooserItem::UIChooserItem(UIChooserItem *pParent, bool fTemporary, 202 int iDefaultValue /* = 100 */, int iHoveredValue /* = 90 */) 202 203 : m_pParent(pParent) 203 204 , m_fTemporary(fTemporary) … … 208 209 , m_pHoveringAnimationBackward(0) 209 210 , m_iAnimationDuration(400) 210 , m_iDefaultValue( 100)211 , m_iHoveredValue( 90)211 , m_iDefaultValue(iDefaultValue) 212 , m_iHoveredValue(iHoveredValue) 212 213 , m_iAnimatedValue(m_iDefaultValue) 213 214 , m_iPreviousMinimumWidthHint(0) -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.h
r74942 r74960 102 102 103 103 /** Constructs item passing @a pParent to the base-class. 104 * @param fTemporary Brings whether this item created for temporary needs. */ 105 UIChooserItem(UIChooserItem *pParent, bool fTemporary); 104 * @param fTemporary Brings whether this item created for temporary needs. 105 * @param iDefaultValue Brings default value for hovering animation. 106 * @param iHoveredValue Brings hovered value for hovering animation. */ 107 UIChooserItem(UIChooserItem *pParent, bool fTemporary, 108 int iDefaultValue = 100, int iHoveredValue = 90); 106 109 107 110 /** @name Item stuff.
Note:
See TracChangeset
for help on using the changeset viewer.