Ambrosia Garden Archive
    • Odd-sized Boundaries in intfs


      How Nova will handle odd rectangle sizes

      Nova allows you, via the intf resource, to set the data area rectangles. Most of us know that. What fewer of us know, however, is what Nova does with larger or smaller rectangles. I would assume that if it's bigger than the data, it will stick it in the center, but just how? I'm assuming it finds the center based on the static text, then plugs in the variable text; this makes sense. But does it do the same with small ones, i.e. put the center of the text in the center of the rectangle and stretch it out based on that? Or am I totally wrong and it doesn't center it at all?

      In case you're wondering, I felt like making an intf editor because I wanted to make the preview mechanism, hence why I'd like to know; I want it to be as accurate as possible.

      As a side note, if the font specified on Mac isn't on the guy's confuser, what does Nova do? Default to Geneva? System font? Die?

    • It's possible that, for both those things, Nova calls usual system routines, so you should obtain the same behavior with them. Especially, for the font, just read this and this. i.e., it should default to the system font. Nova can't be using the FMGetFontFamilyFromName function that is now recommanded instead of GetFNum, or it wouldn't work on OS8, so it must be using GetFNum. Of course, it's always possible that Matt added code so that, if it returns 0, another font is chosen instead, but I frankly doubt it.

    • Quote

      isn't on the guy's confuser

      I was going to point out the typo, but I realized that the word you used, especially in the context of certain types of operating systems, was perfectly valid. Oops.

      Quote

      In case you're wondering, I felt like making an intf editor because I wanted to make the preview mechanism, hence why I'd like to know; I want it to be as accurate as possible.

      I was actually discussing this with Verb the other day- custom interfaces. Does anyone know how changes, especially font-related changes, would carry over to PC? Does anyone know how the PC Nova font is defined? Is it embedded in the nova.rez?

    • I can say that if boundry areas in an intf are any smaller than those in the stock Nova scenereo, things are horribly compressed and don't look right at all.

      Does anyone know how to get an intf across the top of the screen to work right? Mine choked Nova after I put about three hours into it and I have given up (after many other attempts) and accepted the fact that it seems that the intf bar has to be about the same size and position as that of the default scenereo.

    • UE_Research & Development, on Jan 10 2005, 04:53 PM, said:

      I was going to point out the typo, but I realized that the word you used, especially in the context of certain types of operating systems, was perfectly valid. Oops.

      😄

      Quote

      I was actually discussing this with Verb the other day- custom interfaces. Does anyone know how changes, especially font-related changes, would carry over to PC? Does anyone know how the PC Nova font is defined? Is it embedded in the nova.rez?

      I wouldn't know. However, it would be an interesting thing to check out. Could some nice (or mean, doesn't matter to me) Windows user send me a copy of Nova.rez so I might see if there's a difference between it and the Nova applimication itself on Mac?