Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 107 → Rev 108

/programs/colorref/trunk/colorref.asm
10,8 → 10,8
dd 0x01 ; header version
dd start ; start of code
dd finis ; size of image
dd 0x100000 ; memory for app
dd 0x7fff0 ; esp
dd 0x1000 ; memory for app
dd 0x1000 ; esp
dd 0x0,0x0 ; I_Param , I_Icon
 
include 'lang.inc'
148,7 → 148,7
mov eax,0 ; DRAW WINDOW
mov ebx,1*65536+200 ; [x start] *65536 + [x size]
mov ecx,200*65536+240 ; [y start] *65536 + [y size]
mov edx,0x02000000 ; work area color (type II)
mov edx,0x03000000 ; work area color (type II)
mov esi,0x82a0a0a0 ; grab bar color (w/glide)
mov edi,0x82bbbbbb ; frame color
int 0x40
158,12 → 158,6
mov edx,prog_name ; pointer to header
mov esi,namelen-prog_name ; text length
int 0x40
mov eax,8 ; CLOSE BUTTON
mov ebx,(200-19)*65536+12 ; [x start] *65536 + [x size]
mov ecx,5*65536+12 ; [y start] *65536 + [y size]
mov edx,1 ; button id
mov esi,0xaaaaaa ; button color (light grey)
int 0x40
 
call palette ; display color palette
 
/programs/icon/trunk/icon.asm
27,6 → 27,7
dd icon_data+0x30000 ; esp
dd I_Param , 0x0 ; I_Param , I_Icon
include 'macros.inc'
include 'lang.inc'
COLOR_ORDER equ MENUETOS
include 'gif_lite.inc'
;include 'debug.inc'
/programs/vrr/trunk/vrr.asm
204,7 → 204,7
mov eax,0 ; function 0 : define and draw window
mov ebx,100*65536+400 ; [x start] *65536 + [x size]
mov ecx,100*65536+200 ; [y start] *65536 + [y size]
mov edx,0x020020C0;0x00000040 ; color of work area RRGGBB,8->color glide
mov edx,0x030020C0;0x00000040 ; color of work area RRGGBB,8->color glide
mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color glide
mov edi,0x00ffffff ; color of frames RRGGBB
int 0x40
212,13 → 212,6
; WINDOW LABEL
call print_my_title
; CLOSE BUTTON
mov eax,8 ; function 8 : define and draw button
mov ebx,(400-19)*65536+12 ; [x start] *65536 + [x size]
mov ecx,5*65536+12 ; [y start] *65536 + [y size]
mov edx,1 ; button id
mov esi,0x5599cc ; button color RRGGBB
int 0x40
; BUTTONS
xor eax,eax
1023,7 → 1016,7
warning_loop:
mov eax,5
mov ebx,13
mov ebx,10
int 0x40
mov eax,11
int 40h