Re: Window decorations in OSX

2002-10-25 Thread Ken Ray
> >For
> >reference, here's what you get in OS X for the various decorations
> >properties (note that the "other" buttons are not invisible, they are
just
> >shown disabled):
> >
> >'title' = minimize only
> >'minimize' = minimize only
> >'maximize' = minimize and maximize
> >'menu' = minimize only
> >'default' = minimize, maximize, and close
> >'none' = minimize only
> >"" or 'empty' = no title bar or window borders
>
> This brings up a question...
>
> I was opening substacks as modeLess, setting the decorations to
> "title,minimize,maximize,menu" and none of the stacks had a close box
> in the upper left corner.  I had to switch to setting the decorations
> to "default".  Anybody know why?

Well, according to the list above, only the 'default' option has a close box
in it...

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Window decorations in OSX

2002-10-25 Thread Ken Ray
> > I was opening substacks as modeLess, setting the decorations to
> > "title,minimize,maximize,menu" and none of the stacks had a close box
> > in the upper left corner.  I had to switch to setting the decorations
> > to "default".
>
> More interesting for me was the fact that on OSX, setting the stack's
style
> to modeless causes it to show Aqua stripped lines in the background.  I
must
> have missed this one on the list...

Yes, any window that would be considered a "dialog box" (modal, modeless)
automatically gets the striped lines. Normal stack windows don't (although
you can take a scrreen capture of a chunk of the lines, import it as an
image and set the backgroundPattern of the window to the image to fake it).

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Window decorations in OSX

2002-10-25 Thread Scott Rossi
> I was opening substacks as modeLess, setting the decorations to
> "title,minimize,maximize,menu" and none of the stacks had a close box
> in the upper left corner.  I had to switch to setting the decorations
> to "default".

More interesting for me was the fact that on OSX, setting the stack's style
to modeless causes it to show Aqua stripped lines in the background.  I must
have missed this one on the list...

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Window decorations in OSX

2002-10-25 Thread Shari
For
reference, here's what you get in OS X for the various decorations
properties (note that the "other" buttons are not invisible, they are just
shown disabled):

'title' = minimize only
'minimize' = minimize only
'maximize' = minimize and maximize
'menu' = minimize only
'default' = minimize, maximize, and close
'none' = minimize only
"" or 'empty' = no title bar or window borders


This brings up a question...

I was opening substacks as modeLess, setting the decorations to 
"title,minimize,maximize,menu" and none of the stacks had a close box 
in the upper left corner.  I had to switch to setting the decorations 
to "default".  Anybody know why?

--
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Window decorations in OSX

2002-10-25 Thread Ken Ray
Shari,

The lookAndFeel only applies to the *content* of windows, not the window
decorations themselves. So if someone is running an app with the lookAndFeel
set to "Macintosh" in OSX, they should see the three jelly bean buttons in a
titlebar that is an "OS X" titlebar. The only time they wouldn't see the
jelly beans would be if you set the decorations of the window. For
reference, here's what you get in OS X for the various decorations
properties (note that the "other" buttons are not invisible, they are just
shown disabled):

'title' = minimize only
'minimize' = minimize only
'maximize' = minimize and maximize
'menu' = minimize only
'default' = minimize, maximize, and close
'none' = minimize only
"" or 'empty' = no title bar or window borders

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message -
From: "Shari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 25, 2002 10:07 AM
Subject: Window decorations in OSX


> One of my OSX beta testers mentioned that the red close button was
> missing.  I asked her in more detail what she meant (I do not have
> OSX) and her explanation follows:
>
> >>>
> in every window in OS X and in most apps that run native there is a
> red, a yellow and a green jelly bean button in the upper left corner.
> red=close window, yellow shrinks window to tool bar, green enlarges
> window to fill screen.
> <<<
>
> I have the lookAndFeel set to Macintosh, as I discovered a few bugs
> back that certain menu type buttons (option) wouldn't work as
> intended on other platforms, and looked hideous on some platforms,
> but looked fine on classic Macintosh.  It was a big enough issue that
> I set the lookAndFeel to Macintosh when the stack opens.  I tried
> other styles of buttons to compensate but in the end, setting the
> lookAndFeel was the best choice.
>
> I've checked things out with the different lookAndFeel preferences
> settings in general, to see how things look on other platforms, and
> I've not seen these colored jelly bean buttons.
>
> Do they exist in Metacard?  And if not, is there any way to create them?
>
> I'm guessing that one way would be to create your own title bar for
> the windows, by using no decorations and just having the window
> graphics mimic a title bar.
>
> Any other ideas?
>
> (Not going to bother with it for this project, but my next big
> project, that would be a nice touch.)
> --
> --Shareware Games for the Mac--
> http://www.gypsyware.com
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Window decorations in OSX

2002-10-25 Thread J. Landman Gay
On 10/25/02 10:07 AM, Shari wrote:


I've checked things out with the different lookAndFeel preferences 
settings in general, to see how things look on other platforms, and I've 
not seen these colored jelly bean buttons.

Do they exist in Metacard?  And if not, is there any way to create them?

They are drawn by the OS, and until you install OS X you won't see them. 
They are there though. The red one is is the close box. If you have set 
the decorations of your stack to any type that does not include a close 
box, the red button will be disabled.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard