[Coco] reading the current window settings

Wayne Campbell asa.rand at gmail.com
Tue May 30 19:32:03 EDT 2017


Thanks Bill and Stephen. I was looking in that document, and thought it
should be a getstat call, but couldn't find the one I was looking for. I'll
check again now that I have the names of the calls. Again, thanks!



On Tue, May 30, 2017 at 4:01 PM, Bill Pierce via Coco <coco at maltedmedia.com>
wrote:

> Wayne, try the OS9 L2 Technical Reference manual
> The cmds you are looking for are:
>
> SS.ScSiz Returns the window or screen size
> SS.ScTyp Returns the type of screen
>
>  SS.FBRgs Returns fg, BG, and border palette regs for a window
>
> These are getstat calls.
>
>
>
> Bill Pierce
> "Charlie stole the handle, and the train it won't stop going, no way to
> slow down!" - Ian Anderson - Jethro Tull
>
> My Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Co-Contributor, Co-Editor for CocoPedia
> http://www.cocopedia.com/wiki/index.php/Main_Page
>
> E-Mail: ooogalapasooo at aol.com
>
>
>
>
>
> -----Original Message-----
> From: Wayne Campbell <asa.rand at gmail.com>
> To: CoCoList <coco at maltedmedia.com>
> Sent: Tue, May 30, 2017 5:08 pm
> Subject: [Coco] reading the current window settings
>
> Actually, this is specifically about determining what the
> currentforeground/background colors are in the current window or term in
> NitrOS-9.I want to be able to set variables to the values of the current
> colorsettings so I can return the window to the previous settings once
> myprogram finishes. I know how to set the colors, but I don't know how
> toread them.Help?-- WayneThe Structure of I-Codehttp://www.cocopedia.
> com/wiki/index.php/The_Structure_of_I-Codedecodehttp:
> //cococoding.com/wayne/-- Coco mailing listCoco at maltedmedia.comhttps://
> pairlist5.pair.net/mailman/listinfo/coco
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>



-- 
Wayne

The Structure of I-Code
http://www.cocopedia.com/wiki/index.php/The_Structure_of_I-Code

decode
http://cococoding.com/wayne/


More information about the Coco mailing list