Hey folks,

I'm hoping things will quieten down for me over the next week or so (I've been 
saying that for over a hear now). I'm dusting off an old prototype I had from 
early this year.

I'm wanting to convert a UI I did for a low powered SetTopBox PC project some 
years ago. It was written using the Enlightenment Foundation Libraries (Evas, 
Edje etc.). It's in use on about 1000 set top boxes across and we're looking to 
take it to the next iteration with some new hardware and software. 

Our new hardware is N270 Atom with 945GME graphics. I'm porting the OS to a 
respin of Fedora 12/13 and will have clutter 1.2 available.

So, questions.

1) I'm using my netbook running MeeGo 1.0 to prototype this. I've started with 
a simple app that uses a json script to describe the stage. But, I've got a 
problem with the layout. I want the app to run fullscreen. In the code I'm 
setting the stage to fullscreen, which works. But when I query the size of the 
stage actor afterwards, it's reporting back the original size, not the new 
size. As a result I can't correctly position some other elements of the UI.

e.g.

clutter_stage_set_fullscreen (CLUTTER_STAGE (stage), TRUE);
clutter_actor_get_size (stage, &width, &height);
clutter_actor_set_size (backgroundPic, width, height);

instead of setting width and height to 1024 and 600 as per the screen, it's 
coming back as 640 and 480

I originally wrote this on Moblin 2.1 and it worked fine, but since MeeGo 1.0, 
it hasn't. I can only assume I'm doing it the wrong way.

2) Part of the UI I've got at the moment is a menu selector graphic that slides 
up and down the menu based on IR input. Pressing the Up/Down nav button on the 
remove slides the selector Up/Down to the next item. Part of the animation 
sequence, aside from the graphic moving, is that the Text for the menu item 
gets a soft glow. I'm looking for some pointers to clutter api techniques I 
could read up on for something similar. 

Thanks in advance.
--
Glen Gray
<[email protected]>

_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to