[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to CHOOSE the CURRENT SCREEN.



	Date: Tue, 20 Nov 1990 11:05:44 EST
	From: RUSHING@TITAN.KSC.NASA.GOV (Sam Rushing)

		Is there a 'legal' way to get hold of the current screen or
	console object?

This reminds me of a problem I've been having that I've never gotten to
work right.  I've defined a graphics program using DW, program frame
etc.  Everything is written in such a way that it can be done in BW or
color... Except for how to get it there!

When the program gets initally selected; it should:
  Go on the only screen if there is only one.
  Allow a choice (or at least go on the color screen) if there is a
choice.

I tried using the :SUPERIOR option to define-program-framework. This
seemed to be working pre-8, but in 8 seems to get created on B&W; at
least if I use the <select>-char mechanism.

If I use :select activity <program> on sheet <sheet>, 
then (providing I've already made a color sheet to choose from!),  I can
select color or BW and even have the program running on both screens.
But this is very awkward, cause what I'ld really like (eventually) is to
be able to choose the color screen type (8bit or 24bit).  Eg. on a color
system, <select>-char would bring up a menu with options "B&W", "8bit
color", "24bit color". [Bonus, does anybody REALLY understand all that
:minimum-bits-per-pixel, :create-options, :controller-types... garbage?]


bruce
miller@cam.nist.gov