Creating Apps

From Off Grid Wiki
Revision as of 13:32, 8 May 2017 by WikiAdmin (talk | contribs) (Created page with "<syntaxhighlight lang="lua"> app = { name = "DataDelete", description = "Delete a data point.", targets = {"data"}, default = true, state = "off", icon = "Common/Apps/Ic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
app = {
	name = "DataDelete",
	description = "Delete a data point.",
	targets = {"data"},
	default = true,
	state = "off",
	icon = "Common/Apps/Icons/DataDelete.png",
	iconColor = { 0, 0.4, 0.9843, 1 },

	OnClickAppWheel = function()
		UI.ToggleDataDelete()
	end,

	OnClickRadial = function()
		UI.ToggleDataDelete()
	end,

}