|
|
Hi all!
Still entwined making a HTML interface for our library-programm, I've gone
through the adventure (to do something different than working on the same
Java-Files like in the former phase) and have researched quiet a bit on Html
(using selfhtml) and built our Java-Programm to truly create a dynamic
web-presentation of the library-programm. It supports a limited style of
skins (woohoo! :-), e.g. using either text or images as links, and then,
images may be added with a mouseover effect. To make that one running
properly, there's part of the Skin which tells the programm which images to
preload etc etc. All in all, pretty neat, IMHO.
To make things easy for skinning, the different sections are of specified
length. The menu spans a total of 700 pixels in width (to accomodate for
different viewing resolutions), 10 pixel on each side for borders, and then
136p per Menu button, of which there are five.
Underneath the "menu bar" is another bar which may be filled with another
10p bordered 680p image, chosen by the active menu.
Anyways, you're noticing that the sizes are hard-coded. Now to the skinning
part: I'd love to make one or two skins for the interface using POV-Ray.
Now, I need pixel perfection in order to assure that I've got the 10 pixel
border, 136 pixel per Menu button, etc. Does anyone have macros or ideas on
how to calculate pixel-perfect regions so that I know where to place
different objects etc and not pass the limits?
Of course, there's always trial and error, but that's not very efficient in
order to create several skins...
Any ideas?
Regards,
Tim
--
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de
Post a reply to this message
|
|