Subversion Repositories Kolibri OS

Rev

Rev 6342 | Rev 6359 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6342 Rev 6357
Line 31... Line 31...
31
	 mov [Icon_X],9
31
	 mov [Icon_X],9
32
	 mov [Icon_Y],21+15+4+1
32
	 mov [Icon_Y],21+15+4+1
Line 33... Line 33...
33
 
33
 
Line 34... Line -...
34
   main_buttons:
-
 
35
 
34
   main_buttons:
36
	 mov eax,8
35
 
37
	 mov ebx,[Icon_X]
36
	 mov ebx,[Icon_X]
38
	 mov ecx,[Icon_Y]
37
	 mov ecx,[Icon_Y]
39
	 dec ebx
38
	 dec ebx
Line 43... Line 42...
43
	 add ebx,18
42
	 add ebx,18
44
	 add ecx,19
43
	 add ecx,19
45
	 mov edx,[counter]
44
	 mov edx,[counter]
46
	 add edx,10
45
	 add edx,10
47
	 add edx,1000000000000000000000000000000b
46
	 add edx,1000000000000000000000000000000b
48
	 mcall
47
	 mcall SF_DEFINE_BUTTON
Line 49... Line 48...
49
 
48
 
Line 50... Line 49...
50
 
49
 
Line 61... Line 60...
61
	 mov [Icon_X],8+1
60
	 mov [Icon_X],8+1
62
	 mov [Icon_Y],20+15+4+25+1
61
	 mov [Icon_Y],20+15+4+25+1
Line 63... Line 62...
63
 
62
 
Line 64... Line -...
64
	 next_button_brush:
-
 
65
 
63
	 next_button_brush:
66
	 mov eax,8
64
 
67
	 mov ebx,[Icon_X]
65
	 mov ebx,[Icon_X]
68
	 mov ecx,[Icon_Y]
66
	 mov ecx,[Icon_Y]
69
	 dec ebx
67
	 dec ebx
Line 73... Line 71...
73
	 add ebx,18
71
	 add ebx,18
74
	 add ecx,19
72
	 add ecx,19
75
	 mov edx,[counter]
73
	 mov edx,[counter]
76
	 add edx,40
74
	 add edx,40
77
	 add edx,1000000000000000000000000000000b
75
	 add edx,1000000000000000000000000000000b
78
	 mcall
76
	 mcall SF_DEFINE_BUTTON
Line 79... Line 77...
79
 
77
 
Line 80... Line 78...
80
	 add [Icon_X],19
78
	 add [Icon_X],19
81
 
79
 
Line 90... Line 88...
90
	 mov [Icon_X],8+155+1
88
	 mov [Icon_X],8+155+1
91
	 mov [Icon_Y],20+15+4+25+1
89
	 mov [Icon_Y],20+15+4+25+1
Line 92... Line 90...
92
 
90
 
Line 93... Line -...
93
	 next_button_zoom:
-
 
94
 
91
	 next_button_zoom:
95
	 mov eax,8
92
 
96
	 mov ebx,[Icon_X]
93
	 mov ebx,[Icon_X]
97
	 mov ecx,[Icon_Y]
94
	 mov ecx,[Icon_Y]
98
	 dec ebx
95
	 dec ebx
Line 102... Line 99...
102
	 add ebx,18
99
	 add ebx,18
103
	 add ecx,19
100
	 add ecx,19
104
	 mov edx,[counter]
101
	 mov edx,[counter]
105
	 add edx,45
102
	 add edx,45
106
	 add edx,1000000000000000000000000000000b
103
	 add edx,1000000000000000000000000000000b
107
	 mcall
104
	 mcall SF_DEFINE_BUTTON
Line 108... Line 105...
108
 
105
 
Line 109... Line 106...
109
	 add [Icon_X],19
106
	 add [Icon_X],19
110
 
107
 
Line 115... Line 112...
115
 
112
 
116
	 ; button of palette
113
	 ; button of palette
117
	 mov [Icon_X],7+105+1
114
	 mov [Icon_X],7+105+1
Line 118... Line -...
118
	 mov [Icon_Y],19+15+4+25+1
-
 
119
 
115
	 mov [Icon_Y],19+15+4+25+1
120
	 mov eax,8
116
 
121
	 mov ebx,[Icon_X]
117
	 mov ebx,[Icon_X]
122
	 mov ecx,[Icon_Y]
118
	 mov ecx,[Icon_Y]
123
	 dec ebx
119
	 dec ebx
124
	 dec ecx
120
	 dec ecx
125
	 shl ebx,16
121
	 shl ebx,16
126
	 shl ecx,16
122
	 shl ecx,16
127
	 add ebx,20
123
	 add ebx,20
128
	 add ecx,21
124
	 add ecx,21
129
	 mov edx,51
125
	 mov edx,51
Line 130... Line 126...
130
	 add edx,1000000000000000000000000000000b
126
	 add edx,1000000000000000000000000000000b
131
	 mcall
127
	 mcall SF_DEFINE_BUTTON
132
 
128
 
Line 133... Line -...
133
	 ; button of color
-
 
134
	 mov [Icon_X],7+128+1
129
	 ; button of color
135
	 mov [Icon_Y],19+15+4+25+1
130
	 mov [Icon_X],7+128+1
136
 
131
	 mov [Icon_Y],19+15+4+25+1
137
	 mov eax,8
132
 
138
	 mov ebx,[Icon_X]
133
	 mov ebx,[Icon_X]
139
	 mov ecx,[Icon_Y]
134
	 mov ecx,[Icon_Y]
140
	 dec ebx
135
	 dec ebx
141
	 dec ecx
136
	 dec ecx
142
	 shl ebx,16
137
	 shl ebx,16
143
	 shl ecx,16
138
	 shl ecx,16
144
	 add ebx,20
139
	 add ebx,20
Line 145... Line -...
145
	 add ecx,20
-
 
146
	 mov edx,52
140
	 add ecx,20
147
	 add edx,1000000000000000000000000000000b
-
 
148
	 mcall
-
 
149
 
-
 
Line 150... Line 141...
150
	 mov eax,13
141
	 mov edx,52