Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: SetAPen(RastPort*, UBYTE);
« on: April 06, 2010, 01:00:11 PM »
Quote from: Karlos;551665
Much cleaner. Pity there's no 3.x equivalent.



On AFA OS 68k ,AROS and MOS you can set RGB foreground and background colors with that Tag

RPTAG_FgColor:
RPTAG_BgColor:

SetRPAttrs( rastport, RPTAG_FgColor:, 0xRRGGBB, TAG_DONE );

do the Job here.

if you like the OS4 syntax you can just do

#define RPATTR_APenColor RPTAG_FgColor

>Well if everyone bought a SAM or X-1000, we could forget about 3.x ;-)

haha when peolple should force to OS4 it should get lots better i think.
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.

but so, i stay on 68k and better add a few minutes and add OS4/MOS features that are usefull to AFA.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: SetAPen(RastPort*, UBYTE);
« Reply #1 on: April 06, 2010, 01:08:30 PM »
Quote from: Karlos;551687
Sure, but that's thanks to AfA, not AmigaOS 3.x tself.


sure but AFA can use for free, nobody must buy a expensive Hardware for this or pay any cent.

And btw this programs run too well when run on MOS(either 68k /PPC or compile for AROS)

only problem AFA have, it have no Licence from Ainc and no AOS source.But it run stable and is near 100% compatible and enhance AOS with the important missed features.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: SetAPen(RastPort*, UBYTE);
« Reply #2 on: April 06, 2010, 01:13:33 PM »
Quote from: xeron;551689
You just can't go a single post without making a dig at OS4 can you? *sigh*


You was the guy that tell all should buy OS4.If you not write it, i need nothing write about too few OS4 features for me to buy.

I tell what i miss in short this time in OS4.

Maybe the OS4 guys make it better, then maybe i can buy it.