Rev 485 | Rev 2038 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 485 | Rev 552 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | ;---load icons in memory and draw icons on panel----------- |
2 | ;---load icons in memory and draw icons on panel----------- |
3 | ;----------------------------------------------------------- |
3 | ;----------------------------------------------------------- |
4 | load_icons: |
4 | load_icons: |
5 | mov esi,panel_picture |
5 | mov esi,panel_picture |
6 | mov edi,[ScreenPointer] |
6 | mov edi,[ScreenPointer] |
7 | mov eax,edi |
- | |
8 | add edi,(1200*1000*3) |
7 | add edi,(1200*1000*3) |
9 | ;mov edi,[PointerToIcons] |
8 | ;mov edi,[PointerToIcons] |
10 | call ReadGIF |
9 | call ReadGIF |
Line 11... | Line 10... | ||
11 | 10 | ||
Line 19... | Line 18... | ||
19 | ;draw panel picture |
18 | ;draw panel picture |
20 | mov edx,[Icon_X] |
19 | mov edx,[Icon_X] |
21 | shl edx,16 |
20 | shl edx,16 |
22 | add edx,[Icon_Y] |
21 | add edx,[Icon_Y] |
23 | mov ebx,[ScreenPointer] |
22 | mov ebx,[ScreenPointer] |
24 | add ebx,(1200*1000*3)+12 |
23 | add ebx,(1200*1000*3)+8 |
25 | mov eax,7 |
24 | mov eax,7 |
26 | mov ecx,417*65536+46 |
25 | mov ecx,417*65536+46 |
27 | mcall |
26 | mcall |