NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 79 80 81 82 83 … 93 Next »
GBPVR Widget Library

 
  • 0 Vote(s) - 0 Average
GBPVR Widget Library
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#11
2004-11-21, 03:35 PM
I put in the request for a new SourceForge project, so by next week, there should be a collaboration environment in place for those interested in this side project, plus whatever else SourceForge provides.

Here's the list of widgets that I have already gotten a good start on:

IWidgetControl: Defines the interface that widget controls must implement

BaseWidgetControl: A basic realization of IWidgetControl.  Provides functionality common to all other widget controls, like screen layout (size and position), Border style color, Background color, etc.  WidgetControls inherit from this class.

Button: Essentially a Frame and a Caption with a click event

Frame: Draws a border and fills with a color.  Border styles created so far include Square, Rounded, Borderless, Top & Bottom only, and Left & Right only.

Label: Draws text on the screen

Listbox: A Frame containing a list of strings, allowing the user to scroll through the list to pick a value.  Can optionally display a VScrollBar

Picture: Draws an image to the screen.  Has the ability to keep the aspect ratio to prevent stretching.

VScrollBar: Provides feedback as to the window position within a list moreso than a method of scrolling.


I plan to have a container object as well that will really manage control focus and event handling between the controls and the plugin.  This object will also hopefully provide a lot of the skinning functionality by allowing layout and display properties to be externalized in the skin files, and the container object will refer to those files when initializing the controls.  Not too much different than how it is today, but should be a little more object oriented.
JasonF
fini
Offline

Member

Posts: 143
Threads: 22
Joined: Sep 2004
#12
2004-11-22, 09:20 PM
a standard/default skin that each plugin could refer to as previously mentioned would be brilliant.

I don't want to rile the plugin community, but I have neither the time nor the inclination to install every single plugin just so I can bloat my skin up with compatibility for every single plugin... which is what I'm currently expected to do if I want the user to have a uniform experience.

fini
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#13
2004-11-22, 09:45 PM
I have a keyboard widget that I will submit to the project.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#14
2004-12-15, 02:47 AM
In the interest of moving forward, I have assembled a pre-alpha preview release of some of the source code for the Widget Library (specifically to demonstrate the controls).

The SourceForge project home for the entire library is found at:

http://sourceforge.net/projects/gbpvrwidgets/

The preview release is in the files section.  Besides the current source code, there's also a windows app that hosts an instance of each control, and displays a PropertyGrid control to allow you to view/edit the properties for any selected control (select controls by clicking on them).

Please keep in mind that this is definitely work in progress, and some things may not work (i.e., I noticed that the ShowScrollbar property of the listbox control does nothing).  
[Image: rock.gif]
JasonF
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#15
2004-12-15, 07:21 AM
ill clean up some of my code and supply a file list widget, it will take an array of FileDetails (just a class i wrote, for file information, location, type, image etc).

this is a really good idea i think. (the widget library i mean)
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#16
2005-01-14, 11:43 PM
How is the development going?
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#17
2005-01-15, 04:57 AM
Unfortunately, slower than ever expected. Still a one-man operation at this point, and my real-life workload had more than doubled since the project's inception, leaving little time at the end of the day to work on it.
JasonF
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#18
2005-01-15, 05:14 AM
man i can tell you right now if i new code i would do it for you, but i am new at learning c# and new to gbpvr. Thats why i am so eagered to help create a project that would help people like me learn how to help improve this program?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  TitanTv Remote Schedule For GBPVR UncleJohnsBand 51 34,623 2015-08-20, 05:11 PM
Last Post: sub
  Video Library Fanart Transparency tieke 7 4,086 2013-01-09, 08:23 AM
Last Post: tieke
  Roku & GBPVR pvruser 16 11,687 2011-10-16, 08:31 PM
Last Post: pvruser
  (Yet Another) Rename Helper script for GBPVR & NPVR pvruser 2 2,802 2011-07-22, 01:27 AM
Last Post: pvruser
  Live GBPVR CD/DVD/Thumb drive :D pBS 101 30,046 2010-01-03, 06:22 AM
Last Post: pBS
  Library Controls - which to use? McBainUK 4 2,329 2009-07-22, 01:36 AM
Last Post: reven
  some help on basic gbpvr plugin code Etacovda 12 4,868 2009-06-14, 08:24 PM
Last Post: Etacovda
  Source for plugin similiar to Video Library ishmale423 2 1,950 2009-05-01, 04:49 PM
Last Post: jasonbs10
  Video Library clone jasonbs10 44 13,117 2009-04-08, 04:58 PM
Last Post: jasonbs10
  Linking gbpvr.db3 to Access 2003: get readonly tables Khurram 5 4,027 2008-09-11, 08:35 AM
Last Post: Khurram

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

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

Linear Mode
Threaded Mode