useful abs. for setting the size of a plugin
Here is an abstraction that'll help anyone that wants a perfectly sized plugin which uses an interface, no guess work required. What you do is take the two hidden message boxes with "^" and "." written in them. Place "^" in the topleft of where you GUI element is, and then place "." in the bottomleft. Once those two are set, click on the "getsize" message box above my abstraction. Jasch and LObjects are required for this to work as I am too lazy to do otherwise ;)
--=--=------=--=------=--=----
At 10:11 AM -0700 9/30/06, DrSbaitso wrote:
>Here is an abstraction that'll help anyone that wants a perfectly
>sized plugin which uses an interface, no guess work required. What
>you do is take the two hidden message boxes with "^" and "." written
>in them. Place "^" in the topleft of where you GUI element is, and
>then place "." in the bottomleft. Once those two are set, click on
>the "getsize" message box above my abstraction. Jasch and LObjects
>are required for this to work as I am too lazy to do otherwise ;)
Or just use the "windowsize" message in your plugconfig object? Or
am I missing something?
Dan
--
Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X
http://www.defectiverecords.com
http://www.jackosx.com
AquaRuler looks great.
You might also want to check out PixelStick.
-ian
Roman Thilenius wrote:
> i am using tracing pictures/background pictures of a known
> size and add a few pixels to the height (for the top position
> issue).
>
> a little app called "AquaRuler" (OS9/OSX) can be useful to
> measure window sizes sometimes.
As plugins in general look nicer with a coloured background, I just
place a panel into the background. If I size the panel with the mouse,
it will display the x/y coordinates on the bottom of the window...
Just another approach to do it.
Stefan
--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com
Panels generally don't sit well with numboxes or flonums from what I've seen. There is some funky redraw stuff when theres a panel in the background.
I wonder how many people were able to get this working. Anyone have any problems understanding what this abstraction was all about?