Subversion Repositories Kolibri OS

Rev

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

Rev 4084 Rev 4088
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
-
 
162
  .DrawUB:
161
  .DrawUB:
163
        push    ecx
162
        push    ecx
Line -... Line 163...
-
 
163
 
164
 
164
                mov     eax,[NumMenuButt]
-
 
165
        sub     eax,ecx
-
 
166
        mov     edx,eax      ;button ID = ®â 0 ¤® NumMenuButt
-
 
167
        or      edx,60000000h
165
        push    eax
168
        shl     eax,4+16          ;*16*10000h
-
 
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
166
        stdcall DrawRBLine,eax,0
178
        shr     ecx,16
167
        pop     eax
179
        mov     bx,cx
-
 
180
        add     bx,7
-
 
181
 
-
 
182
        mov	ecx,[sc.work_text]
-
 
183
        or      ecx,80000000h
-
 
184
 
-
 
185
        mov     eax,[NumMenuButt]
-
 
186
        sub     eax,[esp]
-
 
187
        mov     edx,[RBMenuCP+eax*8]
-
 
188
        mcall   4  
Line 168... Line 189...
168
        add     eax,16
189
 
169
 
190
 
170
        pop     ecx
191
        pop     ecx