Excellent!

I put 

layer-bg-color=FF000000

In /etc/directfbrc and that did the trick (setting it all to black). Now when 
I start up and shut down I get a dark screen! Perfect!

Thanks!

Lloyd

On Friday 17 April 2009 02:34:44 Daniel James Laird wrote:
> Yes there is a deafult bg-color.
>
> Look at conf.c I the source code for a list of all runtime options, however
> I think you want to look at: init-layer=X
> layer-bg-none or layer-bg-color=AARRGGBB I think
>
> hope this helps
>
> Daniel Laird
>
> -----Original Message-----
> From: directfb-users-boun...@directfb.org
> [mailto:directfb-users-boun...@directfb.org] On Behalf Of Lloyd Sargent
> Sent: 2009 Apr 16 22:10
> To: directfb-users
> Subject: [directfb-users] Does directfb set a default color?
>
> I'm working with the AT91SAM9261 (an ARM processor) using ATMEL's
> Evaluation Kit that has a QVGA screen.
>
> When I boot, screen is basically black (after the kernel loads). However,
> after DirectFB is run and shutdown, the screen now has a purplish color.
>
> This is basically the code I use to start up DirectFB:
>
>       //----- initialize directfb
>       mwexception.exceptionSpecific = (int) DirectFBInit(&argc, &argv);
>       if (mwexception.exceptionSpecific)
>       {
>               mwexception.exceptionType = eMwDfbError;
>               throw mwexception;
>       }
>
>       //----- create the super interface
>       mwexception.exceptionSpecific = (int)
> DirectFBCreate(&directfbSuperInterface);
>     if (mwexception.exceptionSpecific)
>       {
>               mwexception.exceptionType = eMwDfbError;
>               throw mwexception;
>       }
> exit(1);
>
> At this point the screen will be a dingy purple when I would have expected
> it to be black.
>
> It this some default? If so is there a way to change it? It seems that if a
> DirectFB program stops it displays this funny color.
>
> Thanks!
>
> Lloyd
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to