Subversion Repositories Kolibri OS

Rev

Rev 566 | Rev 569 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 566 Rev 567
Line 53... Line 53...
53
;;
53
;;
54
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
54
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 55... Line 55...
55
 
55
 
Line 56... Line 56...
56
include 'macros.inc'
56
include 'macros.inc'
Line 57... Line 57...
57
 
57
 
Line 58... Line 58...
58
$Revision: 566 $
58
$Revision: 567 $
59
 
59
 
Line 608... Line 608...
608
 
608
 
Line 609... Line 609...
609
        call   build_scheduler ; sys32.inc
609
        call   build_scheduler ; sys32.inc
610
 
610
 
-
 
611
        mov    esi,boot_devices
-
 
612
        call   boot_log
-
 
613
 
611
        mov    esi,boot_devices
614
        mov  [pci_access_enabled],1
612
        call   boot_log
615
 
Line 613... Line 616...
613
        call   detect_devices
616
        call   detect_devices
Line 628... Line 631...
628
 
631
 
629
        mov   esi,boot_setmouse
632
        mov   esi,boot_setmouse
630
        call  boot_log
633
        call  boot_log
Line 631... Line -...
631
        call  setmouse
-
 
Line 632... Line 634...
632
 
634
        call  setmouse
Line 633... Line 635...
633
        mov  [pci_access_enabled],1
635
 
634
 
636
 
Line 2958... Line 2960...
2958
    cmp   edi,3   ; type IV - skinned window
2960
    cmp   edi,3   ; type IV - skinned window
2959
    je    draw_skin_window
2961
    je    draw_skin_window
2960
    cmp   edi,4   ; type V - skinned window not sized!		{not_sized_skin_window}
2962
    cmp   edi,4   ; type V - skinned window not sized!		{not_sized_skin_window}
2961
    jne   nosyswV
2963
    jne   nosyswV
2962
  draw_skin_window:
2964
  draw_skin_window:
2963
  
2965
 
2964
    ; parameter for drawwindow_IV
2966
    ; parameter for drawwindow_IV
2965
    push  0
2967
    push  0
2966
    mov   edi, [TASK_COUNT]
2968
    mov   edi, [TASK_COUNT]
2967
    movzx edi, word [WIN_POS + edi*2]
2969
    movzx edi, word [WIN_POS + edi*2]
2968
    cmp   edi, [CURRENT_TASK]
2970
    cmp   edi, [CURRENT_TASK]
Line 3001... Line 3003...
3001
        and     bl,0x0F
3003
        and     bl,0x0F
3002
        cmp     bl,3
3004
        cmp     bl,3
3003
        je      .draw_caption_style_3		;{for 3 and 4 style write caption}
3005
        je      .draw_caption_style_3		;{for 3 and 4 style write caption}
3004
        cmp     bl,4
3006
        cmp     bl,4
3005
        je      .draw_caption_style_3
3007
        je      .draw_caption_style_3
3006
    
3008
 
3007
        jmp     .not_style_3
3009
        jmp     .not_style_3
3008
  .draw_caption_style_3:
3010
  .draw_caption_style_3:
Line 3009... Line 3011...
3009
 
3011
 
3010
        push    edx
3012
        push    edx
Line 3040... Line 3042...
3040
        and     al,0x0F
3042
        and     al,0x0F
3041
        cmp     al,3
3043
        cmp     al,3
3042
        je      .skinned
3044
        je      .skinned
3043
        cmp     al,4
3045
        cmp     al,4
3044
        je      .skinned
3046
        je      .skinned
3045
       
3047
 
3046
        jmp     .not_skinned
3048
        jmp     .not_skinned
3047
  .skinned:		
3049
  .skinned:
3048
        mov     ebp,[edi+window_data+WDATA.box.left-2]
3050
        mov     ebp,[edi+window_data+WDATA.box.left-2]
3049
        mov     bp,word[edi+window_data+WDATA.box.top]
3051
        mov     bp,word[edi+window_data+WDATA.box.top]
3050
        movzx   eax,word[edi+window_data+WDATA.box.width]
3052
        movzx   eax,word[edi+window_data+WDATA.box.width]
3051
        sub     ax,[_skinmargins.left]
3053
        sub     ax,[_skinmargins.left]
3052
        sub     ax,[_skinmargins.right]
3054
        sub     ax,[_skinmargins.right]
Line 3199... Line 3201...
3199
        mov     [edi+APPDATA.wnd_caption],0
3201
        mov     [edi+APPDATA.wnd_caption],0
3200
        cmp     cl,3
3202
        cmp     cl,3
3201
        je      set_APPDATA_wnd_caption
3203
        je      set_APPDATA_wnd_caption
3202
        cmp     cl,4								; {SPraid.simba}
3204
        cmp     cl,4								; {SPraid.simba}
3203
        je      set_APPDATA_wnd_caption
3205
        je      set_APPDATA_wnd_caption
3204
        
3206
 
3205
        jmp     @f		
3207
        jmp     @f
3206
    set_APPDATA_wnd_caption:
3208
    set_APPDATA_wnd_caption:
3207
        mov     [edi+APPDATA.wnd_caption],esi
3209
        mov     [edi+APPDATA.wnd_caption],esi
3208
    @@: mov     esi,[esp+0]
3210
    @@: mov     esi,[esp+0]
Line 3209... Line 3211...
3209
 
3211