Posts: 137
Joined: Dec 2003
Reputation:
0
erpi99
Senior Member
Posts: 137
when the slide is magnified, there is a big blue horizontal bar close to top of the sceen. i know it is used to make the magnification rate and coordinate more readable in the blue backgroud. however it has two problems:
1) it make cause burnin in the rear projection hdtv;
2) the top of the picture is covered.
can that be fixed?
thanks,
Posts: 1,899
Joined: Sep 2003
Reputation:
0
isn't that bar editable in the skin (xml) files?
well i guess it is, but not sure.
read the xbmc
online-manual,
faq and
search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the
forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Posts: 137
Joined: Dec 2003
Reputation:
0
erpi99
Senior Member
Posts: 137
i read the source code. it does not seem to be related to the skin. johnathan use three lines of labels to display the magnification number and co-ordination. i guess the onmessage() function call creates the blue bar.
i paste that part source code here:
#define label_row1 10
#define label_row2 11
#define label_row2_extra 12
........
if (m_izoomfactor > 1)
{
{
cguimessage msg(gui_msg_label_set, getid(), label_row1);
msg.setlabel("");
onmessage(msg);
}
{
cguimessage msg(gui_msg_label_set, getid(), label_row2);
msg.setlabel("");
onmessage(msg);
}
cstdstring strzoominfo;
strzoominfo.format("%ix (%i,%i)", m_izoomfactor, m_izoomleft, m_izoomtop);
{
cguimessage msg(gui_msg_label_set, getid(), label_row2_extra);
msg.setlabel(strzoominfo);
onmessage(msg);
}
}
Posts: 26,215
Joined: Oct 2003
Reputation:
187
hi erpi99,
as hullebulle states, this is editable via the skin files. see slideshow.xml in the skin folder of your choice. you should be able to change both the texture used (you can probably even leave it blank for none - if that doesn't work, then completely removing the control should get rid of it.). you can also alter it's position, as well as the position of the text etc. etc.
note that a transparency won't work, unfortunately, as we are using hardware overlays to get the pictures scaling nicely (with no performance hit) but you can't have transparency over an overlay.
please test the slideshow/pictures of the latest cvs source code if you have time to see if the height issues in 1080i are fixed. you can see the code to check for 1080i in the render() routine.
cheers,
jonathan
Posts: 137
Joined: Dec 2003
Reputation:
0
erpi99
Senior Member
Posts: 137
johnathan,
the latest build i can find is 2003-12-11. the 1080i problem was still there. when is the next build? i will check it out as soon as i get it. i did see the change and comments you put in the source code that fixes or will fix the problem.
Posts: 137
Joined: Dec 2003
Reputation:
0
erpi99
Senior Member
Posts: 137
johnathan,
problem solved. thanks a lot. the blue bar is gone after i removed the control in slideshow.xml. leaving the texture blank hangs the xbox.
by the way, do you have the plan to implement a zoom or stretch option in slide show. all pictures are 4:3. they leave two black bars at the side of 16:9 hdtv. it will be nice to fill the whole screen to avoid burnin for rear projections. loosing a bit of picture at top and bottom is not a concern.
thanks,
Posts: 26,215
Joined: Oct 2003
Reputation:
187
great that it works.
i'll look into the crash caused if the texture is missing.
i was thinking of altering the zoom settings so that it showed the scaled amount of the picture - ie 100% is see the whole picture etc. we could have a setting to control the default size: ie. full width, full height or full picture or whatever. will have a think about this a bit more. the zoom code is real easy to change though - it just uses a zoom factor which is incremented (as an integer). that can easily be changed to a float though to give different scalings.
cheers,
jonathan