summaryrefslogtreecommitdiff
path: root/components/MenuButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/MenuButton.qml')
-rw-r--r--components/MenuButton.qml32
1 files changed, 16 insertions, 16 deletions
diff --git a/components/MenuButton.qml b/components/MenuButton.qml
index 5f6381f3..70707a3b 100644
--- a/components/MenuButton.qml
+++ b/components/MenuButton.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2024, The Monero Project
+// Copyright (c) 2014-2024, The Monzero Project
//
// All rights reserved.
//
@@ -29,8 +29,8 @@
import QtQuick 2.9
import QtGraphicalEffects 1.0
-import "../components" as MoneroComponents
-import "effects/" as MoneroEffects
+import "../components" as MonzeroComponents
+import "effects/" as MonzeroEffects
Rectangle {
id: button
@@ -72,8 +72,8 @@ Rectangle {
start: Qt.point(width, 0)
end: Qt.point(0, 0)
gradient: Gradient {
- GradientStop { position: 0.0; color: MoneroComponents.Style.menuButtonGradientStart }
- GradientStop { position: 1.0; color: MoneroComponents.Style.menuButtonGradientStop }
+ GradientStop { position: 0.0; color: MonzeroComponents.Style.menuButtonGradientStart }
+ GradientStop { position: 1.0; color: MonzeroComponents.Style.menuButtonGradientStop }
}
opacity: button.checked ? 1 : 0.3
}
@@ -82,7 +82,7 @@ Rectangle {
Rectangle {
visible: !isOpenGL && (button.checked || buttonArea.containsMouse)
anchors.fill: parent
- color: MoneroComponents.Style.menuButtonFallbackBackgroundColor
+ color: MonzeroComponents.Style.menuButtonFallbackBackgroundColor
opacity: button.checked ? 1 : 0.3
}
@@ -92,14 +92,14 @@ Rectangle {
anchors.leftMargin: 20
height: parent.height
width: 2
- color: button.checked ? MoneroComponents.Style.accountColors[currentAccountIndex % MoneroComponents.Style.accountColors.length] : "transparent"
+ color: button.checked ? MonzeroComponents.Style.accountColors[currentAccountIndex % MonzeroComponents.Style.accountColors.length] : "transparent"
// button text
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: label
- color: MoneroComponents.Style.menuButtonTextColor
- themeTransitionBlackColor: MoneroComponents.Style._b_menuButtonTextColor
- themeTransitionWhiteColor: MoneroComponents.Style._w_menuButtonTextColor
+ color: MonzeroComponents.Style.menuButtonTextColor
+ themeTransitionBlackColor: MonzeroComponents.Style._b_menuButtonTextColor
+ themeTransitionWhiteColor: MonzeroComponents.Style._w_menuButtonTextColor
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.right
anchors.leftMargin: button.getOffset() + 8
@@ -109,26 +109,26 @@ Rectangle {
}
// menu button right arrow
- MoneroEffects.ImageMask {
+ MonzeroEffects.ImageMask {
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: parent.getOffset()
anchors.right: parent.right
anchors.rightMargin: 20
height: 14
width: 8
- image: MoneroComponents.Style.menuButtonImageRightSource
- color: button.checked ? MoneroComponents.Style.menuButtonImageRightColorActive : MoneroComponents.Style.menuButtonImageRightColor
+ image: MonzeroComponents.Style.menuButtonImageRightSource
+ color: button.checked ? MonzeroComponents.Style.menuButtonImageRightColorActive : MonzeroComponents.Style.menuButtonImageRightColor
opacity: button.checked ? 0.8 : 0.25
}
- MoneroComponents.TextPlain {
+ MonzeroComponents.TextPlain {
id: symbolText
anchors.right: parent.right
anchors.rightMargin: 44
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 12
font.bold: true
- color: MoneroComponents.Style.menuButtonTextColor
+ color: MonzeroComponents.Style.menuButtonTextColor
visible: appWindow.ctrlPressed
themeTransition: false
}