Subversion Repositories Kolibri OS

Rev

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

Rev 4228 Rev 4308
Line 100... Line 100...
100
 
100
 
101
  inc cx
101
	inc cx
102
  mov edx,425*65536+25
102
	mov edx,425*65536+25
Line 103... Line 103...
103
  call draw_but_icon
103
	call draw_but_icon
104
 
104
 
105
  mov cx,17
105
	mov cx,17 ;âûáîð ôàéëà ïîäñâåòêè
Line -... Line 106...
-
 
106
	mov edx,450*65536+25
-
 
107
	call draw_but_icon
-
 
108
 
-
 
109
	mov cx,18 ;cp 1251 -> 866
-
 
110
	mov edx,425*65536+2
-
 
111
	call draw_but_icon
-
 
112
 
-
 
113
	mov cx,19 ;cp 866 -> 1251
106
  mov edx,450*65536+25
114
	mov edx,450*65536+2
107
  call draw_but_icon
115
	call draw_but_icon
Line 108... Line 116...
108
 
116
 
109
  popad
117
	popad
Line 330... Line 338...
330
	pop esi edx ecx
338
	pop esi edx ecx
Line 331... Line 339...
331
 
339
 
332
	cmp eax,7
340
	cmp eax,7
333
	jne @f ;êíîïêà íå âëåçëà â îêíî
341
	jne @f ;êíîïêà íå âëåçëà â îêíî
334
		mov ebx,[bmp_icon]
342
		mov ebx,[bmp_icon]
335
		bt ecx,30 ;if (ecx or 0x40000000)
343
		bt ecx,30 ;if (ecx & 0x40000000)
336
		jc .gray
344
		jc .gray
337
			add ebx,TOOLBAR_ICONS_SIZE ;ïåðåìåùàåìñÿ íà ñåðûå êíîïêè
345
			add ebx,TOOLBAR_ICONS_SIZE ;ïåðåìåùàåìñÿ íà ñåðûå êíîïêè
338
		.gray:
346
		.gray:
339
		push ecx
347
		push ecx