summaryrefslogtreecommitdiff
path: root/plugins/MirLua/docs/examples/icons.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/docs/examples/icons.lua')
-rw-r--r--plugins/MirLua/docs/examples/icons.lua22
1 files changed, 0 insertions, 22 deletions
diff --git a/plugins/MirLua/docs/examples/icons.lua b/plugins/MirLua/docs/examples/icons.lua
deleted file mode 100644
index 4d54cb8e8b..0000000000
--- a/plugins/MirLua/docs/examples/icons.lua
+++ /dev/null
@@ -1,22 +0,0 @@
---- include m_icolib module
-local icolib = require('m_icolib')
-
---- Add icon to icoLib
--- @param name The name of icon
--- @param description The description of icon
--- @param section The section in witch icon will be stored (default 'MirLua')
--- @return handle of icon
-icolib.AddIcon('testIcon', 'Lua icon', 'MirLua')
-
---- Create the icon which will be deleted below
-icolib.AddIcon('testRemoved', 'Lua temporary icon')
-
---- Get icon by name
--- @param name The name of icon
--- @return handle of icon
-local hIcon = icolib.GetIcon('testRemoved')
-
---- Remove icon from iconLib
--- @param handle The handle of icon (or name)
--- @return 0 on success
-icolib.RemoveIcon('testRemoved')