Quoting "B. Bogart" ben@ekran.org:
Hey all,
If you use "secondscreen 1" you can't use the full screen message, you just use the create message as normal.
Also for Gem you have to set most the window properties BEFORE you create the window! This goes for dimen, fullscreen, secondscreen, offset. I think color and rendering are the only things you can change after having created the window.
some more info about the 'secondscreen' message:
to, but I have set the minimum/default to a 'safe' 640x480 since most displays will do VGA resolution.
should handle bad dimensions gracefully.
both Jamie and I have powerbooks and regularly use them in that role.
It might be better to roll this functionality into the 'fullscreen' message by adding another argument for the display number. The message would look like this:
[fullscreen on/off display# (
So 'fullscreen 1 0' would display fullscreen on the main monitor (also omitting the arg for display would default to the main screen), and 'fullscreen 1 1' would use an atached monitor.
See if that helps with the crashes at all. I've never had gem crash when creating windows.
The code used for secondscreen is right out of the Apple docs, and I personally haven't had any problems with it after adding the checks for minimum display bounds. All other errors have been handled by the OS just fine.
cgc
Ben
----- Original Message ----- From: "doktorp" doktorp@mac.com To: "Ralf Baecker" ralf@no-surprises.de Cc: pd-list@iem.at Sent: Sunday, October 26, 2003 9:53 AM Subject: Re: [PD] os x gem fullscreen
I have gotten the offset to work, and forced gem to make an 800/600 window and have my second monitor at that setting. if I offset it
just
right it seemed to work.
but using the second monitor flag and the fullscreen one would consitantly crash me. =(
its best to init the settings before you create and start rendering (with using the offset). otherwise it seems to get unstable for me =\
-dok
On Oct 26, 2003, at 6:37 AM, Ralf Baecker wrote:
hi there,
i'm new to the pd and gem thing. so my first problem/question is,
if
it is possible to get the gem windows fullscreen on a second
display?
i tried some messages... but most of them didn't work. like "fullscreen 1" ,i also tried to move it with a "x offset -1024" on
the
other screen...
thanx,
ralf
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list