amiga.org
     
iconAll times are GMT -6. The time now is 04:29 AM. | Welcome to Forum, please register to access all of our features.

Amiga.org Operating System Specific Discussions Amiga OS Amiga OS -- Development OS4 pen issues

Amiga OS -- Development This particular forum deals with issues regarding development for all versions of AmigaOS.

Reply
 
Thread Tools Display Modes
Old 04-20-2011, 07:35 AM   #1
Minuous
Premium Member
Points: 10,637, Level: 68 Points: 10,637, Level: 68 Points: 10,637, Level: 68
Activity: 63% Activity: 63% Activity: 63%
 
Join Date: Jan 2003
Posts: 545
Default OS4 pen issues

Can anyone tell me what pen is used for the text of ghosted menu items under OS4? In my program (Saga) under OS4 the ghosted menu items are looking the same as the normal menu items :-)

Looking in screens.h I can see pens for everything else, but nothing like MENUDISABLEDTEXTPEN. Does anyone know why this omission, and what the workaround is? Thanks.

Last edited by Minuous; 04-20-2011 at 08:09 AM..
Minuous is offline   Reply With Quote
Old 04-20-2011, 07:54 AM   #2
Thomas
Desperately needs a life
Points: 15,165, Level: 79 Points: 15,165, Level: 79 Points: 15,165, Level: 79
Activity: 27% Activity: 27% Activity: 27%
 
Thomas's Avatar
 
Join Date: Jun 2002
Posts: 3,036
Default Re: OS4 pen issues

Try SA_LikeWorkbench,TRUE on your OpenScreenTags() call.
__________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de/
Thomas is offline   Reply With Quote
Old 04-20-2011, 08:15 PM   #3
Minuous
Premium Member
Points: 10,637, Level: 68 Points: 10,637, Level: 68 Points: 10,637, Level: 68
Activity: 63% Activity: 63% Activity: 63%
 
Join Date: Jan 2003
Posts: 545
Default Re: OS4 pen issues

Yes. Surprisingly, this does seem to work. Thanks Thomas!
(Of course, it isn't the ideal solution. MENUDISABLEDTEXTPEN should exist and then this kind of kludge wouldn't be necessary. Hopefully Hyperion will add this for OS4.2.)
Minuous is offline   Reply With Quote
Reply

Bookmarks

Tags
issues , os4 , pen

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump