|
|
|
@ -155,7 +155,7 @@ require "gmcphelper"
|
|
|
|
|
require "copytable"
|
|
|
|
|
require "serialize"
|
|
|
|
|
|
|
|
|
|
default_x = 868
|
|
|
|
|
default_x = 868 + Theme.RESIZER_SIZE + 2
|
|
|
|
|
default_y = 336
|
|
|
|
|
default_height = 215
|
|
|
|
|
default_width = 269
|
|
|
|
@ -166,8 +166,10 @@ show_hp = tonumber (GetVariable ("show_hp")) or 1
|
|
|
|
|
show_mn = tonumber (GetVariable ("show_mn")) or 1
|
|
|
|
|
show_mv = tonumber (GetVariable ("show_mv")) or 1
|
|
|
|
|
hidden = tonumber (GetVariable ("hidden")) or 0
|
|
|
|
|
flat_gauges = tonumber (GetVariable("flat_gauges")) or 0
|
|
|
|
|
overlay_numbers = tonumber (GetVariable("overlay_numbers")) or 0
|
|
|
|
|
gauge_style = tonumber(GetVariable("flat_gauges")) or tonumber(GetVariable("gauge_style")) or 0
|
|
|
|
|
DeleteVariable("flat_gauges")
|
|
|
|
|
number_style = tonumber(GetVariable("number_style")) or 1
|
|
|
|
|
overlay_numbers = tonumber(GetVariable("overlay_numbers")) or 0
|
|
|
|
|
GAP = 2
|
|
|
|
|
font_size = 8
|
|
|
|
|
font_name = ""
|
|
|
|
@ -663,7 +665,7 @@ function ResizeReleaseCallback()
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function MouseDown(flags, hotspot_id)
|
|
|
|
|
if (hotspot_id == "resize") then
|
|
|
|
|
if (hotspot_id == win.."_resize") then
|
|
|
|
|
startx, starty = WindowInfo (win, 17), WindowInfo (win, 18)
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|