Status bar
His Dad [04-17-15 - 03:41]
diff --git a/HistOffline.lua b/HistOffline.lua
index 82b6f9c..e36a6b9 100644
--- a/HistOffline.lua
+++ b/HistOffline.lua
@@ -294,7 +294,7 @@ for _,char in ipairs(names) do
end
-
+lbl_Status_bar = iup.label{title=L.Welcome, expand = "HORIZONTAL"}
Vet_box[char].Redraw= "ALL"
-- ====================================
@@ -386,6 +386,7 @@ function btn_eraselog:action()
History_SV["Default"][myaccount]["$AccountWide"]["log"] = {}
write_data() -- write new history
Load_Log()
+ lbl_Status_bar.title = L.Erased
end
-- Add to end of Characters
iup.Append(Chartabs, log_box)
@@ -393,7 +394,15 @@ iup.Append(Chartabs, log_box)
local panelsize = (#names*80+100) .. "x250"
-- Creates dialog
-dlg = iup.dialog{iup.vbox{Chartabs; margin="10x10"}; title=L.title .. myaccount, size=panelsize}
+dlg = iup.dialog{iup.vbox{Chartabs,
+ iup.hbox{lbl_Status_bar, -- Bottom Status bar.
+ iup.fill{},
+ },
+ margin="5x5",
+ },
+ title=L.title .. myaccount,
+ size=panelsize
+ }
-- Shows dialog in the center of the screen
dlg:showxy(iup.CENTER, iup.CENTER)
diff --git a/en.lua b/en.lua
index 2695e21..732f126 100644
--- a/en.lua
+++ b/en.lua
@@ -38,7 +38,9 @@ Area_names = {
TStamp = "Time Stamp" ,
title = "History For ",
EraseButton = "Erase Log",
- EraseWarning = "Do not Erase the log while a Character is logged in to ESO. Your changes will be overwritten."
+ EraseWarning = "Do not Erase the log while a Character is logged in to ESO. Your changes will be overwritten.",
+ Welcome = "Welcome to HisDad\'s offline history viewer.",
+ Erased = "The Log has been erased."
}