⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 windows.asm

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 ASM
字号:
	include ..\cwlib.inc
	scode

;-------------------------------------------------------------------------
;
;Initialise Window's stuff so base handler gets a lookin.
;
WinInitialise	proc	near
	call	CalculateSplits
	ret
WinInitialise	endp


;-------------------------------------------------------------------------
;
;Provides region clearing for the background when windows are closed.
;
BaseHandler	proc	near
	cmp	eax,WinMess_Draw
	jnz	@@9
	push	32767
	push	32767
	push	0
	push	0
	xor	eax,eax
	test	VideoModeFlags,8
	jz	@@0
	mov	ax,0720h
@@0:	push	eax
	push	0
	push	esi
	call	WinFillRectangle
	add	esp,4*7
@@9:	ret
BaseHandler	endp


	sdata

;-------------------------------------------------------------------------
;
;Some variables common to several routines.
;
BaseWindow	WIN <0,0,0,32767,32767,BaseHandler>
;
WinWindowList	label dword
	dd BaseWindow, MaxWinWindows dup (-1)
;
WindowRegionFlag dd 0	;Forced region clipping?
WindowRegionX	dd ?
WindowRegionY	dd ?
WindowRegionW	dd ?
WindowRegionD	dd ?
;
FontBuffer	label byte
	db 1024 dup (?)


	efile
	end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -