forked from KolibriOS/kolibrios
in some programs set not sized changed window
git-svn-id: svn://kolibrios.org@551 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9b1d2c1c51
commit
f8ca762192
@ -101,7 +101,7 @@ draw_window:
|
|||||||
mov eax,0 ;Draw window
|
mov eax,0 ;Draw window
|
||||||
mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
|
mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
|
||||||
mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size
|
mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size
|
||||||
mov edx,0x13000000 ;0x03 use skinned window
|
mov edx,0x14000000 ;0x03 use skinned window
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ drawwindow:
|
|||||||
xor eax,eax ; window
|
xor eax,eax ; window
|
||||||
mov ebx,100*65536+107
|
mov ebx,100*65536+107
|
||||||
mov ecx,100*65536+105
|
mov ecx,100*65536+105
|
||||||
mov edx,0x33400088
|
mov edx,0x34400088
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ draw_window:
|
|||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov ebx,10*65536+_X*2+30
|
mov ebx,10*65536+_X*2+30
|
||||||
mov ecx,100*65536+_Y*2
|
mov ecx,100*65536+_Y*2
|
||||||
mov edx,0x03261212
|
mov edx,0x04261212
|
||||||
mov esi,0x805080d0
|
mov esi,0x805080d0
|
||||||
mov edi,0x005080d0
|
mov edi,0x005080d0
|
||||||
mcall
|
mcall
|
||||||
|
@ -149,7 +149,7 @@ draw_window:
|
|||||||
mov eax,0 ; DRAW WINDOW
|
mov eax,0 ; DRAW WINDOW
|
||||||
mov ebx,1*65536+200 ; [x start] *65536 + [x size]
|
mov ebx,1*65536+200 ; [x start] *65536 + [x size]
|
||||||
mov ecx,200*65536+240 ; [y start] *65536 + [y size]
|
mov ecx,200*65536+240 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13000000 ; work area color (type II)
|
mov edx,0x14000000 ; work area color (type II)
|
||||||
mov edi,title ; frame color
|
mov edi,title ; frame color
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+200 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+200 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+200 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+200 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13ffffff ; color of work area RRGGBB,8->color gl
|
mov edx,0x14ffffff ; color of work area RRGGBB,8->color gl
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -309,7 +309,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,50*65536+649 ; [x start] *65536 + [x size]
|
mov ebx,50*65536+649 ; [x start] *65536 + [x size]
|
||||||
mov ecx,50*65536+504 ; [y start] *65536 + [y size]
|
mov ecx,50*65536+504 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x33ffffff ; color of work area RRGGBB,8->color gl
|
mov edx,0x34ffffff ; color of work area RRGGBB,8->color gl
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ draw_window:
|
|||||||
; DRAW WINDOW
|
; DRAW WINDOW
|
||||||
mov ebx, 100*65536 + 8*magnify_width + 8
|
mov ebx, 100*65536 + 8*magnify_width + 8
|
||||||
lea ecx, [eax + 100*65536 + 8*magnify_height + 3]
|
lea ecx, [eax + 100*65536 + 8*magnify_height + 3]
|
||||||
mov edx, 0x33000000 ; color of work area RRGGBB
|
mov edx, 0x34000000 ; color of work area RRGGBB
|
||||||
mov edi, labelt ; header
|
mov edi, labelt ; header
|
||||||
xor eax, eax ; function 0 : define and draw window
|
xor eax, eax ; function 0 : define and draw window
|
||||||
mcall
|
mcall
|
||||||
|
@ -50,7 +50,7 @@ CODE
|
|||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov ebx,(100 shl 16)+(WND_SIZE_X+9)
|
mov ebx,(100 shl 16)+(WND_SIZE_X+9)
|
||||||
mov ecx,(100 shl 16)+(WND_SIZE_Y+28)
|
mov ecx,(100 shl 16)+(WND_SIZE_Y+28)
|
||||||
mov edx,0x33000000
|
mov edx,0x34000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ CODE
|
|||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov ebx,(100 shl 16)+(WND_SIZE_X+8)
|
mov ebx,(100 shl 16)+(WND_SIZE_X+8)
|
||||||
mov ecx,(100 shl 16)+(WND_SIZE_Y+25)
|
mov ecx,(100 shl 16)+(WND_SIZE_Y+25)
|
||||||
mov edx,0x33000000
|
mov edx,0x34000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ draw_window:
|
|||||||
mov ebx,100*65536+100 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+100 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+40 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+40 ; [y start] *65536 + [y size]
|
||||||
mov edx,[sc.work] ; color of work area RRGGBB,8->color gl
|
mov edx,[sc.work] ; color of work area RRGGBB,8->color gl
|
||||||
or edx,0x33000000
|
or edx,0x34000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -434,7 +434,7 @@ draw_window:
|
|||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov ebx,50*65536+PIXWIDTH+8
|
mov ebx,50*65536+PIXWIDTH+8
|
||||||
mov ecx,100*65536+PIXHEIGHT+25
|
mov ecx,100*65536+PIXHEIGHT+25
|
||||||
mov edx,0x13334455
|
mov edx,0x14334455
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ draw_window:
|
|||||||
xor eax,eax ;Draw window
|
xor eax,eax ;Draw window
|
||||||
mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
|
mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
|
||||||
mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size
|
mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size
|
||||||
mov edx,0x13000000 ;0x13 use skinned window
|
mov edx,0x14000000 ;0x13 use skinned window
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -195,7 +195,7 @@ draw_window:
|
|||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov ebx,100*65536+329
|
mov ebx,100*65536+329
|
||||||
mov ecx,100*65536+186
|
mov ecx,100*65536+186
|
||||||
mov edx,0x33000000
|
mov edx,0x34000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
mov eax,12
|
mov eax,12
|
||||||
|
@ -93,7 +93,7 @@ draw_window:
|
|||||||
shl esi,16
|
shl esi,16
|
||||||
add ebx,esi
|
add ebx,esi
|
||||||
add ecx,esi
|
add ecx,esi
|
||||||
mov edx,0x33ffffff ; color of work area RRGGBB,8->color gl
|
mov edx,0x34ffffff ; color of work area RRGGBB,8->color gl
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ next_digit:
|
|||||||
draw_window:
|
draw_window:
|
||||||
;------------------------------------------------
|
;------------------------------------------------
|
||||||
mcall 12, 1
|
mcall 12, 1
|
||||||
mcall 0, 200*65536+300, 200*65536+175, 0x13AABBCC,,title
|
mcall 0, 200*65536+300, 200*65536+175, 0x14AABBCC,,title
|
||||||
|
|
||||||
mcall 8, 15 *65536+ 38, 90*65536+ 15, 2, 0x6688DD ; êíîïêà shl
|
mcall 8, 15 *65536+ 38, 90*65536+ 15, 2, 0x6688DD ; êíîïêà shl
|
||||||
mcall , ,110*65536+ 15, , ; êíîïêà sal
|
mcall , ,110*65536+ 15, , ; êíîïêà sal
|
||||||
|
@ -74,7 +74,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+270 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+270 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+80 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+80 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x33ffffff ; color of work area RRGGBB,8->color gl
|
mov edx,0x34ffffff ; color of work area RRGGBB,8->color gl
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -978,7 +978,7 @@ draw_window:
|
|||||||
xor eax, eax
|
xor eax, eax
|
||||||
mov ebx, wnd_x_size
|
mov ebx, wnd_x_size
|
||||||
mov ecx, wnd_y_size
|
mov ecx, wnd_y_size
|
||||||
mov edx, 13FFFFFFh
|
mov edx, 14FFFFFFh
|
||||||
mov edi, caption_str
|
mov edi, caption_str
|
||||||
mcall
|
mcall
|
||||||
; messages frame
|
; messages frame
|
||||||
|
@ -164,7 +164,7 @@ draw_window:
|
|||||||
mov ebx, 100*65536+200 ; [x start] *65536 + [x size]
|
mov ebx, 100*65536+200 ; [x start] *65536 + [x size]
|
||||||
mov ecx, 100*65536+275 ; [y start] *65536 + [y size]
|
mov ecx, 100*65536+275 ; [y start] *65536 + [y size]
|
||||||
mov edx, [sc.work] ; color of work area RRGGBB,8->color gl
|
mov edx, [sc.work] ; color of work area RRGGBB,8->color gl
|
||||||
or edx, 0x33000000
|
or edx, 0x34000000
|
||||||
mov edi, title ; WINDOW LABEL
|
mov edi, title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -250,7 +250,7 @@ draw_window:
|
|||||||
xor eax, eax ; function 0 : define and draw window
|
xor eax, eax ; function 0 : define and draw window
|
||||||
mov ebx, 160*65536+415 ; [x start] *65536 + [x size]
|
mov ebx, 160*65536+415 ; [x start] *65536 + [x size]
|
||||||
mov ecx, 160*65536+100 ; [y start] *65536 + [y size]
|
mov ecx, 160*65536+100 ; [y start] *65536 + [y size]
|
||||||
mov edx, 0x13DDDDDD ; color of work area RRGGBB
|
mov edx, 0x14DDDDDD ; color of work area RRGGBB
|
||||||
mov edi, title ; WINDOW LABEL
|
mov edi, title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ draw_window:
|
|||||||
xor eax,eax ; function 0 : define and draw window
|
xor eax,eax ; function 0 : define and draw window
|
||||||
mov ebx,160*65536+415 ; [x start] *65536 + [x size]
|
mov ebx,160*65536+415 ; [x start] *65536 + [x size]
|
||||||
mov ecx,160*65536+90 ; [y start] *65536 + [y size]
|
mov ecx,160*65536+90 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13DDDDDD ; color of work area RRGGBB
|
mov edx,0x14DDDDDD ; color of work area RRGGBB
|
||||||
mov edi,labelt ; WINDOW LABEL
|
mov edi,labelt ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ include '..\..\..\macros.inc' ; decreases program size (not required)
|
|||||||
|
|
||||||
StatusColor equ 0x02ffffff
|
StatusColor equ 0x02ffffff
|
||||||
StatusColor2 equ 0x02dc1e14
|
StatusColor2 equ 0x02dc1e14
|
||||||
BgdColor equ 0x03aabbcc
|
BgdColor equ 0x04aabbcc
|
||||||
|
|
||||||
; Main window dimensions
|
; Main window dimensions
|
||||||
XXwindow equ 200 shl 16+276
|
XXwindow equ 200 shl 16+276
|
||||||
|
@ -785,7 +785,7 @@ draw_window:
|
|||||||
|
|
||||||
startwd
|
startwd
|
||||||
|
|
||||||
window 100,100,X_SIZE+8,Y_SIZE+21,0x03ffffff
|
window 100,100,X_SIZE+8,Y_SIZE+21,0x04ffffff
|
||||||
label 8,8,VERSION,cl_White+font_Big
|
label 8,8,VERSION,cl_White+font_Big
|
||||||
label 200,8,'LIVES:',0x10ddeeff
|
label 200,8,'LIVES:',0x10ddeeff
|
||||||
outcount dword [lives],250,8,0x10ddeeff,65536
|
outcount dword [lives],250,8,0x10ddeeff,65536
|
||||||
|
@ -812,7 +812,7 @@ key_PgDown equ 183
|
|||||||
;Attributes
|
;Attributes
|
||||||
|
|
||||||
;Window Attributes
|
;Window Attributes
|
||||||
window_Skinned equ 0x03000000
|
window_Skinned equ 0x04000000
|
||||||
window_Type2 equ 0x02000000
|
window_Type2 equ 0x02000000
|
||||||
window_Type1 equ 0x00000000
|
window_Type1 equ 0x00000000
|
||||||
window_Reserve equ 0x01000000
|
window_Reserve equ 0x01000000
|
||||||
|
@ -125,7 +125,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+413 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+413 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+295 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+295 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x93000000 ; color of work area RRGGBB,8->color gl
|
mov edx,0x94000000 ; color of work area RRGGBB,8->color gl
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ void draw_window()
|
|||||||
// WINDOW
|
// WINDOW
|
||||||
EBX = xpos << 16 + xsize;
|
EBX = xpos << 16 + xsize;
|
||||||
ECX = ypos << 16 + ysize;
|
ECX = ypos << 16 + ysize;
|
||||||
sys_draw_window(EBX, ECX, 0x13CCCCCC, colors.w_grab | 0x80000000, "MineSweeper");
|
sys_draw_window(EBX, ECX, 0x14CCCCCC, colors.w_grab | 0x80000000, "MineSweeper");
|
||||||
|
|
||||||
// <NEW GAME> BUTTON (911)
|
// <NEW GAME> BUTTON (911)
|
||||||
EBX = xsize / 2 - 10;
|
EBX = xsize / 2 - 10;
|
||||||
|
@ -874,7 +874,7 @@ key_PgDown equ 183
|
|||||||
;Attributes
|
;Attributes
|
||||||
|
|
||||||
;Window Attributes
|
;Window Attributes
|
||||||
window_Skinned equ 0x03000000
|
window_Skinned equ 0x04000000
|
||||||
window_Type2 equ 0x02000000
|
window_Type2 equ 0x02000000
|
||||||
window_Type1 equ 0x00000000
|
window_Type1 equ 0x00000000
|
||||||
window_Reserve equ 0x01000000
|
window_Reserve equ 0x01000000
|
||||||
|
@ -557,7 +557,7 @@ pusha
|
|||||||
mov ebx,100*65536+492 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+492 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+420 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+420 ; [y start] *65536 + [y size]
|
||||||
mov edx,bgcolor ; color of work area RRGGBB,8->color gl
|
mov edx,bgcolor ; color of work area RRGGBB,8->color gl
|
||||||
or edx,0x13000000
|
or edx,0x14000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@ draw_window:
|
|||||||
mov eax,0
|
mov eax,0
|
||||||
mov ebx,100*65536+320
|
mov ebx,100*65536+320
|
||||||
mov ecx,100*65536+250
|
mov ecx,100*65536+250
|
||||||
mov edx,0x134873a0 ;70d0
|
mov edx,0x144873a0 ;70d0
|
||||||
mov edi,labelt
|
mov edi,labelt
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -478,7 +478,7 @@ key_PgDown equ 183
|
|||||||
;Attributes
|
;Attributes
|
||||||
|
|
||||||
;Window Attributes
|
;Window Attributes
|
||||||
window_Skinned equ 0x03000000
|
window_Skinned equ 0x04000000
|
||||||
window_Type2 equ 0x02000000
|
window_Type2 equ 0x02000000
|
||||||
window_Type1 equ 0x00000000
|
window_Type1 equ 0x00000000
|
||||||
window_Reserve equ 0x01000000
|
window_Reserve equ 0x01000000
|
||||||
|
@ -184,7 +184,7 @@ button: ; BUTTON - only close supported
|
|||||||
draw_window:
|
draw_window:
|
||||||
mov [ticks],TICKS
|
mov [ticks],TICKS
|
||||||
mcall 12,1
|
mcall 12,1
|
||||||
mcall 0,<100,FLDSIZE2+16>,<100,FLDSIZE2+38>,0x03008000
|
mcall 0,<100,FLDSIZE2+16>,<100,FLDSIZE2+38>,0x04008000
|
||||||
mcall 4,<8,8>,0x10ffffff,header,header.size
|
mcall 4,<8,8>,0x10ffffff,header,header.size
|
||||||
mov esi,ecx
|
mov esi,ecx
|
||||||
if lang eq ru
|
if lang eq ru
|
||||||
|
@ -257,7 +257,7 @@ draw_window:
|
|||||||
mov ebx,320*65536+(LEN_X-BORDER_LEFT-BORDER_RIGHT)*ADOBE_SIZE+X_LOCATION*2
|
mov ebx,320*65536+(LEN_X-BORDER_LEFT-BORDER_RIGHT)*ADOBE_SIZE+X_LOCATION*2
|
||||||
mov ecx,25*65536+ (LEN_Y-BORDER_TOP-BORDER_BOTTOM)*ADOBE_SIZE+Y_LOCATION+30
|
mov ecx,25*65536+ (LEN_Y-BORDER_TOP-BORDER_BOTTOM)*ADOBE_SIZE+Y_LOCATION+30
|
||||||
mov edx,[sc.work] ; color of work area RRGGBB
|
mov edx,[sc.work] ; color of work area RRGGBB
|
||||||
or edx,0x13000000
|
or edx,0x14000000
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -749,7 +749,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx, 50*65536+219 ; [x start] *65536 + [x size]
|
mov ebx, 50*65536+219 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+168 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+168 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x03ffffff ; color of work area RRGGBB
|
mov edx,0x04ffffff ; color of work area RRGGBB
|
||||||
mov esi,0x8099bbff ; color of grab bar RRGGBB,8->color glide
|
mov esi,0x8099bbff ; color of grab bar RRGGBB,8->color glide
|
||||||
mov edi,0x0099bbee ; color of frames RRGGBB
|
mov edi,0x0099bbee ; color of frames RRGGBB
|
||||||
mcall
|
mcall
|
||||||
|
@ -176,7 +176,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+window_x_size ; [x start] *65536 + [x size]
|
mov ebx,100*65536+window_x_size ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+window_y_size ; [y start] *65536 + [y size]
|
mov ecx,100*65536+window_y_size ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13ffffff ; color of work area 0x00RRGGBB
|
mov edx,0x14ffffff ; color of work area 0x00RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ draw_window:
|
|||||||
mov eax,0 ; define and draw window
|
mov eax,0 ; define and draw window
|
||||||
mov ebx,20*65536+250
|
mov ebx,20*65536+250
|
||||||
mov ecx,20*65536+120
|
mov ecx,20*65536+120
|
||||||
mov edx,0x13ffffff
|
mov edx,0x14ffffff
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -323,7 +323,7 @@ drawusedcard:
|
|||||||
|
|
||||||
bcolor dd 0x5577c8
|
bcolor dd 0x5577c8
|
||||||
|
|
||||||
wcolor dd 0x13000000
|
wcolor dd 0x14000000
|
||||||
|
|
||||||
|
|
||||||
text:
|
text:
|
||||||
|
@ -335,7 +335,7 @@ draw_window:
|
|||||||
mov ebx, 220*65536+293
|
mov ebx, 220*65536+293
|
||||||
mov ecx, 50*65536+408
|
mov ecx, 50*65536+408
|
||||||
mov edx, [sc.work]
|
mov edx, [sc.work]
|
||||||
or edx, 0x33000000
|
or edx, 0x34000000
|
||||||
mov edi, title
|
mov edi, title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -847,7 +847,7 @@ draw_window:
|
|||||||
mov ebx,100*65536+320 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+320 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+140 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+140 ; [y start] *65536 + [y size]
|
||||||
mov edx,[bgr]
|
mov edx,[bgr]
|
||||||
or edx,0x13000000 ; color of work area RRGGBB,8->color gl
|
or edx,0x14000000 ; color of work area RRGGBB,8->color gl
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ start_draw_window ;
|
|||||||
mov ecx,100*65536+220
|
mov ecx,100*65536+220
|
||||||
add cx,ax
|
add cx,ax
|
||||||
mov edx,[sc.work]
|
mov edx,[sc.work]
|
||||||
add edx,0x33000000;0x33000000
|
add edx,0x34000000;0x33000000
|
||||||
xor esi,esi
|
xor esi,esi
|
||||||
;xor edi,edi
|
;xor edi,edi
|
||||||
mov edi,grab_text
|
mov edi,grab_text
|
||||||
|
@ -1845,7 +1845,7 @@ draw_window:
|
|||||||
mov ebx,5*65536+499
|
mov ebx,5*65536+499
|
||||||
mov ecx,5*65536+345
|
mov ecx,5*65536+345
|
||||||
mov edx,[wcolor]
|
mov edx,[wcolor]
|
||||||
add edx,0x13ffffff
|
add edx,0x14ffffff
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -345,7 +345,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+280 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+280 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+270 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+270 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13224466 ; color of work area RRGGBB
|
mov edx,0x14224466 ; color of work area RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -888,7 +888,7 @@ draw_window:
|
|||||||
mov bx,550
|
mov bx,550
|
||||||
mov cx,470
|
mov cx,470
|
||||||
mov edx,[wcolor]
|
mov edx,[wcolor]
|
||||||
add edx,0x13000000
|
add edx,0x14000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -489,7 +489,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+300 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+300 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+156 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+156 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13224466 ; color of work area RRGGBB
|
mov edx,0x14224466 ; color of work area RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -554,7 +554,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+300 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+300 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+140 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+140 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13224466 ; color of work area RRGGBB
|
mov edx,0x14224466 ; color of work area RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL;
|
mov edi,title ; WINDOW LABEL;
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ draw_window:
|
|||||||
xor eax,eax ; function 0 : define and draw window
|
xor eax,eax ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+260 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+260 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+205 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+205 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13224466 ; color of work area RRGGBB
|
mov edx,0x14224466 ; color of work area RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+290 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+290 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+220 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+220 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13ffffff ; color of work area RRGGBB,8->color gl
|
mov edx,0x14ffffff ; color of work area RRGGBB,8->color gl
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+286 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+286 ; [x start] *65536 + [x size]
|
||||||
mov ecx,60*65536+330 ; [y start] *65536 + [y size]
|
mov ecx,60*65536+330 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x03ffffff ; color of work area RRGGBB
|
mov edx,0x04ffffff ; color of work area RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -628,7 +628,7 @@ draw_window:
|
|||||||
mov eax,0 ; Draw Window
|
mov eax,0 ; Draw Window
|
||||||
mov ebx,50*65536+410
|
mov ebx,50*65536+410
|
||||||
mov ecx,100*65536+141
|
mov ecx,100*65536+141
|
||||||
mov edx,0x13ffffff
|
mov edx,0x14ffffff
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -1385,7 +1385,7 @@ draw_window:
|
|||||||
mov eax, 0 ; function 0 : define and draw window
|
mov eax, 0 ; function 0 : define and draw window
|
||||||
mov ebx, 100*65536+250 ; [x start] *65536 + [x size]
|
mov ebx, 100*65536+250 ; [x start] *65536 + [x size]
|
||||||
mov ecx, 100*65536+150 ; [y start] *65536 + [y size]
|
mov ecx, 100*65536+150 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13224466 ; color of work area RRGGBB
|
mov edx,0x14224466 ; color of work area RRGGBB
|
||||||
mov edi,title ; color of frames RRGGBB
|
mov edi,title ; color of frames RRGGBB
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+250 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+250 ; [x start] *65536 + [x size]
|
||||||
mov ecx,60*65536+280 ; [y start] *65536 + [y size]
|
mov ecx,60*65536+280 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13ffffff ; color of work area RRGGBB
|
mov edx,0x14ffffff ; color of work area RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -254,7 +254,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+300 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+300 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+330 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+330 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13ffffff ; color of work area RRGGBB
|
mov edx,0x14ffffff ; color of work area RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+286 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+286 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+330 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+330 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13ffffff ; color of work area RRGGBB
|
mov edx,0x14ffffff ; color of work area RRGGBB
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -472,7 +472,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+330 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+330 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+157 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+157 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13ffffff ; color of work area RRGGBB,8->color gl
|
mov edx,0x14ffffff ; color of work area RRGGBB,8->color gl
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -580,7 +580,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+230 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+230 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+170 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+170 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13224466 ; color of work area RRGGBB
|
mov edx,0x14224466 ; color of work area RRGGBB
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -812,7 +812,7 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+230 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+230 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+170 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+170 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13224466 ; color of work area RRGGBB
|
mov edx,0x14224466 ; color of work area RRGGBB
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ draw_window:
|
|||||||
mov ebx,150*65536+h_sp
|
mov ebx,150*65536+h_sp
|
||||||
mov ecx,100*65536+v_sp
|
mov ecx,100*65536+v_sp
|
||||||
mov edx,[sys_colors+4*5]
|
mov edx,[sys_colors+4*5]
|
||||||
or edx,0x13000000
|
or edx,0x14000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -656,7 +656,7 @@ draw_window:
|
|||||||
mov ebx,200 shl 16+255
|
mov ebx,200 shl 16+255
|
||||||
mov ecx,200 shl 16+180
|
mov ecx,200 shl 16+180
|
||||||
mov edx,[sc.work]
|
mov edx,[sc.work]
|
||||||
or edx,0x33000000
|
or edx,0x34000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ ENTRANCE:
|
|||||||
xor eax,eax ; Define window
|
xor eax,eax ; Define window
|
||||||
mov ebx,100*65536+240
|
mov ebx,100*65536+240
|
||||||
mov ecx,100*65536+130
|
mov ecx,100*65536+130
|
||||||
mov edx,0x03AAAAAA
|
mov edx,0x04AAAAAA
|
||||||
mov esi,0x80777777
|
mov esi,0x80777777
|
||||||
mov edi,0x00777777
|
mov edi,0x00777777
|
||||||
mcall
|
mcall
|
||||||
|
@ -93,7 +93,7 @@ draw_window:
|
|||||||
mov ebx,50*65536+555 ;x
|
mov ebx,50*65536+555 ;x
|
||||||
mov ecx,30*65536+455 ;y
|
mov ecx,30*65536+455 ;y
|
||||||
mov edx,[sc.work]
|
mov edx,[sc.work]
|
||||||
or edx,0x33000000 ;style
|
or edx,0x34000000 ;style
|
||||||
mov edi,caption
|
mov edi,caption
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -675,7 +675,7 @@ draw_window:
|
|||||||
else
|
else
|
||||||
mov ecx,WIN_Y-15
|
mov ecx,WIN_Y-15
|
||||||
end if
|
end if
|
||||||
mov edx,0x13aabbcc ; 梼â ŕ ĄŽçĽŠ ŽĄŤ á⨠RRGGBB,8->color gl
|
mov edx,0x14aabbcc ; 梼â ŕ ĄŽçĽŠ ŽĄŤ á⨠RRGGBB,8->color gl
|
||||||
mov edi,title ; § £®«®¢®ª
|
mov edi,title ; § £®«®¢®ª
|
||||||
mcall
|
mcall
|
||||||
call draw_week
|
call draw_week
|
||||||
|
@ -479,7 +479,7 @@ draw_window:
|
|||||||
xor eax,eax ; function 0 : define and draw window
|
xor eax,eax ; function 0 : define and draw window
|
||||||
mov ebx,[winxpos] ; [x start] *65536 + [x size]
|
mov ebx,[winxpos] ; [x start] *65536 + [x size]
|
||||||
mov ecx,[winypos] ; [y start] *65536 + [y size]
|
mov ecx,[winypos] ; [y start] *65536 + [y size]
|
||||||
mov edx,0x13ddffdd ;ffffff ; color of work area RRGGBB,8->color
|
mov edx,0x14ddffdd ;ffffff ; color of work area RRGGBB,8->color
|
||||||
mov edi,title ; WINDOW CAPTION;
|
mov edi,title ; WINDOW CAPTION;
|
||||||
int 0x40
|
int 0x40
|
||||||
|
|
||||||
|
@ -1625,7 +1625,7 @@ draw_window:
|
|||||||
mov ebx,1h
|
mov ebx,1h
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
Window 150,150,350,385, 0x33FFFFFF, 0x805080d0, title
|
Window 150,150,350,385, 0x34FFFFFF, 0x805080d0, title
|
||||||
; place size
|
; place size
|
||||||
|
|
||||||
Button 15,330,92,23,2,0x03FFFFFF ; button "press for more"
|
Button 15,330,92,23,2,0x03FFFFFF ; button "press for more"
|
||||||
|
@ -808,7 +808,7 @@ draw_window:
|
|||||||
mov ebx,110*65536+555 ; [x start] *65536 + [x size]
|
mov ebx,110*65536+555 ; [x start] *65536 + [x size]
|
||||||
mov ecx,50*65536+255 ; [y start] *65536 + [y size]
|
mov ecx,50*65536+255 ; [y start] *65536 + [y size]
|
||||||
mov edx,[w_work] ; color of work area RRGGBB,8->color
|
mov edx,[w_work] ; color of work area RRGGBB,8->color
|
||||||
or edx,0x13000000
|
or edx,0x14000000
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ red:
|
|||||||
mov ebx,220*65536+120
|
mov ebx,220*65536+120
|
||||||
mov ecx,30*65536+FILECOUNT*16+35
|
mov ecx,30*65536+FILECOUNT*16+35
|
||||||
mov edx,[sc.work]
|
mov edx,[sc.work]
|
||||||
or edx,0x33000000
|
or edx,0x34000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ draw_window:
|
|||||||
xor eax, eax
|
xor eax, eax
|
||||||
mov ebx, 300 * 65536 + 309
|
mov ebx, 300 * 65536 + 309
|
||||||
mov ecx, 150 * 65536 + 450
|
mov ecx, 150 * 65536 + 450
|
||||||
mov edx, tcol + 0x13000000 ; color of work area RRGGBB,8->color
|
mov edx, tcol + 0x14000000 ; color of work area RRGGBB,8->color
|
||||||
mov edi, title ; color of frames RRGGBB
|
mov edi, title ; color of frames RRGGBB
|
||||||
int 0x40
|
int 0x40
|
||||||
; Ñîçäà¸ì ðàìêó ãðàôèêà
|
; Ñîçäà¸ì ðàìêó ãðàôèêà
|
||||||
|
@ -566,7 +566,7 @@ draw_window:
|
|||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov ebx,210*65536+300
|
mov ebx,210*65536+300
|
||||||
mov ecx,30*65536+390-14
|
mov ecx,30*65536+390-14
|
||||||
mov edx,0x13ffffff
|
mov edx,0x14ffffff
|
||||||
mov edi,title ; WINDOW LABEL
|
mov edi,title ; WINDOW LABEL
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -408,7 +408,7 @@ proc subDrawMainWindow ; CODE XREF: start:locRedrawEventp
|
|||||||
mov ebx, 100*65536+72*5+14;640145h
|
mov ebx, 100*65536+72*5+14;640145h
|
||||||
mov ecx, 80*65536+TESTS_NUM*LINE_HEIGHT+15+20+35
|
mov ecx, 80*65536+TESTS_NUM*LINE_HEIGHT+15+20+35
|
||||||
add cx, ax
|
add cx, ax
|
||||||
mov edx, 33000000h
|
mov edx, 34000000h
|
||||||
mov edi, aCaption
|
mov edi, aCaption
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
mcall
|
mcall
|
||||||
|
@ -166,7 +166,7 @@ draw_window:
|
|||||||
mov ebx,200 shl 16 + 270 ; [x áâ àâ] *65536 + [x à §¬¥à]
|
mov ebx,200 shl 16 + 270 ; [x áâ àâ] *65536 + [x à §¬¥à]
|
||||||
mov ecx,200 shl 16 + 190 ; [y áâ àâ] *65536 + [y à §¬¥à]
|
mov ecx,200 shl 16 + 190 ; [y áâ àâ] *65536 + [y à §¬¥à]
|
||||||
mov edx,[sc.work] ; 梥â à ¡®ç¥© ®¡« á⨠RRGGBB,8->color gl
|
mov edx,[sc.work] ; 梥â à ¡®ç¥© ®¡« á⨠RRGGBB,8->color gl
|
||||||
or edx,0x33000000
|
or edx,0x34000000
|
||||||
mov edi,title ; ‡€ƒŽ‹Ž‚ŽŠ ŽŠ<C5BD>€
|
mov edi,title ; ‡€ƒŽ‹Ž‚ŽŠ ŽŠ<C5BD>€
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
@ -866,7 +866,7 @@ draw_window:
|
|||||||
xor eax,eax ; DRAW WINDOW
|
xor eax,eax ; DRAW WINDOW
|
||||||
mov ebx,40*65536+355+BBB
|
mov ebx,40*65536+355+BBB
|
||||||
mov ecx,40*65536+320
|
mov ecx,40*65536+320
|
||||||
mov edx,0x93111199
|
mov edx,0x94111199
|
||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user