Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f7c585

Browse files
committed
Forgot an MUI_ALIGN for the _MUI_AnimationFrameData function
1 parentcf44c04 commit8f7c585

File tree

8 files changed

+23
-19
lines changed

8 files changed

+23
-19
lines changed

‎Controls/ModernUI_Animation/ModernUI_Animation.asm‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,7 @@ _MUI_AnimationNotify PROC USES EBX hWin:DWORD, dwCode:DWORD
852852
ret
853853
_MUI_AnimationNotify endp
854854

855+
MUI_ALIGN
855856
;------------------------------------------------------------------------------
856857
; _MUI_AnimationFrameData - gets a pointer to a frame's data
857858
; if dwFrameIndex == -1 then gets the current frame's data
@@ -1219,6 +1220,7 @@ MUI_ALIGN
12191220
; MUIAnimationSpeed
12201221
;------------------------------------------------------------------------------
12211222
MUIAnimationSetDefaultTime PROC hControl:DWORD, dwDefaultFrameTime:DWORD
1223+
moveax, dwDefaultFrameTime
12221224
.IFeax ==0 ||eax ==-1 ||eax >60000 ; 0, -1 or 60seconds
12231225
moveax, ANIMATION_FRAME_TIME_DEFAULT
12241226
.ELSE
@@ -1681,7 +1683,7 @@ MUI_ALIGN
16811683
; MUIAnimationDeleteFrames - deletes all frames
16821684
; Returns TRUE if successful or FALSE otherwise
16831685
;------------------------------------------------------------------------------
1684-
MUIAnimationDeleteFrames PROC hControl:DWORD
1686+
MUIAnimationDeleteFrames PROCUSESEBXhControl:DWORD
16851687
LOCAL pAnimationFramesArray:DWORD
16861688
LOCAL pCurrentFrame:DWORD
16871689
LOCAL TotalFrames:DWORD
@@ -2673,7 +2675,7 @@ _MUI_AnimationLoadPng PROC hinstance:DWORD, idResPng:DWORD
26732675
Invoke GdipGetImageHeight, pBitmapFromStream, Addr dwImageHeight
26742676
Invoke GdipCreateBitmapFromScan0, dwImageWidth, dwImageHeight,0, PixelFormat32bppARGB,0, Addr pImage
26752677
Invoke GdipGetImageGraphicsContext, pImage, Addr pGraphics
2676-
InvokeGdipDrawImage, pGraphics, pBitmapFromStream,0,0
2678+
InvokeGdipDrawImageI, pGraphics, pBitmapFromStream,0,0
26772679
26782680
; ------------------------------------------------------------------
26792681
; STEP 6: Free all used locks and resources
-36 Bytes
Binary file not shown.

‎Controls/ModernUI_Animation/ModernUI_Animation.rap‎

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ AutoLoad=2,1,3,4,5,6,7
6666
[Size]
6767
3=0,0,0,0,2986
6868
4=0,0,0,0,314
69-
1=0,0,0,0,14046
70-
2=0,0,0,0,11013
69+
1=0,0,0,0,90590
70+
2=0,0,0,0,1196
7171
6=0,0,0,0,82
7272
5=0,0,0,0,503
7373
7=0,0,0,0,0
@@ -81,7 +81,7 @@ MilestoneOnTime=2
8181
MilestoneOnDate=0
8282
MilestoneOnDateWhen=1
8383
MilestoneOnDateStatus=0
84-
MilestoneOnDateDate=20
84+
MilestoneOnDateDate=23
8585
MilestoneOnDateTimeYear=2019
8686
MilestoneOnDateTimeMonth=7
8787
MilestoneOnDateTimeDate=1
@@ -105,7 +105,7 @@ ProductVer2Range=0
105105
ProductVer3Range=0
106106
ProductVer4Range=0
107107
[PTimer]
108-
PTimer=65792095
108+
PTimer=71247559
109109
[GroupExpand]
110110
GroupExpand=1,1,0
111111
[BookMark]
@@ -125,17 +125,19 @@ GroupExpand=1,1,0
125125
2=
126126
1=
127127
[Collapse]
128-
1=66,1057288,1612743200,882190344,1426204736,1073758342,15204489,
128+
1=,,,,,16384,,
129129
2=
130130
6=
131131
5=
132132
4=
133133
3=
134134
7=
135135
[Find]
136-
1="SPINNER_USE_TIMERQUEUE"
137-
2="@AnimationFrameTimeDefault"
138-
3="MUIAnimationLoadSpriteSheet"
139-
4="MUIAIT_NONE,MUIAIT_BMP,MUIAIT_ICO,MUIAIT_PNG"
140-
5="_MUI_AnimationGetFrameImage"
141-
6="ANIMATION_FRAME"
136+
1="GdipDrawImage"
137+
2="finit"
138+
3="SPINNER_USE_TIMERQUEUE"
139+
4="@AnimationFrameTimeDefault"
140+
5="MUIAnimationLoadSpriteSheet"
141+
6="MUIAIT_NONE,MUIAIT_BMP,MUIAIT_ICO,MUIAIT_PNG"
142+
7="_MUI_AnimationGetFrameImage"
143+
8="ANIMATION_FRAME"

‎Examples/MUIAnim1/MUIAnim1.exe‎

0 Bytes
Binary file not shown.

‎Examples/MUIAnim1/MUIAnim1.rap‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ AutoLoad=2,1,4
9090
Settings=1148
9191
Milestones=129
9292
MilestoneEvery=10
93-
MilestoneEveryCurrent=1
93+
MilestoneEveryCurrent=3
9494
MilestoneOnBuild=0.0.0.0
9595
MilestoneOnTime=2
9696
MilestoneOnDate=0
9797
MilestoneOnDateWhen=1
9898
MilestoneOnDateStatus=0
99-
MilestoneOnDateDate=20
99+
MilestoneOnDateDate=23
100100
MilestoneOnDateTimeYear=2019
101101
MilestoneOnDateTimeMonth=7
102102
MilestoneOnDateTimeDate=19
@@ -120,13 +120,13 @@ ProductVer2Range=0
120120
ProductVer3Range=0
121121
ProductVer4Range=0
122122
[PTimer]
123-
PTimer=26818631
123+
PTimer=28019808
124124
[Collapse]
125125
2=
126-
1=64
126+
1=
127127
[Size]
128-
2=0,0,0,0,2011
129-
1=0,0,0,0,920
128+
2=0,0,0,0,5353
129+
1=0,0,0,0,7257
130130
4=0,0,0,0
131131
[GroupExpand]
132132
GroupExpand=1,0,1,0

‎Release/MUIAnim1.zip‎

-12 Bytes
Binary file not shown.

‎Release/ModernUI_Animation.zip‎

7 Bytes
Binary file not shown.
-21 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp