In fact I wrote a hack within GrText() that will reset the 'usebackground' flag of graphics context to 0. This will serve my purpose, but I want to use GrGCUseBackground() to disable the flag. Problem is I can't see any such API in the code-base.
Thanks for giving me pointer. Regards, Aveek -----Original Message----- From: Aveek Adhya [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 10:11 AM To: 'Greg Haerr'; nanogui@linuxhacker.org Subject: RE: [nanogui] Graphics Plane Support But I can't see any API called GrGCUseBackground() as you mentioned. I am using 'microwindows-0.91'. Do I need to apply any patch? Regards, Aveek -----Original Message----- From: Greg Haerr [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 9:15 PM To: Aveek Adhya; nanogui@linuxhacker.org Subject: Re: [nanogui] Graphics Plane Support : Well, consider I am writing an application for TV and the application should : display a simple screen on TV. The screen should be as follows: Whether the screen is a TV or not is completely seperate from the business of nano-X writing its framebuffer. Setting up any alpha or video along with the nano-X framebuffer will have to be done outside of nano-X. : 1. There is a background image, that is, a gif file displayed as screen : background (implemented using GrSetBackgroundPixmap()). This should work fine as is. : 2. A text is displayed on the top of the background on TV screen. : Now I want that the text background to be transparent. That means the : background image should be displayed from within the text message. Is it : possible using nano-x? : When you set drawing text background to OFF with GrGCUseBackground, then text will be drawn without any background clears, and should be fine. : Assume there is no video on TV. : Again, that doesn't really have anything to do with how nano-X writes the framebuffer supplied to it. Regards, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]