NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 27 28 29 30 31 … 93 Next »
1.x plugin development

 
  • 0 Vote(s) - 0 Average
1.x plugin development
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#41
2007-08-04, 04:55 AM
hey sub any chance of adding more advanced buttons to the framework? like left/right buttons, radio/checkbox buttons and an ascending/decending button. mediaportal/xbmc/pretty sure mce also do this.

im just wondering if that would break the handleCommand(string Command) interface method...
7ore
Offline

Senior Member

Posts: 598
Threads: 68
Joined: Mar 2006
#42
2007-08-04, 05:12 AM
This thread should be sticky, or the main content should be copied to the wiki.
And Sub. can't you edit you're first post with a link to the correct dll för helloWorld?

It's no problem as long the thread is as active and rather short as now but as time goes it will be harder to find the goodies.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#43
2007-08-04, 05:31 AM
reven Wrote:hey sub any chance of adding more advanced buttons to the framework? like left/right buttons, radio/checkbox buttons and an ascending/decending button. mediaportal/xbmc/pretty sure mce also do this.
I will be adding more controls over time. At the moment we have the UiList, UiSimpleList, UiStatic and UiButton. These were only ones I required to get PVRX2 this far.

Dont count on me adding any new ones right now though - I'm pretty bogged down at the moment. Its been a very busy time getting PVRX2 up and running.

Quote:im just wondering if that would break the handleCommand(string Command) interface method...
There is no worries there. The handleCommand() method is just a feature of the current base class rather than the underlying framework. If I was to create any other base classes in future for encapsulating other common UI screen types, it wouldnt be constrained by the methods. It could have the method called whatever, taking whatever paramaters.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#44
2007-08-04, 05:35 AM
7ore Wrote:And Sub. can't you edit you're first post with a link to the correct dll för helloWorld?

It's no problem as long the thread is as active and rather short as now but as time goes it will be harder to find the goodies.
Already done - but good suggestion.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#45
2007-08-04, 05:43 AM
reven Wrote:hey sub any chance of adding more advanced buttons to the framework? like left/right buttons
Its not the same quite the same thing, but in the meantime, you can at least change the text on the buttons, for example like if you want to toggle between views and show updated text on the button, ie "View: Details" "View: Icon" "View: Filmstrip" etc.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#46
2007-08-04, 06:18 AM
sub Wrote:Its not the same quite the same thing, but in the meantime, you can at least change the text on the buttons, for example like if you want to toggle between views and show updated text on the button, ie "View: Details" "View: Icon" "View: Filmstrip" etc.

yeah i was just thinking if i should use the existing list + menu, or write my own.... basically all i need is the list (views list, icons, big icons, details, preview) and menu (check buttons, left/right, normal). and the ability to not display a list or not display the menu under certain situations.

using the standard menu + lists has some advantages, constant look and feel, less code i have to write, if you add animations in the future my plugin would also get these. but has the cons of less control, and more limited functionality. so errr what to do what to do......
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#47
2007-08-04, 07:00 AM
reven Wrote:yeah i was just thinking if i should use the existing list + menu, or write my own.... basically all i need is the list (views list, icons, big icons, details, preview) and menu (check buttons, left/right, normal). and the ability to not display a list or not display the menu under certain situations.

using the standard menu + lists has some advantages, constant look and feel, less code i have to write, if you add animations in the future my plugin would also get these. but has the cons of less control, and more limited functionality. so errr what to do what to do......

How are you going to look at doing the filmstrip /icon view?? I'd like to provide that sort of view with the album art on my music library, and have started playing with the tile animation sample.

But if there are already any helper methods they'd be apprieciated.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#48
2007-08-04, 07:13 AM
psycik Wrote:How are you going to look at doing the filmstrip /icon view?? I'd like to provide that sort of view with the album art on my music library
The UiList class already supports these views, and you can see them in action in the Video/Music/Photo Library screen (and the skin.xml files that go with these). The cut back UiSimpleList doesnt not support these multiple views.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#49
2007-08-04, 07:15 AM
psycik Wrote:How are you going to look at doing the filmstrip /icon view?? I'd like to provide that sort of view with the album art on my music library, and have started playing with the tile animation sample.

But if there are already any helper methods they'd be apprieciated.

ive got a crap load of code lying around that does the itemlist with all those views. just would need to adjust it to use the gbpvr way of rendering. and all those views have animations. just would need to clip the viewport otherwise the animations will look crap (overlapping the menus etc) and not sure if gbpvr will do this......
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#50
2007-08-04, 08:06 AM
sub Wrote:The UiList class already supports these views, and you can see them in action in the Video/Music/Photo Library screen (and the skin.xml files that go with these). The cut back UiSimpleList doesnt not support these multiple views.

Thanks, had a look at the UiList class, that makes life easier.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 … 3 4 5 6 7 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,895 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,394 2020-11-14, 08:01 PM
Last Post: sub
  Test/Development environment for npvr.db3 scJohn 10 4,363 2020-09-04, 09:14 PM
Last Post: scJohn
  VIdeo playback from plugin mvallevand 5 3,492 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,922 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,788 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,141 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,966 2013-03-12, 06:48 AM
Last Post: psycik
  Integrated Development Environment (IDE) for plugins osx-addict 5 2,772 2012-10-18, 08:35 PM
Last Post: osx-addict
  Plugin problems with started from the command line mvallevand 11 5,021 2012-08-12, 07:56 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode