Subversion Repositories Kolibri OS

Rev

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

Rev 2234 Rev 2484
Line 198... Line 198...
198
;   *********************************************
198
;   *********************************************
199
draw_window:
199
draw_window:
200
	mcall	12,1	; 1, start of draw
200
	mcall	12,1	; 1, start of draw
201
	xor	eax,eax		     ; function 0 : define and draw window
201
	xor	eax,eax		     ; function 0 : define and draw window
202
	mov	ecx,MAXSTRINGS*10+45	   ; [y start] *65536 + [y size]
202
	mov	ecx,MAXSTRINGS*10+45	   ; [y start] *65536 + [y size]
203
	mov	edx,[sc.work]		   ; color of work area RRGGBB,8->color gl
203
;	mov	edx,[sc.work]		   ; color of work area RRGGBB,8->color gl
-
 
204
	mov	edx,0xffffff
204
	or	edx,0x13000000
205
	or	edx,0x13000000
205
	xor	esi,esi
206
	xor	esi,esi
206
	mcall	,[xstart],,,,title
207
	mcall	,[xstart],,,,title
207
	mov	ebx,296 shl 16+5*6
208
	mov	ebx,296 shl 16+5*6
208
	mcall	8,,<5,12>,3,[sc.work]
209
	mcall	8,,<5,12>,3,[sc.work]
Line 213... Line 214...
213
	mcall	12,2	; 2, end of draw
214
	mcall	12,2	; 2, end of draw
214
	ret
215
	ret
215
;------------------------------------------------------------------------------
216
;------------------------------------------------------------------------------
216
draw_text:
217
draw_text:
217
	mov	ebx,15*65536+30	   ; draw info text with function 4
218
	mov	ebx,15*65536+30	   ; draw info text with function 4
218
	mov	ecx,[sc.work_text]
219
;	mov	ecx,[sc.work_text]
-
 
220
	xor	ecx,ecx
219
	or	ecx,0x40000000
221
	or	ecx,0x40000000
220
	mov	edi,[sc.work]
222
;	mov	edi,[sc.work]
-
 
223
	mov	edi,0xffffff
221
	mov	edx,text1
224
	mov	edx,text1
222
	cmp	[vmode],0
225
	cmp	[vmode],0
223
	je	.kern
226
	je	.kern
224
	mov	edx,text2
227
	mov	edx,text2
225
.kern:
228
.kern: