_dlgbtwn.asm
来自「开放源码的编译器open watcom 1.6.0版的源代码」· 汇编 代码 · 共 47 行
ASM
47 行
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 + =
减小字号Ctrl + -
显示快捷键?