MirrorBar+ part 1: weather radar, outline color, show/hide switches, README

This commit is contained in:
2026-11-08 02:58:02 +00:00
parent 49ea564abf
commit 6a84862b71
5 changed files with 99 additions and 49 deletions
+6
View File
@@ -1188,6 +1188,8 @@ func wndProc(hwnd, m, wparam, lparam uintptr) (result uintptr) {
case wmDestroy:
previewShutdown()
weatherShutdown()
newsShutdown()
sysShutdown()
abd := appBarData{Hwnd: hwnd}
appBar(abmRemove, &abd)
pKillTimer.Call(hwnd, timerID)
@@ -1249,6 +1251,7 @@ func main() {
loadOrderKeys()
loadIconMode()
loadZip()
loadFeatures()
hdc, _, _ := pGetDC.Call(0)
dpi, _, _ := pGetDeviceCaps.Call(hdc, logPixelsX)
@@ -1303,6 +1306,8 @@ func main() {
hwndMain = hwnd
previewInit(inst)
weatherInit(inst)
newsInit(inst)
sysInit(inst)
enableFileDrop(hwnd)
refreshAutostartPath()
@@ -1332,6 +1337,7 @@ func main() {
positionBar(hwnd)
pSetTimer.Call(hwnd, timerID, 250, 0)
weatherRefresh(false) // have the forecast ready before the cloud is first clicked
newsRefresh(false)
var m msg
for {