Skip to content

Commit

Permalink
Use MQWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
projecteon committed Sep 16, 2022
1 parent 05f03b3 commit 7098bd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions datatype/_window.lua
@@ -1,12 +1,12 @@
--- @class window
--- @field public BGColor argb Background color
--- @field public Checked MQBoolean #Returns TRUE if the button has been checked
--- @field public Child window Child with this name
--- @field public Child MQWindow Child with this name
--- @field public Children MQBoolean #Returns TRUE if the window has children
--- @field public DoClose fun() Does the action of closing a window
--- @field public DoOpen fun() Does the action of opening a window
--- @field public Enabled MQBoolean #Returns TRUE if the window is enabled
--- @field public FirstChild window First child window
--- @field public FirstChild MQWindow First child window
--- @field public Height MQFloat #Height in pixels
--- @field public Highlighted boolean Returns TRUE if the window is highlighted
--- @field public HisTradeReady boolean Has the other person clicked the Trade button?
Expand All @@ -23,9 +23,9 @@
--- @field public MouseOver MQBoolean #Returns TRUE if the mouse is currently over the window
--- @field public MyTradeReady MQBoolean #Have I clicked the Trade button?
--- @field public Name MQString #Name of window piece, e.g. "ChatWindow" for top level windows, or the piece name for child windows. Note: this is Custom UI dependent
--- @field public Next window Next sibling window
--- @field public Next MQWindow Next sibling window
--- @field public Open MQBoolean #Returns TRUE if the window is open
--- @field public Parent window Parent window
--- @field public Parent MQWindow Parent window
--- @field public RightMouseDown fun() does the action of clicking the right mouse button
--- @field public RightMouseHeld fun() Does the action of holding the right mouse button
--- @field public RightMouseHeldUp fun() Does the action of holding the right mouse button up
Expand Down
2 changes: 1 addition & 1 deletion mq.lua
Expand Up @@ -160,7 +160,7 @@ function mq.imgui.destroy(name) end
---@field Task fun(index?: integer): task|nil #Returns the first task, or the current shared task if one exists.
---@field Time time
---@field Type fun(type: string): mqtype #Information on data types
---@field Window fun(name: string): window #Information on a particular UI window
---@field Window fun(name: string): MQWindow #Information on a particular UI window
TLO = {}

---@diagnostic disable: duplicate-set-field
Expand Down

0 comments on commit 7098bd2

Please sign in to comment.