Skip to content

Commit

Permalink
Add "Hand" cursor when hovering over button across each view
Browse files Browse the repository at this point in the history
  • Loading branch information
Soapwood committed Jul 27, 2024
1 parent a7e1373 commit 299a554
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 1 deletion.
2 changes: 2 additions & 0 deletions VXMusicDesktop/MVVM/View/ConnectionsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
<Button Grid.Row="2" x:Name="SpotifyLoginButton"
Content="{Binding SpotifyLinkButtonText}"
Command="{Binding LinkSpotifyButtonClick}"
Cursor="Hand"
Padding="0"
Margin="0,15,0,0"
Background="{StaticResource SpotifyGreen}"
Expand Down Expand Up @@ -247,6 +248,7 @@
Background="{StaticResource LastFmRed}"
Foreground="{StaticResource TextBasic}"
Command="{Binding LinkLastfmButtonClick}"
Cursor="Hand"
VerticalAlignment="Center"
HorizontalAlignment="Center"
IsEnabled="{Binding ShouldLastFmLinkButtonBeEnabled}"
Expand Down
3 changes: 3 additions & 0 deletions VXMusicDesktop/MVVM/View/NotificationsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<StackPanel Orientation="Vertical" Margin="0,0,0,10">
<Button x:Name="NotificationService1Button"
Command="{Binding SteamVREnableButtonClick}"
Cursor="Hand"
Width="340" Height="150"
Margin="0,0,0,0"
IsEnabled="true">
Expand Down Expand Up @@ -132,6 +133,7 @@
<!-- Button with custom content and appearance for XSOverlay Notification -->
<Button x:Name="NotificationService2Button"
Command="{Binding XSOverlayEnableButtonClick}"
Cursor="Hand"
Width="340" Height="150"
Margin="0,0,0,0"
IsEnabled="true">
Expand Down Expand Up @@ -220,6 +222,7 @@
<StackPanel Orientation="Vertical" Margin="0,0,0,10">
<Button x:Name="NotificationService3Button"
Command="{Binding VRChatEnableButtonClick}"
Cursor="Hand"
Width="340" Height="150"
Margin="0,0,0,0"
IsEnabled="true">
Expand Down
5 changes: 5 additions & 0 deletions VXMusicDesktop/MVVM/View/OverlayView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
<ToggleButton x:Name="EnableOverlayOnLeftHand"
Width="40" Height="40"
Margin="80,0,0,0"
Cursor="Hand"
HorizontalAlignment="Right"
Style="{StaticResource ImageToggleLeftHandButtonStyle}"
IsChecked="{Binding OverlayEnabledOnLeftHand}"
Expand All @@ -183,6 +184,7 @@
<ToggleButton x:Name="EnableOverlayOnRightHand"
Width="40" Height="40"
Margin="10,0,0,0"
Cursor="Hand"
HorizontalAlignment="Right"
Style="{StaticResource ImageToggleRightHandButtonStyle}"
IsChecked="{Binding OverlayEnabledOnRightHand}"
Expand Down Expand Up @@ -225,6 +227,7 @@
VerticalAlignment="Center" />
<ToggleButton x:Name="LaunchOverlayOnStartupToggleButton"
Style="{StaticResource SwitchButtonStyle}"
Cursor="Hand"
Margin="18,0,0,0"
IsChecked="{Binding LaunchOverlayOnStartup}"
Command="{Binding LaunchOverlayOnStartupToggleButton}">
Expand Down Expand Up @@ -266,6 +269,7 @@
VerticalAlignment="Center" />
<ToggleButton x:Name="AskForUpdatesOnStartupToggleButton"
Style="{StaticResource SwitchButtonStyle}"
Cursor="Hand"
Margin="20,0,0,0"
IsChecked="{Binding AskForUpdatesOnStartup}"
Command="{Binding AskForUpdatesOnStartupToggleButton}">
Expand Down Expand Up @@ -317,6 +321,7 @@
Command="{Binding InstallVxMusicAsSteamVrOverlayButton}"
Padding="0"
Margin="20,0,0,0"
Cursor="Hand"
Background="{StaticResource SecondaryColor}"
Foreground="{StaticResource TextBasic}"
HorizontalAlignment="Center"
Expand Down
5 changes: 5 additions & 0 deletions VXMusicDesktop/MVVM/View/RecognitionView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<Button x:Name="RecognitionIntegrationEnableShazamApiButton"
Command="{Binding ShazamButtonClick}"
Width="300" Height="100"
Cursor="Hand"
Margin="20,0,10,0"
IsEnabled="true">

Expand Down Expand Up @@ -155,6 +156,7 @@
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
<CheckBox x:Name="ShazamByoApiCheckBox"
Content="Enable BYOAPI"
Cursor="Hand"
IsChecked="{Binding IsShazamByoApiEnabled}"
IsEnabled="{Binding IsShazamApiEnabled}"
VerticalAlignment="Center" HorizontalAlignment="Left"
Expand Down Expand Up @@ -197,6 +199,7 @@
<Button x:Name="RecognitionIntegrationEnableAudDApiButton"
Command="{Binding AudDButtonClick}"
Width="300" Height="100"
Cursor="Hand"
Margin="20,0,10,0"
IsEnabled="true">

Expand Down Expand Up @@ -287,6 +290,7 @@
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
<CheckBox x:Name="AudDByoApiCheckBox"
Content="Enable BYOAPI"
Cursor="Hand"
IsChecked="{Binding IsAudDByoApiEnabled, Mode=TwoWay}"
IsEnabled="{Binding IsAudDApiEnabled, Mode=TwoWay}"
Margin="20,0,0,0"
Expand Down Expand Up @@ -331,6 +335,7 @@
Content="Run Recognition"
Command="{Binding ListenButtonClick}"
IsEnabled="{Binding IsRecognitionReady}"
Cursor="Hand"
Padding="0"
Margin="0,100,0,0"
FontSize="30"
Expand Down
11 changes: 11 additions & 0 deletions VXMusicDesktop/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
Grid.Column="1"
Width="30"
Height="30"
Cursor="Hand"
Margin="0,2,170,5"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Expand Down Expand Up @@ -92,6 +93,7 @@
Text="Select Theme"
Foreground="{StaticResource TextBasic}"
Visibility="Visible"
Cursor="Hand"
IsHitTestVisible="False"
Width="100"
Height="20"
Expand All @@ -117,6 +119,7 @@
Height="20"
Width="20"
Margin="0,0,14,14"
Cursor="Hand"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Command="{Binding LaunchVXUpdater}"
Expand Down Expand Up @@ -147,6 +150,7 @@
Grid.Column="1"
Width="30"
Height="30"
Cursor="Hand"
Margin="0,0,60,0"
HorizontalAlignment="Right"
Click="MinimizeButton_Click"
Expand All @@ -160,6 +164,7 @@
Grid.Column="1"
Width="30"
Height="30"
Cursor="Hand"
Margin="0,0,20,0"
HorizontalAlignment="Right"
Click="CloseButton_Click"
Expand All @@ -184,6 +189,7 @@
<RadioButton x:Name="MainWindowRadioButtonHome"
Content="Home"
Height="80"
Cursor="Hand"
Foreground="{StaticResource TextBasic}"
FontSize="14"
Style="{StaticResource MenuButtonTheme}"
Expand All @@ -192,34 +198,39 @@
<RadioButton x:Name="MainWindowRadioButtonRecognition"
Content="Recognition"
Height="80"
Cursor="Hand"
Foreground="{StaticResource TextBasic}"
FontSize="14"
Style="{StaticResource MenuButtonTheme}"
Command="{Binding RecognitionViewCommand}"/>
<RadioButton x:Name="MainWindowRadioButtonNotifications"
Content="Notifications"
Height="80"
Cursor="Hand"
Foreground="{StaticResource TextBasic}"
FontSize="14"
Style="{StaticResource MenuButtonTheme}"
Command="{Binding NotificationsViewCommand}"/>
<RadioButton x:Name="MainWindowRadioButtonConnections"
Content="Connections"
Height="80"
Cursor="Hand"
Foreground="{StaticResource TextBasic}"
FontSize="14"
Style="{StaticResource MenuButtonTheme}"
Command="{Binding ConnectionsViewCommand}"/>
<RadioButton x:Name="MainWindowRadioButtonOverlay"
Content="Settings"
Height="80"
Cursor="Hand"
Foreground="{StaticResource TextBasic}"
FontSize="14"
Style="{StaticResource MenuButtonTheme}"
Command="{Binding OverlayViewCommand}"/>
<RadioButton x:Name="MainWindowRadioButtonAbout"
Content="About"
Height="80"
Cursor="Hand"
Foreground="{StaticResource TextBasic}"
FontSize="14"
Style="{StaticResource MenuButtonTheme}"
Expand Down
2 changes: 1 addition & 1 deletion VXMusicDesktop/VXMusicDesktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageIcon>VXLogo.png</PackageIcon>
<ApplicationIcon>Images\VXLogoIcon.ico</ApplicationIcon>
<RunPostBuildEvent>Always</RunPostBuildEvent>
<Version>0.6.4.15</Version>
<Version>0.6.4.16</Version>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Title>VXMusicDesktop</Title>
<Authors>VirtualXtensions</Authors>
Expand Down

0 comments on commit 299a554

Please sign in to comment.