- All the changes required for the Chart Viewer 2.0.

- Fixed the options panel open bug.
This commit is contained in:
Tercio
2015-02-06 20:34:21 -02:00
parent 43996cf0d7
commit ad76abfd00
6 changed files with 119 additions and 51 deletions
+10 -1
View File
@@ -15,6 +15,8 @@ local cleanfunction = function() end
local APITextEntryFunctions = false
local TextEntryMetaFunctions = {}
gump.TextEntryCounter = 1
------------------------------------------------------------------------------------------------------------
--> metatables
@@ -470,13 +472,20 @@ local TextEntryMetaFunctions = {}
------------------------------------------------------------------------------------------------------------
--> object constructor
function gump:CreateTextEntry (parent, func, w, h, member, name)
return gump:NewTextEntry (parent, parent, name, member, w, h, func)
end
function gump:NewTextEntry (parent, container, name, member, w, h, func, param1, param2, space)
if (not name) then
return nil
name = "DetailsTextEntryNumber" .. gump.TextEntryCounter
gump.TextEntryCounter = gump.TextEntryCounter + 1
elseif (not parent) then
return nil
end
if (not container) then
container = parent
end