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

📄 _dlgbtwn.asm

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

;-------------------------------------------------------------------------
;
;Make a piece of window look like a button.
;
;Calling:
;
;ButtonWindow(btype,xcoord,ycoord,wide,depth,window);
;
;On Entry:
;
;btype	- Type of button to draw.
;xcoord	- X coord to draw at.
;ycoord	- Y coord to draw at.
;wide	- width of button.
;depth	- depth of button.
;window	- Pointer to window structure.
;
;On Exit:
;
;nothing.
;
;ALL registers preserved.
;
_ButtonWindow	proc	syscall btype:dword, xcoord:dword, ycoord:dword, \
	wide:dword, depth:dword, window:dword
	public _ButtonWindow
	pushad
	mov	eax,btype
	mov	ecx,xcoord
	mov	ebx,ycoord
	mov	edx,wide
	mov	edi,depth
	mov	esi,window
	call	ButtonWindow
	popad
	ret
_ButtonWindow	endp


	efile
	end


⌨️ 快捷键说明

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