imacroscript.h
来自「hl2 source code. Do not use it illegal.」· C头文件 代码 · 共 28 行
H
28 行
/*
* imacroscript.h - Public interface to Macro script manager for the MAX CUI
*
* Macro scripts (or macros) are scripts that live in buttons and menus in the new
* customizable UI. The macro script manager keeps a directory of all known macros
* and provides an API for running and editing macros and for accessing and
* updating the directory.
*
* The directory is used by the CUI to provide a list of available macros in the
* toolbar/menu/shelf editor. The API also provides a way for the CUI
* to open a macro editor to allow on-the-fly creation of macro scripts.
*
* Macros are normally entered into the directory by the MAXScript compiler as a
* side-effect of compiling a macro () definition. Anyone using MAXScript can at
* any time eval a macro definition and thereby add CUI macro scripts.
* Consequently, macros can be stored in any script file and be loaded just by
* executing the file. The macro definition syntax permits any number of macros per
* file.
*
* Most macros will be stored in files in a special CUI macro or config
* directory so that a user can take all his custom UI stuff with him by copying
* directories. (this directory supports recursive scanning of sub-dirs,
* so users can organize their macros)
* On-the-fly macro creation in the CUI editor or by text drag-and-
* drop onto the shelf or by evaling a definition in the listener will generate
* a file in this directory to provide permanent storage.
*
* Copyright
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?