WoWInterface SVN Xcalc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 16 to Rev 17
    Reverse comparison

Rev 16 → Rev 17

trunk/xcalcgui.lua
8,14 → 8,9
 
--Display Main calculator Window
function xcalc_windowdisplay()
if (xcalc_window == nil or xcalc_optionwindow == nil) then
if (xcalc_window == nil) then
xcalc_windowframe()
xcalc_optionframe()
end
 
if (xcalc_window:IsVisible() and xcalc_optionwindow:IsVisible()) then
xcalc_optionwindow:Hide()
xcalc_window:Hide()
xcalc_window:Show()
elseif (xcalc_window:IsVisible()) then
xcalc_window:Hide()
else
26,7 → 21,10
 
--Display options window
function xcalc_optiondisplay()
if (xcalc_optionwindow:IsVisible()) then
if (xcalc_optionwindow == nil) then
xcalc_optionframe()
xcalc_optionwindow:Show()
elseif (xcalc_optionwindow:IsVisible()) then
xcalc_optionwindow:Hide()
else
xcalc_optionwindow:Show()