- made "config mode" only show bars that are currently enabled

- made combo points module show 5 combo points while in config mode
- added horizontal offset to combo points module
- added ability make combo points add vertically instead of horizontally (if in graphical mode)
This commit is contained in:
Parnic
2008-10-17 15:39:59 +00:00
parent 473e77e2da
commit 22caa87da4
2 changed files with 63 additions and 7 deletions

View File

@ -426,12 +426,16 @@ function IceCore.prototype:ConfigModeToggle(bWantConfig)
if bWantConfig then
for i = 1, table.getn(self.elements) do
self.elements[i].frame:Show()
if self.elements[i]:IsEnabled() then
self.elements[i].frame:Show()
self.elements[i]:Redraw()
end
end
else
for i = 1, table.getn(self.elements) do
if not self.elements[i]:IsVisible() then
self.elements[i].frame:Hide()
self.elements[i]:Redraw()
end
end
end