Can we get Container.Viewmode(offest) ?
#1
Would it be possible to add the ability to get Container.Viewmode(offset).

I want to load the next and previous viewmode names and images.
[Image: sigpic_51354_dedd3c5dac45dcc8f6b4ccc9d9ad3429.png]
To learn more, click here.
Reply
#2
Can this be done?
[Image: sigpic_51354_dedd3c5dac45dcc8f6b4ccc9d9ad3429.png]
To learn more, click here.
Reply
#3
Probably, but not now. A patch would be welcome - see GUIViewControl.cpp
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
Reply
#4
jmarshall Wrote:Probably, but not now. A patch would be welcome - see GUIViewControl.cpp

Please explain further...
[Image: sigpic_51354_dedd3c5dac45dcc8f6b4ccc9d9ad3429.png]
To learn more, click here.
Reply
#5
He is saying feel free to break out your c++ coding skills and edit GUIViewControl.cpp to add the stuff you need yourself and then send a patch with the changed code back to Team XBMC so it can be put into future versions and made available to all skins to use
Reply
#6
It'd be useful if you give reasons why you'd want to do this, so that we can see whether it's something useful in general, or just a nice to have because of the way you designed your skin that differs from other skins due to asthetics.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
Reply
#7
jmarshall Wrote:It'd be useful if you give reasons why you'd want to do this, so that we can see whether it's something useful in general, or just a nice to have because of the way you designed your skin that differs from other skins due to asthetics.

I think it could be used in the same way DJH used when Aeon was first released. Remember you hit Viewtype the you taken to a screen of 4 pics:
Up- Showcase
Down - List
Left - Multiplex
Right - Coverflow


Something like that and there was greyish images to go into each section, actually as I type if he did it way back then you should be able to do it now. He probably used buttons using SetFocus(), something along those lines....
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#8
Same way Mediastream did it - they had lots of code so that they knew each viewmode and just made the buttons go that that one viewmode.

As I say, I'm not opposed, just don't see "because we can" as a valid reason for doing things Smile

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
Reply
#9
I essentially want to do what Mcborzu mentioned. Have a list of different views and have the user be able to look at the icons that represent each view.
[Image: sigpic_51354_dedd3c5dac45dcc8f6b4ccc9d9ad3429.png]
To learn more, click here.
Reply
#10
Then hard code it, should be pretty easy I think... and not that much code.
[Image: xp1080-21.png]
Reply
#11
Container.SetViewMode(id)
Reply
#12
Hitcher Wrote:Container.SetViewMode(id)

Thanks Hitcher. I made the buttons to change views. Big Grin

Image

Image
[Image: sigpic_51354_dedd3c5dac45dcc8f6b4ccc9d9ad3429.png]
To learn more, click here.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Can we get Container.Viewmode(offest) ?00