Subversion Repositories Kolibri OS

Rev

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

Rev 1920 Rev 2195
Line 1986... Line 1986...
1986
    mov  eax,8		     ; time/date button
1986
    mov  eax,8		     ; time/date button
1987
    mov  ecx,3 *65536
1987
    mov  ecx,3 *65536
1988
    add  ecx,[b_size_y]
1988
    add  ecx,[b_size_y]
1989
;    dec  ecx
1989
;    dec  ecx
1990
    sub  cx,5
1990
    sub  cx,5
1991
    mov  edx,2+0x20000000
1991
    mov  edx,0x40000002
1992
    mov  esi,[wcolor]
1992
    mov  esi,[wcolor]
1993
    int  0x40
1993
    int  0x40
1994
    pusha
-
 
1995
    mov  eax,13
-
 
1996
    add  ebx,10*65536-16
-
 
1997
    add  ecx,5*65536-8
-
 
1998
    mov  edx,[wcolor]
-
 
1999
    int  0x40
-
 
2000
    popa
-
 
2001
    and  edx,0xffff
1994
    and  edx,0xffff
2002
    add  edx,[button_frames]
1995
    add  edx,[button_frames]
2003
    int  0x40
1996
    int  0x40
Line 2004... Line 1997...
2004
 
1997
 
2005
    mov  eax,8
1998
    mov  eax,8                 ;other tray buttons
2006
    mov  ebx,[maxx]
1999
    mov  ebx,[maxx]
2007
    sub  ebx,77 ;80
2000
    sub  ebx,77 ;80
2008
    shl  ebx,16
2001
    shl  ebx,16
2009
    add  ebx,12
2002
    add  ebx,14
2010
    mov  ecx,5 shl 16+10
2003
    mov  ecx,4 shl 16+12
2011
    mov  edx,16+0x20000000  ;button 16
2004
    mov  edx,16+0x40000000+0x20000000  ;button 16
2012
    mov  esi,[wcolor]
2005
    mov  esi,[wcolor]
2013
    int  0x40
2006
    int  0x40
2014
    sub  ebx,17 shl 16
2007
    sub  ebx,17 shl 16
2015
    inc  edx		    ;button 17
2008
    inc  edx		    ;button 17