Subversion Repositories Kolibri OS

Rev

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

Rev 4003 Rev 4007
Line 140... Line 140...
140
        edit_boxes_set_sys_color edtName,edtExePath,sc
140
        edit_boxes_set_sys_color edtName,edtExePath,sc
141
        edit_boxes_set_sys_color edtExePath,edtParams,sc
141
        edit_boxes_set_sys_color edtExePath,edtParams,sc
142
        edit_boxes_set_sys_color edtParams,edtIcon,sc
142
        edit_boxes_set_sys_color edtParams,edtIcon,sc
143
        ;edit_boxes_set_sys_color edtIcon,endEdits,sc
143
        ;edit_boxes_set_sys_color edtIcon,endEdits,sc
Line 144... Line 144...
144
 
144
 
Line 145... Line 145...
145
        call    DRedraw
145
        call    DRedrawWin
146
 
146
 
Line 147... Line 147...
147
DMessages:
147
DMessages:
Line 199... Line 199...
199
        stdcall [edit_box_draw],edtParams
199
        stdcall [edit_box_draw],edtParams
200
        jmp     DMessages
200
        jmp     DMessages
Line 201... Line 201...
201
 
201
 
202
    .DNE3:
202
    .DNE3:
203
        and     [edtParams.flags],not ed_focus
203
        and     [edtParams.flags],not ed_focus
204
        or      [edtIcon.flags],ed_focus
204
        or      [edtName.flags],ed_focus
205
        stdcall [edit_box_draw],edtParams
205
        stdcall [edit_box_draw],edtParams
206
        stdcall [edit_box_draw],edtIcon
206
        stdcall [edit_box_draw],edtName
Line 207... Line 207...
207
        jmp     DMessages
207
        jmp     DMessages
208
 
208
 
209
    ;.DNE4:
209
    ;.DNE4:
Line 375... Line 375...
375
        mov     [DlgAddActiv],0
375
        mov     [DlgAddActiv],0
376
        mov     [slotDlgAdd],0
376
        mov     [slotDlgAdd],0
377
        mcall   -1              ;ExitThread
377
        mcall   -1              ;ExitThread
Line 378... Line 378...
378
 
378
 
379
;##################################################################
379
;##################################################################
380
proc DRedraw
380
proc DRedrawWin
381
        mcall   12,1            ;RedrawWinBeg
381
        mcall   12,1            ;RedrawWinBeg
382
        mov     edx,[sc.work]
382
        mov     edx,[sc.work]
383
        or      edx,34000000h
383
        or      edx,34000000h
384
        cmp     [DlgSelIcon],-1
384
        cmp     [DlgSelIcon],-1
Line 472... Line 472...
472
proc DrawStdIcons
472
proc DrawStdIcons
473
local IcoX:DWORD,\
473
local IcoX:DWORD,\
474
      IcoY:DWORD,\
474
      IcoY:DWORD,\
475
      iIcon:DWORD
475
      iIcon:DWORD
Line -... Line 476...
-
 
476
 
-
 
477
      @@:                      ;¦¤ñ¬, ª®£¤  ®á¢®¡®¤¨âáï ¡ãää¥à
-
 
478
        cmp     [bIcoBuff],1
-
 
479
        jne     @f
-
 
480
        mcall   5,1
-
 
481
        jmp     @b
-
 
482
      @@:
-
 
483
 
-
 
484
        mov     [bIcoBuff],1 ;¡«®ª¨à㥬 IconArea
476
 
485
 
477
        mov     ecx,[sbIcons.position]
486
        mov     ecx,[sbIcons.position]
478
        xor     eax,eax
487
        xor     eax,eax
Line 479... Line 488...
479
        m2m     dword[iIcon],0
488
        m2m     dword[iIcon],0
Line 489... Line 498...
489
        lea     esi,[eax+44]
498
        lea     esi,[eax+44]
490
        add     esi,[raw_pointer]
499
        add     esi,[raw_pointer]
Line 491... Line 500...
491
 
500
 
Line 492... Line -...
492
        mov     [IcoX],ICONSX
-
 
493
 
501
        mov     [IcoX],ICONSX
494
 
502
 
495
        mov     ecx,ICONS_DRAW_COUNTW
503
        mov     ecx,ICONS_DRAW_COUNTW
Line 496... Line 504...
496
  .DrawIcons:
504
  .DrawIcons:
Line 515... Line 523...
515
        test    eax,0FF000000h
523
        test    eax,0FF000000h
516
        jnz     @f
524
        jnz     @f
517
        mov     eax,[sc.work]
525
        mov     eax,[sc.work]
518
     @@:
526
     @@:
Line 519... Line 527...
519
 
527
 
520
        mov     word[edi],ax
528
        mov     [edi],ax
521
        shr     eax,16
529
        shr     eax,16
522
        mov     [edi+2],al
530
        mov     [edi+2],al
Line 523... Line 531...
523
        add     edi,3
531
        add     edi,3
Line 583... Line 591...
583
        add     dword[IcoX],IMG_SIZE+SPCW
591
        add     dword[IcoX],IMG_SIZE+SPCW
584
        pop     ecx
592
        pop     ecx
585
        loop    .DrawIcons2
593
        loop    .DrawIcons2
Line 586... Line 594...
586
 
594
 
-
 
595
   .endProc:
-
 
596
 
587
   .endProc:
597
        mov     [bIcoBuff],0           ;à §¡«®ª¨à㥬 ¡ãä¥à
588
        ret
598
        ret
Line 589... Line 599...
589
endp
599
endp
590
 
600