Welcome, Guest. Please login or register.

Author Topic: SetAPen(RastPort*, UBYTE);  (Read 4334 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: SetAPen(RastPort*, UBYTE);
« on: April 06, 2010, 10:22:29 AM »
If you're targetting OS4:

IGraphics->SetRPAttrs( rastport, RPATTR_APenColor, 0xRRGGBB, TAG_DONE );
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: SetAPen(RastPort*, UBYTE);
« Reply #1 on: April 06, 2010, 11:01:08 AM »
Well if everyone bought a SAM or X-1000, we could forget about 3.x ;-)
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: SetAPen(RastPort*, UBYTE);
« Reply #2 on: April 06, 2010, 11:03:37 AM »
I know, i know. Hence the smiley.
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: SetAPen(RastPort*, UBYTE);
« Reply #3 on: April 06, 2010, 01:03:33 PM »
Quote from: bernd_afa;551686

I better not tell what i miss(the list get too long)on OS4, but a AOS with all features of MOS and OS4 and Hardware support of MOS and OS4 that come in my mind for a good future AOS.


You just can't go a single post without making a dig at OS4 can you? *sigh*
Playstation Network ID: xeron6
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show all replies
    • http://www.petergordon.org.uk
Re: SetAPen(RastPort*, UBYTE);
« Reply #4 on: April 06, 2010, 01:05:40 PM »
@Piru
There is no "mode" on OS4, or at least the mode is transparent. If you set "APenColor" APen is an RGB colour value. If you then use SetAPen(), its a pen again.
Playstation Network ID: xeron6