mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Annotations update
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
-- @tfield DruidInstance druid @{DruidInstance}
|
||||
|
||||
--- Is currently under user control
|
||||
-- @tfield bool is_drag
|
||||
-- @tfield boolean is_drag
|
||||
|
||||
--- The pin node
|
||||
-- @tfield node node
|
||||
@@ -52,7 +52,7 @@ local function set_angle(self, value)
|
||||
end
|
||||
|
||||
|
||||
--- Component init function
|
||||
--- The @{PinKnob} constructor
|
||||
-- @tparam PinKnob self @{PinKnob}
|
||||
-- @tparam function callback Callback(self, value) on value changed
|
||||
-- @tparam string template The template string name
|
||||
|
@@ -61,7 +61,7 @@ local function on_unselect(self)
|
||||
end
|
||||
|
||||
|
||||
--- Component init function
|
||||
--- The @{RichInput} constructor
|
||||
-- @tparam RichInput self @{RichInput}
|
||||
-- @tparam string template The template string name
|
||||
-- @tparam table nodes Nodes table from gui.clone_tree
|
||||
|
@@ -90,6 +90,7 @@
|
||||
--- The component druid instance
|
||||
-- @tfield DruidInstance druid @{DruidInstance}
|
||||
|
||||
--
|
||||
|
||||
local component = require("druid.component")
|
||||
local rich_text = require("druid.custom.rich_text.module.rt")
|
||||
@@ -103,7 +104,7 @@ local SCHEME = {
|
||||
}
|
||||
|
||||
|
||||
--- Rich Text component constructor
|
||||
--- The @{RichText} constructor
|
||||
-- @tparam RichText self @{RichText}
|
||||
-- @tparam string template The Rich Text template name
|
||||
-- @tparam table nodes The node table, if prefab was copied by gui.clone_tree()
|
||||
|
Reference in New Issue
Block a user