MirrorBar Plus 11: clock font, more colors and logo shapes, charging color, emoji button
Clock font picker (16 fonts), 8 more bar colors, 8 more logo/tray/clock colors, 6 new Windows logo shapes, battery charging color picker, and an emoji panel button (Win+.) on the bar with a show/hide tickbox and right-click item. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JW57Zw8fvgzpeDkbUYT7sG
This commit is contained in:
@@ -22,9 +22,9 @@ const (
|
||||
superSample = 2
|
||||
mfPopup = 0x0010
|
||||
|
||||
menuLogoColorBase = 100
|
||||
menuClockColorBase = 120
|
||||
menuIconColorBase = 140
|
||||
menuLogoColorBase = 300 // 40 apart so the color menus can grow past 20 colors
|
||||
menuClockColorBase = 340
|
||||
menuIconColorBase = 380
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -64,6 +64,14 @@ var palette = []namedColor{
|
||||
{"Maroon", 140, 30, 50},
|
||||
{"Gray", 140, 140, 150},
|
||||
{"Lime", 150, 220, 40},
|
||||
{"Brown", 150, 100, 60},
|
||||
{"Mint", 150, 230, 200},
|
||||
{"Lavender", 190, 170, 240},
|
||||
{"Gold", 210, 170, 50},
|
||||
{"Coral", 255, 120, 100},
|
||||
{"Silver", 200, 200, 210},
|
||||
{"Slate", 90, 105, 125},
|
||||
{"Olive", 130, 140, 50},
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -248,6 +256,8 @@ func renderLayer(screen uintptr, w, h int32, fills, fg bool, base uintptr) []uin
|
||||
drawSysIcon(memV, r)
|
||||
case trayGM:
|
||||
drawGMIcon(memV, r)
|
||||
case trayEmoji:
|
||||
drawEmojiIcon(memV, r)
|
||||
}
|
||||
}
|
||||
pGdiFlush.Call()
|
||||
|
||||
Reference in New Issue
Block a user