Rev 4429 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4429 | Rev 4923 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | 9 | ||
Line 10... | Line 10... | ||
10 | 10 | ||
11 | include "skindata.inc" |
11 | include "skindata.inc" |
12 | 12 | ||
13 | ;skin_data = 0x00778000 |
13 | ;skin_data = 0x00778000 |
14 | ;------------------------------------------------------------------------------ |
14 | ;----------------------------------------------------------------- |
15 | align 4 |
15 | align 4 |
16 | read_skin_file: |
16 | read_skin_file: |
Line 119... | Line 119... | ||
119 | mov eax, [ebx+SKIN_PARAMS.colors_1.frame] |
119 | mov eax, [ebx+SKIN_PARAMS.colors_1.frame] |
120 | mov [skin_inactive.colors.frame], eax |
120 | mov [skin_inactive.colors.frame], eax |
121 | lea esi, [ebx+SKIN_PARAMS.dtp.data] |
121 | lea esi, [ebx+SKIN_PARAMS.dtp.data] |
122 | mov edi, common_colours |
122 | mov edi, common_colours |
123 | mov ecx, [ebx+SKIN_PARAMS.dtp.size] |
123 | mov ecx, [ebx+SKIN_PARAMS.dtp.size] |
124 | and ecx, 127 |
124 | and ecx, 255 |
125 | rep movsb |
125 | rep movsb |
126 | mov eax, dword[ebx+SKIN_PARAMS.margin.right] |
126 | mov eax, dword[ebx+SKIN_PARAMS.margin.right] |
127 | mov dword[_skinmargins+0], eax |
127 | mov dword[_skinmargins+0], eax |
128 | mov eax, dword[ebx+SKIN_PARAMS.margin.bottom] |
128 | mov eax, dword[ebx+SKIN_PARAMS.margin.bottom] |
129 | mov dword[_skinmargins+4], eax |
129 | mov dword[_skinmargins+4], eax |