📄 button.asc
字号:
/* button.asc -- written by Alexis WILKE for Made to Order Software, Ltd. (c) 2005-2006 *//*Copyright (c) 2005-2006 Made to Order Software, Ltd.Permission is hereby granted, free of charge, to anyperson obtaining a copy of this software andassociated documentation files (the "Software"), todeal in the Software without restriction, includingwithout limitation the rights to use, copy, modify,merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whomthe Software is furnished to do so, subject to thefollowing conditions:The above copyright notice and this permission noticeshall be included in all copies or substantialportions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OFANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOTLIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESSFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NOEVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BELIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING FROM, OUT OF OR IN CONNECTION WITH THESOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.*/intrinsic package Native{ class Button { function getDepth(Void) : Integer; var _name : String; const var _target : String; // i.e. fullname var enabled : Boolean; var _focusrect : Boolean; var _quality : String; // this value is global so it can't be defined as a // variable here. // TODO: this may need to be defined as a static variable // instead. function get _soundbuftime(Void) : Integer; function set _soundbuftime(seconds : Integer) : Void; var tabEnabled : Boolean; var tabIndex : Integer; var trackAsMenu : Boolean; var useHandCursor : Boolean; var _visible : Boolean; // position, size, rotation, scale & alpha var _x : Double; var _y : Double; var _width : Double; var _height : Double; var _rotation : Integer; // -179 to +180 var _xscale : Double; var _yscale : Double; var _alpha : Integer; // 0 to 100 // mouse position relative to this button const var _xmouse : Double; const var _ymouse : Double; var _parent : Object; var menu : Object; const var _url : String; var onDragOut : function(Void) : Void; var onDragOver : function(Void) : Void; var onKeyUp : function(Void) : Void; var onKillFocus : function(new_focus : Object) : Void; var onPress : function(Void) : Void; var onRelease : function(Void) : Void; var onReleaseOutside : function(Void) : Void; var onRollOut : function(Void) : Void; var onRollOver : function(Void) : Void; var onSetFocus : function(old_focus : Object) : Void; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -