/trunk/RDX/PanelMgr
end); |
RDXPM.MainMenu:RegisterMenuFunction(function(ent) |
ent.text = VFLI.i18n("Learn Wizard"); |
ent.func = function() RDX.NewLearnWizard(); end; |
ent.notCheckable = true; |
end); |
RDXPM.MainMenu:RegisterMenuFunction(function(ent) |
ent.text = VFLI.i18n("Debugging"); |
ent.hasArrow = true; |
ent.notCheckable = true; |
if opt and opt.asmp then chk_asmp:SetChecked(true); else chk_asmp:SetChecked(); end |
ui:InsertFrame(chk_asmp); |
local chk_hmp = VFLUI.Checkbox:new(ui); chk_hmp:Show(); |
chk_hmp:SetText(VFLI.i18n("Always Hide Main Panel")); |
if opt and opt.hmp then chk_hmp:SetChecked(true); else chk_hmp:SetChecked(); end |
ui:InsertFrame(chk_hmp); |
--local chk_hmp = VFLUI.Checkbox:new(ui); chk_hmp:Show(); |
--chk_hmp:SetText(VFLI.i18n("Always Hide Main Panel")); |
--if opt and opt.hmp then chk_hmp:SetChecked(true); else chk_hmp:SetChecked(); end |
--ui:InsertFrame(chk_hmp); |
local chk_upp = VFLUI.Checkbox:new(ui); chk_upp:Show(); |
local function Save() |
opt.asmp = chk_asmp:GetChecked(); |
opt.hmp = chk_hmp:GetChecked(); |
--opt.hmp = chk_hmp:GetChecked(); |
opt.upp = chk_upp:GetChecked(); |
--opt.dgr = chk_dgr:GetChecked(); |
local mainPane = RDXPM.GetMainPane(); |
else |
RDXPM.RDXManage(VFLDIALOG); |
end |
end |
function RDXPM.IsRDXManageOpen() |
if dlg then return true; else return nil; end |
end |