- Timestamp:
- May 19, 2021 2:12:20 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItem.h
r86768 r89172 99 99 * @param iHoveredValue Brings hovered value for hovering animation. */ 100 100 UIChooserItem(UIChooserItem *pParent, UIChooserNode *pNode, 101 int iDefaultValue = 100, int iHoveredValue = 90);101 int iDefaultValue = 0, int iHoveredValue = 100); 102 102 103 103 /** @name Item stuff. -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGlobal.cpp
r89137 r89172 31 31 32 32 UIChooserItemGlobal::UIChooserItemGlobal(UIChooserItem *pParent, UIChooserNodeGlobal *pNode) 33 : UIChooserItem(pParent, pNode , 0, 100)33 : UIChooserItem(pParent, pNode) 34 34 , m_iDefaultLightnessMin(0) 35 35 , m_iDefaultLightnessMax(0) -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemGroup.cpp
r89170 r89172 1624 1624 /* Prepare top gradient: */ 1625 1625 QLinearGradient tGradient(tRect.bottomLeft(), tRect.topLeft()); 1626 tGradient.setColorAt(1, headerColor. darker(animatedValue()));1627 tGradient.setColorAt(0, headerColor .darker(headerDarkness()));1626 tGradient.setColorAt(1, headerColor.lighter(100 + (double)animatedValue() / 100 * 30)); 1627 tGradient.setColorAt(0, headerColor); 1628 1628 1629 1629 /* Fill top rectangle: */ … … 1637 1637 1638 1638 /* Fill top rectangle: */ 1639 pPainter->fillRect(bRect, headerColor .darker(headerDarkness()));1639 pPainter->fillRect(bRect, headerColor); 1640 1640 } 1641 1641 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
r89137 r89172 36 36 37 37 UIChooserItemMachine::UIChooserItemMachine(UIChooserItem *pParent, UIChooserNodeMachine *pNode) 38 : UIChooserItem(pParent, pNode , 0, 100)38 : UIChooserItem(pParent, pNode) 39 39 , m_iDefaultLightnessMin(0) 40 40 , m_iDefaultLightnessMax(0)
Note:
See TracChangeset
for help on using the changeset viewer.