mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Added button area methods to the tabs object
Added tabs method: SetButtonAreaX Added tabs method: GetButtonAreaX Added tabs method: SetButtonAreaWidth Added tabs method: GetButtonAreaWidth Added tabs method: SetAutoButtonAreaWidth Added tabs method: GetAutoButtonAreaWidth
This commit is contained in:
parent
26e56e1ad7
commit
ebf541e3b6
@ -2,9 +2,18 @@
|
||||
Version 0.9.7 - Alpha (Release Date TBD)
|
||||
================================================
|
||||
[ADDED] a new base method: textinput(text)
|
||||
[ADDED] a new tooltip method: SetOffsetX(xoffset)
|
||||
[ADDED] a new tooltip method: SetOffsetY(yoffset)
|
||||
[ADDED] a new tooltip method: GetText()
|
||||
[ADDED] a new progressbar method: SetText(text)
|
||||
[ADDED] a new progressbar method: GetText()
|
||||
[ADDED] a new tabs method: SetButtonAreaX(x)
|
||||
[ADDED] a new tabs method: GetButtonAreaX()
|
||||
[ADDED] a new tabs method: SetButtonAreaWidth(width)
|
||||
[ADDED] a new tabs method: GetButtonAreaWidth()
|
||||
[ADDED] a new tabs method: SetAutoButtonAreaWidth(bool)
|
||||
[ADDED] a new tabs method: GetAutoButtonAreaWidth()
|
||||
[ADDED] a new text method: SetLinksEnabled(enabled)
|
||||
[ADDED] a new text method: GetLinksEnabled()
|
||||
[ADDED] a new text method: SetDetectLinks(detect)
|
||||
[ADDED] a new text method: GetDetectLinks()
|
||||
[ADDED] a new textinput method: Copy()
|
||||
[ADDED] a new textinput method: Paste()
|
||||
[ADDED] a new textinput method: SelectAll()
|
||||
@ -15,12 +24,9 @@ Version 0.9.7 - Alpha (Release Date TBD)
|
||||
[ADDED] a new textinput method: GetMaskChar()
|
||||
[ADDED] a new textinput method: SetPlaceholderText(text)
|
||||
[ADDED] a new textinput method: GetPlaceholderText()
|
||||
[ADDED] a new text method: SetLinksEnabled(enabled)
|
||||
[ADDED] a new text method: GetLinksEnabled()
|
||||
[ADDED] a new text method: SetDetectLinks(detect)
|
||||
[ADDED] a new text method: GetDetectLinks()
|
||||
[ADDED] a new progressbar method: SetText(text)
|
||||
[ADDED] a new progressbar method: GetText()
|
||||
[ADDED] a new tooltip method: SetOffsetX(xoffset)
|
||||
[ADDED] a new tooltip method: SetOffsetY(yoffset)
|
||||
[ADDED] a new tooltip method: GetText()
|
||||
[ADDED] a new text event callback: OnClickLink(object, text)
|
||||
[ADDED] a new util library function: TableHasValue(table, value)
|
||||
[ADDED] a new util library function: GetHoverObject()
|
||||
|
@ -681,4 +681,66 @@ function newobject:SetTabObject(id, object)
|
||||
children[id] = object
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: SetButtonAreaX(x)
|
||||
- desc: sets the x position of the object's button area
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:SetButtonAreaX(x)
|
||||
|
||||
self.buttonareax = x
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: GetButtonAreaX()
|
||||
- desc: gets the x position of the object's button area
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:GetButtonAreaX()
|
||||
|
||||
return self.buttonareax
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: SetButtonAreaWidth(width)
|
||||
- desc: sets the width of the object's button area
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:SetButtonAreaWidth(width)
|
||||
|
||||
self.buttonareawidth = width
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: GetButtonAreaWidth()
|
||||
- desc: gets the width of the object's button area
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:GetButtonAreaWidth()
|
||||
|
||||
return self.buttonareawidth
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: SetAutoButtonAreaWidth(bool)
|
||||
- desc: sets whether or not the width of the object's
|
||||
button area should be adjusted automatically
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:SetAutoButtonAreaWidth(bool)
|
||||
|
||||
self.autobuttonareawidth = bool
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: GetAutoButtonAreaWidth()
|
||||
- desc: gets whether or not the width of the object's
|
||||
button area should be adjusted automatically
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:GetAutoButtonAreaWidth()
|
||||
|
||||
return self.autobuttonareawidth
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user