Subversion Repositories Kolibri OS

Rev

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

Rev 31 Rev 42
Line 30... Line 30...
30
soften_middle	dd    1  ;  0 no         ; 1 yes
30
soften_middle	dd    1  ;  0 no         ; 1 yes
31
icons		dd    1  ;  0 defaults   ; 1 activate
31
icons		dd    1  ;  0 defaults   ; 1 activate
Line 32... Line 32...
32
 
32
 
Line -... Line 33...
-
 
33
dat  db  'PANEL   DAT'
Line 33... Line 34...
33
dat  db  'PANEL   DAT'
34
 
Line 34... Line 35...
34
 
35
PANEL_HEIGHT = 18
35
 
36
 
Line 236... Line 237...
236
    add  edi,4
237
    add  edi,4
237
    inc  esi
238
    inc  esi
238
    cmp  [esi],byte 'x'
239
    cmp  [esi],byte 'x'
239
    jne  new_number
240
    jne  new_number
Line -... Line 241...
-
 
241
 
-
 
242
	mcall	48,5
-
 
243
	mov	ecx,eax
-
 
244
	lea	edx,[ebx-PANEL_HEIGHT-1]
Line 240... Line 245...
240
 
245
	mcall	48,6
Line 241... Line 246...
241
 
246
 
242
    call set_variables
247
    call set_variables
Line 1014... Line 1019...
1014
    shl  eax,16
1019
    shl  eax,16
1015
    mov  ecx,eax
1020
    mov  ecx,eax
1016
    add  ecx,0*65536+38
1021
    add  ecx,0*65536+38
1017
    cmp  [graph_text],1
1022
    cmp  [graph_text],1
1018
    jne  no_text_1
1023
    jne  no_text_1
1019
    mov  cx,18
1024
    mov  cx,PANEL_HEIGHT
1020
    add  ecx,20*65536
1025
    add  ecx,20*65536
1021
  no_text_1:
1026
  no_text_1:
1022
    mov  eax, 0 		    ; DEFINE AND DRAW WINDOW
1027
    mov  eax, 0 		    ; DEFINE AND DRAW WINDOW
1023
    mov  edx, [wcolor]
1028
    mov  edx, [wcolor]
1024
    or	 edx, 0x01000000 ; do not draw the window
1029
    or	 edx, 0x01000000 ; do not draw the window