Subversion Repositories Kolibri OS

Rev

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

Rev 4082 Rev 4084
Line 157... Line 157...
157
        mcall   13,,,[sc.work]
157
        mcall   13,,,[sc.work]
158
 
158
 
Line 159... Line 159...
159
       ;----------- ®¯à¥¤¥«ï¥¬ ¨ à¨á㥬 ª­®¯ª¨
159
       ;----------- ®¯à¥¤¥«ï¥¬ ¨ à¨á㥬 ª­®¯ª¨
160
        mov     ecx,[NumMenuButt]
160
        mov     ecx,[NumMenuButt]
-
 
161
        xor     eax,eax
161
  .DrawUB:
162
  .DrawUB:
162
        push    ecx
163
        push    ecx
Line 163... Line -...
163
 
-
 
164
        mov     eax,[NumMenuButt]
164
 
165
        sub     eax,ecx
-
 
166
        mov     edx,eax      ;button ID = ®â 0 ¤® NumMenuButt
-
 
167
        or      edx,60000000h
-
 
168
        shl     eax,4+16          ;*16*10000h
165
        push    eax
169
        mov     ecx,eax
-
 
170
        mov     cx,16
-
 
171
 
-
 
172
        xor     ebx,ebx
-
 
173
        mov     bx,[RMenuW]
-
 
174
        mov     esi,[sc.work]
-
 
175
        mcall   8                       ;®¯à¥¤¥«¨«¨
-
 
176
 
-
 
177
        mov     ebx,70000h
-
 
178
        shr     ecx,16
166
        stdcall DrawRBLine,eax,0
179
        mov     bx,cx
167
        pop     eax
180
        add     bx,7
-
 
181
 
-
 
182
        mov     ecx,80000000h
-
 
183
 
-
 
184
        mov     eax,[NumMenuButt]
-
 
185
        sub     eax,[esp]
-
 
186
        mov     edx,[RBMenuCP+eax*8]
-
 
Line 187... Line 168...
187
        mcall   4                      ;¯®¤¯¨á «¨
168
        add     eax,16
188
 
169
 
189
        pop     ecx
170
        pop     ecx
Line 465... Line 446...
465
       @@:
446
       @@:
466
 
447
 
Line 467... Line 448...
467
        mcall
448
        mcall
Line 468... Line -...
468
 
-
 
469
 
449
 
470
        mov     bx,[RMenuW]                 ;¯à ¢®
450
        mov     bx,[RMenuW]                 ;¯à ¢®
471
        shl     ebx,16
451
        shl     ebx,16
472
        mov     bx,[RMenuW]
452
        mov     bx,[RMenuW]
473
        add     ebx,-2*10000h-2
453
        add     ebx,-2*10000h-2
Line 482... Line 462...
482
       @@:
462
       @@:
483
 
463
 
Line 484... Line 464...
484
        mcall
464
        mcall
Line 485... Line -...
485
 
-
 
486
 
-
 
487
 
-
 
488
 
-
 
489
 
465
 
490
        mov     eax,[y]
466
        mov     eax,[y]
491
        shr     eax,4
467
        shr     eax,4
Line 492... Line 468...
492
        mov     edx,[RBMenuCP+eax*8]
468
        mov     edx,[RBMenuCP+eax*8]
Line 502... Line 478...
502
       @@:
478
       @@:
503
        mov     ecx,[sc.work_text]
479
        mov     ecx,[sc.work_text]
504
      .L2:
480
      .L2:
505
 
481
 
Line 506... Line -...
506
 
-
 
507
 
-
 
508
        or      ecx,80000000h
482
        or      ecx,80000000h
Line 509... Line 483...
509
 
483
 
Line 510... Line 484...
510
        mcall   4
484
        mcall   4