|
|
@@ -0,0 +1,26 @@ |
|
|
|
#include "user32.as" |
|
|
|
|
|
|
|
#packopt hide 1 |
|
|
|
#packopt name "nizika-desktop" |
|
|
|
|
|
|
|
|
|
|
|
; 半透明スクリーン作成 |
|
|
|
SCREEN_MAIN = BgScr2 (gInfo_dispX, gInfo_dispY, SCREEN_MAIN, 0, 0) |
|
|
|
SetWindowLong hWnd, GWL_EXSTYLE, GetWindowLong (hWnd, GWL_EXSTYLE) Or WS_EX_LAYERED |
|
|
|
SetLayeredWindowAttributes hWnd, RGBCOLOUR_LIME, False, True |
|
|
|
|
|
|
|
Color COLOUR_LIME |
|
|
|
BoxF |
|
|
|
|
|
|
|
Repeat 24 |
|
|
|
SCREEN_NIZIKA.cnt = Buffer2 () |
|
|
|
PicLoad StrF ("assets/nizika/%03d.png", cnt + 1) |
|
|
|
Loop |
|
|
|
|
|
|
|
NIZIKA_WIDTH = gInfo_winX |
|
|
|
NIZIKA_HEIGHT = gInfo_winY |
|
|
|
|
|
|
|
GSel SCREEN_MAIN |
|
|
|
Pos 0, 0 |
|
|
|
GCopy SCREEN_NIZIKA, 0, 0, NIZIKA_WIDTH, NIZIKA_HEIGHT |
|
|
|
|