Massimo,Fenerit wrote:while in full screen, boxes still behaves bad
I just tested your plug-in, and the problem seems to come from your lightsBox.lua file.
When resizing the main celestia window, your lightsLb, lightsBb, lightsRb, lightsTb values
are not getting updated, which causes the weird behaviour of your lightBox on screen.
Adding the following code to your lightsFrame.Customdraw function should solve the problem:
(Don't forget to delete your previous prefs.lua file)
Code: Select all
if newwidth ~= iwidth or newheight ~= iheight then
iwidth = newwidth;
iheight = newheight;
lightsLb = pref.lightsLb;
lightsBb = pref.lightsBb;
lightsRb = newwidth - lightsLb - lightsFrameWidth;
lightsTb = newheight - lightsBb - lightsFrameHeight;
lightsFrame:attach(screenBox, lightsLb, lightsBb, lightsRb, lightsTb)
fsgregs wrote:Will you be releasing that part of the addon soon, or is there some short tutorial that instructs us in how to add images to the plugin now, and designate clickable "hot spots" on the planet?
Frank,fsgregs wrote:Perhaps the parameters plugin could be an addon in Lua Tools that could be turned on or off via the "set addons visability" menu!!!
I'll provide the Lua Plug-ins as a single addon shortly.
This will include the picture box.
As to the Keplerian parameters box, I'll add it to the Lua Edu Tools.
I should be done with all this by next weekend.