try to get zbox working
His Dad [05-11-15 - 05:58]
diff --git a/HistOffline.lua b/HistOffline.lua
index bf904a3..06365d9 100644
--- a/HistOffline.lua
+++ b/HistOffline.lua
@@ -221,9 +221,9 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"}
grp_names = lingua[accounts[acc].lang].grp_names
Ach_Detail = lingua[accounts[acc].lang].Ach_Detail
-- Create SkillQuest Achievements Detail Boxes=======================
--- These are the same for all chars, we just just hightlight the contents appropriately
+-- These are the same for all chars, we just just highlight the contents appropriately
load_SQ_Detail(accounts[acc].lang)
-
+--[[
--Load all the detail boxes into a zbox
if SQ_Detail_Zbox[accounts[acc].lang] == nil then
SQ_Detail_Zbox[accounts[acc].lang] = iup.zbox{}
@@ -233,6 +233,11 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"}
iup.Append(SQ_Detail_Zbox[accounts[acc].lang], box)
end
end
+--]]
+alabel = iup.label{title="hello"}
+myzbox = iup.zbox{alabel} -- ; alignment="ACENTER"}
+myzbox.value = alabel
+-- SQ_Detail_Zbox[accounts[acc].lang] = iup.zbox{alignment="ACENTER"}
@@ -694,7 +699,6 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"}
-
-- iup.Append(accounts[acc].name[char].SQ_Frame, SQ_Detail_box["11"])
--]]
-- ====================================
@@ -750,12 +754,20 @@ btn_archive = iup.button{title="Archive", FGCOLOR = "#FF0000"}
iup.label{title=L.SkillLab,expand="HORIZONTAL"},
accounts[acc].name[char].SQ_box,
-- accounts[acc].name[char].SQ_Frame,
- -- SQ_Detail_Zbox[accounts[acc].lang],
+ -- alabel,
+ iup.label{title="hello"},
+ -- myzbox,
+ -- SQ_Detail_Zbox[accounts[acc].lang],
+ --iup.zbox{alabel; alignment = "ACENTER"},
iup.fill{}
},
+
}, -- end of tabs for dungeons
},
} -- end of tabs for characters vbox
+ if SQ_Detail_Zbox[accounts[acc].lang] == nil then
+ print ("is Null")
+ end
iup.Append(accounts[acc].tabs,accounts[acc].name[char].tab)
local panel =(#accounts[acc].names * 90)