Now i can change the default color for MxprogressBar, mx_style_load_from_file (mx_style_get_default(), "style/default.css", NULL); clutter_actor_set_size (progress, 190, 20); progress = mx_progress_bar_new(); mx_stylable_set_style (MX_STYLABLE (progress), mx_style_get_default());
Replacing the default style for my own style! But my question now is, can i change the color of the bar online? I want to change this color when the progress is on +50%, the default color now is RED and i want to change it to GREEN when this take 51%. Can i do it on Mx Clutter? 2010/4/19 Emilio Fernandes <emili...@gmail.com> > Yes, i already replace the existing image and no efects. > I wanna know a tutorial or some documentation about the css file. > > thxs! > > 2010/4/19 Thomas Wood <thomas.w...@intel.com> > > On Fri, 2010-04-16 at 19:07 +0100, Emilio Fernandes wrote: >> > Hi all, >> > >> > i'm building a interface using clutter , mx and C for test the clutter >> > "power". >> > But now i need to change the MxProgressBar style, i need a red bar >> insted >> > the default blue bar. >> > I already try to change a lot of things on style/default.css for >> progressbar >> > but no efect. I only changed the bar background >> > but the blue color i can't change. I created a directory called style/ >> on my >> > project main directory and put the images inside it, with >> > my own default.css. But i cant see any changes when i try to modify the >> bar, >> > just can change the backgroud. >> > Is there some tutorial or documentation for Mx css style? >> > >> > This is my CSS file ProgressBar Section; >> > The progress-bar-background i can change and modify all properties like >> > padding and size and the image. But the bar still blue. >> > >> > MxProgressBar { >> > padding: 0 0 3 0; >> > border-image: url('progress-bar-background.png') 3 3 6 3; >> > } >> > >> > MxProgressBar MxProgressBarFill { >> > border-image: url('progress-bar-bar-red.png') 3; >> > height: 16; >> > } >> > >> > Sorry my bad english! >> >> >> Hi, >> >> Did you try just replacing the existing image from the default style? >> >> It sounds like there might be a bug, so the best thing to do is file it >> in bugzilla: http://bugzilla.meego.com >> >> Regards, >> >> Thomas >> >> --------------------------------------------------------------------- >> Intel Corporation (UK) Limited >> Registered No. 1134945 (England) >> Registered Office: Pipers Way, Swindon SN3 1RJ >> VAT No: 860 2173 47 >> >> This e-mail and any attachments may contain confidential material for >> the sole use of the intended recipient(s). Any review or distribution >> by others is strictly prohibited. If you are not the intended >> recipient, please contact the sender and delete all copies. >> > > > > -- > Emilio Seidel Fernandes > Tec. Desenvolvimento de Sistemas Distribuídos - UTFPR Curitiba > -- Emilio Seidel Fernandes Tec. Desenvolvimento de Sistemas Distribuídos - UTFPR Curitiba _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists