Skip to content

Commit ee61dbe

Browse files
Quadstronautclaude
andcommitted
Windows: show version in bottom-right + apply branding decisions
- Display assembly version (e.g., "v0.1.1") as a tiny grey label wedged between the START button and the bottom border, right-aligned. - Align csproj <Version>/<FileVersion> with the actual released artifact (0.1.1) — was stale at 1.0.0. - Tray tooltip: "QuadClicker - now with 4x the clicks" (idle). Active-clicking tooltip preserved as "QuadClicker — Clicking" for state visibility. - Window grew from 458→472 px tall (MinHeight 448→462) to fit the new version row. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e88ad35 commit ee61dbe

4 files changed

Lines changed: 16 additions & 6 deletions

File tree

windows/Core/TrayManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal TrayManager()
1717
{
1818
_icon = new NotifyIcon
1919
{
20-
Text = "QuadClicker",
20+
Text = "QuadClicker - now with 4x the clicks",
2121
Visible = false,
2222
Icon = SystemIcons.Application
2323
};
@@ -47,7 +47,7 @@ internal void Hide()
4747
internal void SetActiveState(bool isClicking)
4848
{
4949
ObjectDisposedException.ThrowIf(_disposed, this);
50-
_icon.Text = isClicking ? "QuadClicker — Clicking" : "QuadClicker";
50+
_icon.Text = isClicking ? "QuadClicker — Clicking" : "QuadClicker - now with 4x the clicks";
5151
// TODO: swap to animated icon when assets are available
5252
}
5353

windows/MainWindow.xaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
Title="QuadClicker"
5-
Width="430" Height="458"
6-
MinWidth="380" MinHeight="448"
5+
Width="430" Height="472"
6+
MinWidth="380" MinHeight="462"
77
Background="{StaticResource BackgroundBrush}"
88
Foreground="{StaticResource TextPrimaryBrush}"
99
ResizeMode="CanMinimize"
@@ -32,6 +32,7 @@
3232
<RowDefinition Height="Auto" /> <!-- Status + click count -->
3333
<RowDefinition Height="8" />
3434
<RowDefinition Height="38" /> <!-- Start/Stop button -->
35+
<RowDefinition Height="Auto" /> <!-- Version label -->
3536
</Grid.RowDefinitions>
3637
<Grid.ColumnDefinitions>
3738
<ColumnDefinition Width="155" />
@@ -188,5 +189,12 @@
188189
Padding="0"
189190
Click="StartStopBtn_Click" />
190191

192+
<!-- ── Version (subtle, bottom-right) ──────────────────────────────── -->
193+
<TextBlock Grid.Row="19" Grid.Column="0" Grid.ColumnSpan="2"
194+
x:Name="VersionLabel"
195+
HorizontalAlignment="Right"
196+
Foreground="{StaticResource TextDisabledBrush}"
197+
FontSize="9" Margin="0,1,2,0" />
198+
191199
</Grid>
192200
</Window>

windows/MainWindow.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using QuadClicker.Core;
22
using QuadClicker.Models;
33
using QuadClicker.PInvoke;
4+
using System.Reflection;
45
using System.Windows;
56
using System.Windows.Controls;
67
using System.Windows.Input;
@@ -55,6 +56,7 @@ private static readonly (string Tag, string Display)[] FrequencyUnits =
5556
public MainWindow()
5657
{
5758
InitializeComponent();
59+
VersionLabel.Text = "v" + (Assembly.GetExecutingAssembly().GetName().Version?.ToString(3) ?? "?");
5860
_picker.LocationPicked += OnLocationPicked;
5961
_picker.PickCancelled += OnPickCancelled;
6062
_engine.ClickCountUpdated += OnClickCountUpdated;

windows/QuadClicker.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<RootNamespace>QuadClicker</RootNamespace>
1414
<Product>QuadClicker</Product>
1515
<Copyright>Copyright © 2026 Quadstronaut (Kyle Green)</Copyright>
16-
<Version>1.0.0</Version>
17-
<FileVersion>1.0.0.0</FileVersion>
16+
<Version>0.1.1</Version>
17+
<FileVersion>0.1.1.0</FileVersion>
1818
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1919
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
2020
<Platforms>x64</Platforms>

0 commit comments

Comments
 (0)