<!-- Plugin "Aardwolf_Clock" generated by Plugin Wizard -->
<!-- Plugin "Aardwolf_Clock" generated by Plugin Wizard -->
<muclient>
<muclient>
<pluginname="Aardwolf_Clock"author="Crowley, with help from Fiendish"id="28a36788fa20aa062e760ee2"language="Lua"purpose="Displays a realtime clock based on Aardwolf game time"save_state="y"date_written="2018-05-15 11:43:22"requires="4.90"version="5.01">
<pluginname="Aardwolf_Clock"author="Crowley, with help from Fiendish"id="28a36788fa20aa062e760ee2"language="Lua"purpose="Displays a realtime clock based on Aardwolf game time"save_state="y"date_written="2018-05-15 11:43:22"requires="4.90"version="5.02">
</plugin>
</plugin>
@ -102,8 +102,8 @@ font = "f"
checked_time = false
checked_time = false
footer_text = {}
footer_text = {}
font_name = GetAlphaOption("output_font_name")
font_name = GetVariable("font_name") or GetAlphaOption("output_font_name")
font_size = GetOption("output_font_height")
font_size = tonumber(GetVariable("font_size")) or GetOption("output_font_height")
if not GetVariable("showTitleBar") then
if not GetVariable("showTitleBar") then
SetVariable("showTitleBar", "true")
SetVariable("showTitleBar", "true")
@ -167,10 +167,25 @@ function createWindow()
fontSize, -- title_font_size
fontSize, -- title_font_size
true -- defer_showing
true -- defer_showing
)
)
table.insert(clockWin.menu_table, "Change font")
table.insert(clockWin.menu_table, "Show title bar")
table.insert(clockWin.menu_table, "Show title bar")
table.insert(clockWin.menu_table, "Hide title bar")
table.insert(clockWin.menu_table, "Hide title bar")