NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 75 76 77 78 79 … 93 Next »
splitting a long string into multiple strings

 
  • 0 Vote(s) - 0 Average
splitting a long string into multiple strings
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#11
2005-03-09, 01:05 PM
thanks jasonf im pretty sure this will cover what i need, ill play around with it tomorrow.
jrockintuitive
Offline

Senior Member

Posts: 292
Threads: 19
Joined: Dec 2004
#12
2005-03-09, 04:18 PM
jasonf, good work. Reven, if the code is there I would use that. It's bassically the same thing as I was describing.

I'm looking forward to the widget library.
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#13
2005-03-09, 07:28 PM
[b Wrote:Quote[/b] (jrockintuitive @ Mar. 09 2005,11:18)]I'm looking forward to the widget library.
Me too! Sorry for the vaporware... It's hard to wrap up loose ends in order to make a release when you only have 1/2 hour free time every day.... ;-)
JasonF
jrockintuitive
Offline

Senior Member

Posts: 292
Threads: 19
Joined: Dec 2004
#14
2005-03-09, 07:58 PM
I know what you mean with time.

When I finish off (I know I'll never truley be done) Guide2J and CDKScheduler, I can help out with the library. If you like.
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#15
2005-03-09, 08:49 PM
[b Wrote:Quote[/b] (jrockintuitive @ Mar. 09 2005,14:58)]When I finish off (I know I'll never truley be done) Guide2J and CDKScheduler, I can help out with the library. If you like.
Sure!  There's been an open invitation to anyone who wants to assist, but I'll take this opportunity to reiterate that invite.  

The open source project is hosted at SourceForge, so developers will need SF accounts.  Just PM me with your SF account name, and I'll add you to the member list.  

I haven't worked out how the process for having multiple people developing at the same time, though.  I believe that MediaPortal, for example, generally has a small core of people who are developers (i.e., have write access to CVS).  Anyone outside of this core still has anonymous access to grab the project files from CVS, but they need to submit changes for consideration to one of the core team members to be updated into the repository.  Something like this would probably work, but I won't worry about that unless there's all of a sudden an explosion in the number of developers.
JasonF
jrockintuitive
Offline

Senior Member

Posts: 292
Threads: 19
Joined: Dec 2004
#16
2005-03-10, 01:38 AM
Why don't some of us take responsiblity for a component.

Reven, if you need the scrollable text box for your plugin, would you be willing take responsibility on finishing this off for the library.

I need a scrollable list box. And I will finish that off.

jasonf, if you can take responsibility to organize our efforts, then I think we can have something quickly.

I think these should be classes that we can compile within your plugins. Otherwise we could get into several compatibility issues.

What do you guys think.
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#17
2005-03-10, 02:04 AM
Unfortunately, components ("WidgetControls&quotWink themselves are not really the problem. The part that's taking the longest is really the base framework that I'm building--the whole framework that provides skinning for widgets and wires widgets up to one another (via a "WidgetForm&quotWink.

Having said that, I do welcome others to invent new WidgetControls that will be needed.
JasonF
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#18
2005-03-10, 03:41 AM
ok after downloading nearly every control i keep getting these compile errors:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">C:\xmltv\My Videos\Widgets\ControlFactory.cs(15): The type or namespace name 'Style' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\BaseWidgetControl.cs(16): The type or namespace name 'ControlState' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\Frame.cs(143): The type or namespace name 'FrameBorders' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\ScrollingTextBox.cs(388): The type or namespace name 'FrameBorders' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\IBorderedControl.cs(31): The type or namespace name 'FrameBorders' does not exist in the class or namespace 'GBPVR.Widgets' (are you missing an assembly reference?)
C:\xmltv\My Videos\Widgets\Frame.cs(137): The type or namespace name 'FrameStyle' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\IBorderedControl.cs(26): The type or namespace name 'FrameStyle' does not exist in the class or namespace 'GBPVR.Widgets' (are you missing an assembly reference?)
C:\xmltv\My Videos\Widgets\ScrollingTextBox.cs(376): The type or namespace name 'FrameStyle' does not exist in the class or namespace 'GBPVR.Widgets' (are you missing an assembly reference?)
C:\xmltv\My Videos\Widgets\ScrollingTextBox.cs(28): The type or namespace name 'ScrollDirection' does not exist in the class or namespace 'GBPVR.Widgets' (are you missing an assembly reference?)
C:\xmltv\My Videos\Widgets\ScrollingTextBox.cs(45): The type or namespace name 'ScrollDirection' does not exist in the class or namespace 'GBPVR.Widgets' (are you missing an assembly reference?)
C:\xmltv\My Videos\Widgets\BaseWidgetControl.cs(48): The type or namespace name 'Style' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\BaseWidgetControl.cs(53): The type or namespace name 'Style' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\IWidgetControl.cs(24): The type or namespace name 'Style' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\ControlFactory.cs(88): The type or namespace name 'Style' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\ControlFactory.cs(80): The type or namespace name 'Style' could not be found (are you missing a using directive or an assembly reference?)
C:\xmltv\My Videos\Widgets\IWidgetContainer.cs(11): The type or namespace name 'Style' could not be found (are you missing a using directive or an assembly reference?)
[/QUOTE]


i have these source files
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
C:\xmltv\My Videos\Widgets\BaseWidgetControl.cs
C:\xmltv\My Videos\Widgets\ControlFactory.cs
C:\xmltv\My Videos\Widgets\Frame.cs
C:\xmltv\My Videos\Widgets\HScrollBar.cs
C:\xmltv\My Videos\Widgets\IBorderedControl.cs
C:\xmltv\My Videos\Widgets\ITextControl.cs
C:\xmltv\My Videos\Widgets\IUserInputControl.cs
C:\xmltv\My Videos\Widgets\IWidgetContainer.cs
C:\xmltv\My Videos\Widgets\IWidgetControl.cs
C:\xmltv\My Videos\Widgets\ScrollingTextBox.cs
C:\xmltv\My Videos\Widgets\VScrollBar.cs
[/QUOTE]

any chances youve already made this into a dll, that i could just reference?

also does the textBox.ScreenArea define where it will be drawn on the screen?
these are the things im am setting
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">textBox = new ScrollingTextBox();
textBox.BorderColorOpacity = 255;
textBox.Font = skinHelper.getNamedFont(node.Attributes.GetNamedItem("textStyle").InnerText);
textBox.FontColor = Color.White;
textBox.ShowScrollBar = true;
textBox.UseShadowing = true;
textBox.ScreenArea =  CommonUtilities.Bounds(skinHelper.getNamedFont(node.Attributes.GetNamedItem("textStyle").InnerText));.[/QUOTE]
ill set the textBox.text later. is that all i need to set?



jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#19
2005-03-10, 12:50 PM
You should find Style.cs in that same &quot;controls&quot; directory on CVS. Also, you'll want to pick up Enumerations.cs from one directory up (should be the &quot;gbpvrwidgets&quot; directory).

I don't have a DLL that I can give out because of the Work in Progress on the other parts, but if and when you get the controls to compile, they should be directly usable by a plugin. But, don't change the namespaces so that you can use my DLL in the future instead of including the source code in your project.

As for usage, you pretty much have it. Once you include the Enumerations, you'll be able to set a scroll direction (i.e., horizontal or vertical) as well as a BorderStyle (basically, square or rounded). You should try to set font color from the skin (you might get a Brush from the skin helper, but should be able to extract the color from it).

It will be easier to work with once you can get it to compile.
JasonF
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#20
2005-03-10, 01:01 PM
so the only missing files i need are:
- Enumerations.cs
- Style.cs
[Image: rock.gif] (just to be sure, i need to get this done, have a few other bugs i need to fix, and well currently it doesnt compile [Image: tounge.gif]).

sourceforge seems down right now, ill try it in the morning (i just threw the source code in with the myvideos source, just in a sub folders, cant be bothered creating a dll myself).
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  is there a service?method which returns listings for multiple channels? reven 16 7,276 2022-04-11, 04:30 PM
Last Post: mandai
  Replace characters in strings bgowland 5 2,553 2013-07-06, 03:42 AM
Last Post: mvallevand
  Multiple genres in npvr.db3 bgowland 5 2,884 2013-04-16, 09:53 PM
Last Post: ACTCMS
  Multiple lists like in Search Screen cncb 7 3,373 2012-08-08, 09:11 PM
Last Post: cncb
  Multiple views for a single list imilne 18 5,752 2011-04-22, 11:06 PM
Last Post: sub
  Run Multiple File Conversions On Your 4 Core -Burn Your Processor luttrell1962 12 4,768 2010-03-25, 07:33 AM
Last Post: luttrell1962
  Multiple Instance Conversion Program luttrell1962 0 1,161 2010-02-24, 08:16 PM
Last Post: luttrell1962
  Tunging string question. whurlston 3 1,883 2009-01-02, 04:51 PM
Last Post: whurlston
  multiple instances of a plugin idkpmiller 8 2,854 2008-09-06, 01:48 AM
Last Post: psycik
  How to draw a string in PVRX2? alibert 8 2,792 2007-07-21, 04:41 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