Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Final csndsugui question

Date2009-06-16 01:46
From"Art Hunkins"
SubjectRe: [Cs-dev] Final csndsugui question
That seems to be so, upon further examination.

All the activities I've looked at seem to grey the entire display, with one 
"exception": text "fields" in which ASCII is expected to be entered (such as 
in Terminal and Pippy activities). Even there, *trying* to change the field 
from white to some other color was unsuccessful. (Again, this suggests Sugar 
control.)

If you find anything different, please let me know. Meanwhile, I'll try 
different colored text to try to create better contrast (I've a lot of text, 
for better or worse).

Art Hunkins

----- Original Message ----- 
From: "victor" 
To: "Developer discussions" 
Sent: Monday, June 15, 2009 6:30 PM
Subject: Re: [Cs-dev] Final csndsugui question


>I think this is set by sugar. Not sure whether the activity
> can change this.
>
> Victor
> ----- Original Message ----- 
> From: "Art Hunkins" 
> To: 
> Sent: Monday, June 15, 2009 9:52 PM
> Subject: [Cs-dev] Final csndsugui question
>
>
>> Victor (and Andres?) -
>>
>> I am trying to control the background (bg) color of my Activity display
>> (OLPC). Regardless of what I set it to in:
>>   win = csndsugui.CsoundGUI(self, bg)
>> the colour turns out medium gray.
>>
>> Victor, it does so on all four of your Activities as well.
>>
>> The gray covers all the screen except for portions of the widgets.
>>
>> What happens is that the specified background color appears over most of
>> the
>> screen for an instant, then is covered by gray at the same moment that 
>> the
>> top Sugar bar is being drawn/filled.
>>
>> I assume that perhaps this is being done, then by Sugar when entering the
>> main loop?
>>
>> I really would like to have my background white, if reasonably possible.
>>
>> The phenomenon occurs even when the entire script is as follows (in which
>> case a blank gray screen appears with the Sugar bar at top:
>> _______________________________________
>> import csndsugui
>> from sugar.activity import activity
>>
>> class OurMusic(activity.Activity):
>>
>> def __init__(self, handle):
>>
>>   activity.Activity.__init__(self, handle)
>>
>>   red = (0xFFFF, 0, 0)
>>   bg = (0xFFFF, 0xFFFF, 0xFFFF)
>>
>>   win = csndsugui.CsoundGUI(self, bg)
>> _______________________________________
>> I'd appreciate any insight and options you could offer.
>>
>> TIA -
>>
>> Art Hunkins
>>
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports - New Free Runtime and 30 Day Trial
>> Check out the new simplified licensing option that enables unlimited
>> royalty-free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net