|
2 | 2 | ; Requires AutoHotkeyU32 |
3 | 3 | ;@Ahk2Exe-SetName LibreDeck Client |
4 | 4 | ;@Ahk2Exe-SetDescription Macro Panel Client |
5 | | -;@Ahk2Exe-SetVersion 4.0.4 |
| 5 | +;@Ahk2Exe-SetVersion 4.0.5 |
6 | 6 | ;@Ahk2Exe-SetCopyright 2026`, elModo7 - VictorDevLog |
7 | 7 | ;@Ahk2Exe-SetOrigFilename LibreDeck Client.exe |
8 | 8 | ; INITIALIZE |
@@ -54,7 +54,7 @@ SetBatchLines, -1 |
54 | 54 | #Include <plugin_system> |
55 | 55 | #Include <LibreDeckButtonImage> |
56 | 56 | rutaSplash = ./resources/img/splash.png |
57 | | -global ClientVersionNumber := "4.0.4" |
| 57 | +global ClientVersionNumber := "4.0.5" |
58 | 58 | global ClientVersion := ClientVersionNumber " - elModo7 / VictorDevLog " A_YYYY |
59 | 59 | SplashScreen(rutaSplash, 3000, 545, 160, 0, 0, true) |
60 | 60 | global EsVisible = true |
@@ -1831,7 +1831,14 @@ return |
1831 | 1831 |
|
1832 | 1832 | setButtonIcon(buttonId, imagePathOrName) { |
1833 | 1833 | global |
1834 | | - GuiControl, Text, Boton%buttonId%, % btnPics[imagePathOrName] ? "HBITMAP:*" btnPics[imagePathOrName] : imagePathOrName |
| 1834 | + if(EnCarpeta){ |
| 1835 | + curBtn := CarpetaBoton 15*PaginaCarpeta+buttonId ".png" |
| 1836 | + } |
| 1837 | + else |
| 1838 | + curBtn := CarpetaBoton 15*NumeroPagina+buttonId ".png" |
| 1839 | + |
| 1840 | + btnPics[curBtn] := LoadPicture(imagePathOrName) |
| 1841 | + GuiControl, Text, Boton%buttonId%, % btnPics[curBtn] ? "HBITMAP:*" btnPics[curBtn] : imagePathOrName |
1835 | 1842 | if(conf.miniClient) |
1836 | 1843 | GuiControl, MoveDraw, Boton%buttonId%, w49 h49 |
1837 | 1844 | else |
|
0 commit comments