[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.
Unfortunately, components ("WidgetControls" 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".
Having said that, I do welcome others to invent new WidgetControls that will be needed.
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]
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?
You should find Style.cs in that same "controls" directory on CVS. Also, you'll want to pick up Enumerations.cs from one directory up (should be the "gbpvrwidgets" 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.
so the only missing files i need are:
- Enumerations.cs
- Style.cs
(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 ).
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).