Subversion Repositories Kolibri OS

Rev

Rev 485 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 485 Rev 6364
Line 6... Line 6...
6
 
6
 
Line 7... Line 7...
7
load_cursors:
7
load_cursors:
Line 8... Line -...
8
 
-
 
9
      mov [PointerToCursorsID],eax
-
 
10
 
8
 
11
      mov eax, 37
-
 
12
      mov ebx, 4
-
 
Line 13... Line 9...
13
      mov ecx,brush_cursor
9
      mov [PointerToCursorsID],eax
14
      mov edx,1
10
 
15
      mcall
11
      mcall SF_MOUSE_GET, SSF_LOAD_CURSOR, brush_cursor, 1
Line 16... Line -...
16
 
-
 
17
      mov ebx,[PointerToCursorsID]
-
 
18
      mov [ebx],eax
12
 
19
      add [PointerToCursorsID],4
-
 
20
 
-
 
Line 21... Line 13...
21
      mov eax, 37
13
      mov ebx,[PointerToCursorsID]
22
      mov ebx, 4
14
      mov [ebx],eax
23
      mov ecx,flood_fill_cursor
15
      add [PointerToCursorsID],4
Line 24... Line -...
24
      mov edx,1
-
 
25
      mcall
-
 
26
 
16
 
27
      mov ebx,[PointerToCursorsID]
-
 
28
      mov [ebx],eax
-
 
Line 29... Line 17...
29
      add [PointerToCursorsID],4
17
      mcall SF_MOUSE_GET, SSF_LOAD_CURSOR, flood_fill_cursor, 1
30
 
18
 
31
      mov eax, 37
19
      mov ebx,[PointerToCursorsID]
Line 32... Line -...
32
      mov ebx, 4
-
 
33
      mov ecx,lastik_cursor
-
 
34
      mov edx,1
-
 
35
      mcall
20
      mov [ebx],eax
36
 
-
 
37
      mov ebx,[PointerToCursorsID]
-
 
38
      mov [ebx],eax
-
 
Line 39... Line 21...
39
      add [PointerToCursorsID],4
21
      add [PointerToCursorsID],4
40
 
22
 
41
 
23
      mcall SF_MOUSE_GET, SSF_LOAD_CURSOR, lastik_cursor, 1
Line 42... Line -...
42
      mov eax, 37
-
 
43
      mov ebx, 4
-
 
44
      mov ecx,other_cursor
24
 
45
      mov edx,1
-
 
46
      mcall
-
 
47
 
-
 
Line 48... Line 25...
48
 
25
      mov ebx,[PointerToCursorsID]
49
      mov ebx,[PointerToCursorsID]
26
      mov [ebx],eax
50
      mov [ebx],eax
27
      add [PointerToCursorsID],4
Line 51... Line -...
51
      add [PointerToCursorsID],4
-
 
52
 
-
 
53
      mov eax, 37
28
 
54
      mov ebx, 4
-
 
55
      mov ecx,pencil_cursor
-
 
Line 56... Line 29...
56
      mov edx,1
29
      mcall SF_MOUSE_GET, SSF_LOAD_CURSOR, other_cursor, 1
57
      mcall
30
 
58
 
31
      mov ebx,[PointerToCursorsID]
Line 59... Line -...
59
 
-
 
60
      mov ebx,[PointerToCursorsID]
-
 
61
      mov [ebx],eax
32
      mov [ebx],eax
62
      add [PointerToCursorsID],4
-
 
63
 
-
 
Line 64... Line 33...
64
      mov eax, 37
33
      add [PointerToCursorsID],4
65
      mov ebx, 4
34
 
66
      mov ecx,pipette_cursor
35
      mcall SF_MOUSE_GET, SSF_LOAD_CURSOR, pencil_cursor, 1
Line 67... Line -...
67
      mov edx,1
-
 
68
      mcall
-
 
69
 
36
 
70
      mov ebx,[PointerToCursorsID]
-
 
71
      mov [ebx],eax
-
 
Line 72... Line 37...
72
      add [PointerToCursorsID],4
37
      mov ebx,[PointerToCursorsID]
73
 
38
      mov [ebx],eax
74
      mov eax, 37
39
      add [PointerToCursorsID],4
Line 278... Line 243...
278
      cmp ebx,52
243
      cmp ebx,52
279
      je no_change_cursor
244
      je no_change_cursor
Line 280... Line 245...
280
 
245
 
Line -... Line 246...
-
 
246
      che:
-
 
247
 
-
 
248
	cmp eax,8 ;cursors count
281
      che:
249
	jg no_change_cursor
282
 
250
 
283
      dec eax
251
      dec eax
284
      shl eax,2
252
      shl eax,2
285
      mov ebx,[PointerToCursorsID]
253
      mov ebx,[PointerToCursorsID]
Line 286... Line 254...
286
      add eax,ebx
254
      add eax,ebx
287
      mov ecx,[eax]
-
 
288
 
-
 
Line 289... Line 255...
289
      mov eax, 37
255
      mov ecx,[eax]
Line 290... Line 256...
290
      mov ebx, 5
256