MirrorBar Plus 13: Claude and Grok flyout, clipboard history button, mp3 player

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JW57Zw8fvgzpeDkbUYT7sG
This commit is contained in:
Claude
2026-11-21 01:47:48 +00:00
parent 7ffd3c5e22
commit 3c58a4d8a5
13 changed files with 1187 additions and 8 deletions
+36 -2
View File
@@ -14,8 +14,8 @@ import (
)
var (
pRoundRect = gdi32.NewProc("RoundRect")
pGetTextExtentW = gdi32.NewProc("GetTextExtentPoint32W")
pRoundRect = gdi32.NewProc("RoundRect")
pGetTextExtentW = gdi32.NewProc("GetTextExtentPoint32W")
)
// ---------- the color of the bar ----------
@@ -349,6 +349,40 @@ func setShowEmoji(on bool) {
positionBar(hwndMain)
}
func setShowClip(on bool) {
if showClip == on {
return
}
showClip = on
saveFeatures()
positionBar(hwndMain)
}
func setShowAI(on bool) {
if showAI == on {
return
}
showAI = on
saveFeatures()
if !on {
flyClaude.closeWindow()
flyGrok.closeWindow()
}
positionBar(hwndMain)
}
func setShowMusic(on bool) {
if showMusic == on {
return
}
showMusic = on
saveFeatures()
if !on {
flyPlayer.closeWindow()
}
positionBar(hwndMain)
}
func setShowBattery(on bool) {
if showBattery == on {
return