MirrorBar+ part 1: weather radar, outline color, show/hide switches, README
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user