Code format
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
Frame = {
|
||||
---Sets whether the frame should automatically come to the front when clicked. When a frame with Toplevel behavior enabled is clicked, it automatically changes its frame level such that it is greater than (and therefore drawn "in front of") all other frames in its strata.
|
||||
---@param self Frame
|
||||
---@param enable boolean True to cause the frame to automatically come to the front when clicked; false otherwise
|
||||
---@param enable boolean True to cause the frame to automatically come to the front when clicked; false otherwise
|
||||
SetTopLevel = function(self, enable) end,
|
||||
|
||||
---Flags the frame for automatic saving and restoration of position and dimensions. The position and size of frames so flagged is automatically saved when the UI is shut down (as when quitting, logging out, or reloading) and restored when the UI next starts up (as when logging in or reloading). If the frame does not have a name (set at creation time) specified, its position will not be saved. As implied by its name, enabling this property is useful for frames which can be moved or resized by the user.
|
||||
@@ -72,5 +72,5 @@ Frame = {
|
||||
---@param bottomOffset number The amount by which to displace the bottom edge of the test rectangle
|
||||
---@param rightOffset number The amount by which to displace the right edge of the test rectangle
|
||||
---@return boolean isOver true if the mouse is over the region; otherwise false
|
||||
IsMouseOver = function(self, topOffset, leftOffset, bottomOffset, rightOffset) end
|
||||
IsMouseOver = function(self, topOffset, leftOffset, bottomOffset, rightOffset) end,
|
||||
}
|
||||
|
||||
@@ -17,5 +17,5 @@ UIObject = {
|
||||
---@param self UIObject
|
||||
---@param type string Name of the object's type (e.g. Frame, Button, FontString, etc.)
|
||||
---@return number|nil 1 if the object belongs to the given type (or a subtype thereof); otherwise nil
|
||||
IsObjectType = function(self, type) end
|
||||
IsObjectType = function(self, type) end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user