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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user