![]() |
|
||||
|
BeyondMedia SDK Documents
Hello folks,
The below link will point you to the first revision of the BeyondMedia SDK. It contains the initial documents / help files neccessary for creating plugins and skins within BeyondMedia. The installer also includes a packager for automating the process of creating .bmplugin and .bmskin files! Please note this is a first revision! Over the next few weeks additional samples and tutorials will be added. If your interested in contributing a short tutorial please contact me directly through PM. We are particular looking for short examples that explain each widget (ie: textwindow, list, grid, etc.). It does not need to be the complete code, just the focused objective. For example, this could be the example code for textlist. The INITIAL SDK is available here: http://www.snapstream.com/ssdn/submi...staller_V1.exe If you are not strongly familar with VS.NET make sure you read: BM Plugins->Getting Started->Starting a Plugin From Scratch If you have questions, or comments, about the SDK itself please reply here. If you have questions about coding please start a new thread. Thanks, -Brett
__________________
A Sample of My Beyond Media Projects: To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Browse and play your ROMS, Arcade Games, and PC Games within BM! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Add MSN Messenger to BM. Includes MSN notifications over any module, and a chat client! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Add PIN protection to any module in BM, including the settings! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Brings the BTV Recording Library into BM with full show details. |
|
||||
|
Re: NEW: BeyondMedia SDK Documents
Quote:
-Brett
__________________
A Sample of My Beyond Media Projects: To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Browse and play your ROMS, Arcade Games, and PC Games within BM! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Add MSN Messenger to BM. Includes MSN notifications over any module, and a chat client! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Add PIN protection to any module in BM, including the settings! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Brings the BTV Recording Library into BM with full show details. |
|
|||
|
Re: BeyondMedia SDK Documents
Are there any code examples on SnapStream BeyondMedia Widgets, Classes etc comming up?
I'm currently trying to create a (vertical) TexttList of (horizontal) TextLists of TextListItems. I want the rows having equal height, but it must be possible to have listitems (within each row) of arbitrary width. This results effectively in a "gant chart" -like overview, often used to display TV Guides on screen. (each row corresponds to a channel, each listitem within the row to a show). Is it possible to create this kind of custom widget and position it in the plugins.xml? I can create and position individual TextListItems, but I don't know at design-time how many Listitems I will have (And what their positions will be). Is there anyone who knows how to create custom Widgets out of standard SnapStream Widgets? Thanx for answering ![]() PascalNL |
|
|||
|
Re: BeyondMedia SDK Documents
Yes its possible. I'm just really swamped with work at the moment. Might not be until the weekend that I can get an example put together.
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
|
|||
|
Re: BeyondMedia SDK Documents
I'm attaching a quick and dirty example of a new list item. This list item uses multiple TextButtons to display information in line.
It should provide a decent idea on where to start, but there are a few issues with it. Mainly focus/keyboard related items. These will most likely require a new List that would allow the list items to control focus/key events instead of managing everything itself. This should be a simple extension of a TextList (or BaseList if you really want, but I'd go TextList) and overriding of only a few specific functions.
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
|
|||
|
Re: BeyondMedia SDK Documents
I'm generally available to answer any and all questions.
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
|
|||
|
Re: BeyondMedia SDK Documents
Quote:
I have a TextPane that gets populated using the Command Interface, and what I want to do is when the list no longer fits within the window (i.e the scroll gets activated) I want to make the list slowly scroll to the bottom, Ive tried incrementing the scrollbar.value but this does not seem to work. Any advise would be appreciated. Cheers Mick
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Allows viewing/deleting of POP, IMAP and Hotmail based mail. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Allows viewing status of all tuners in alll BTV servers from BM Main Menu _______________ BTV Server (BM 1.0 + BTV 3.52 2 PVR 250 tuners) Asus MB | XP Pro SP2 | P4 2.8 | FX5200 128Mb | 512 Mb PC3200 | RAID 5 4 x 250Gb SATA drives | CM Water cooled |
|
|||
|
Re: BeyondMedia SDK Documents
Quote:
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
|
|||
|
Re: BeyondMedia SDK Documents
I was looking for smooth scrolling but if thats not possible then anything will be better than nothing!
Cheers Mick
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Allows viewing/deleting of POP, IMAP and Hotmail based mail. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Allows viewing status of all tuners in alll BTV servers from BM Main Menu _______________ BTV Server (BM 1.0 + BTV 3.52 2 PVR 250 tuners) Asus MB | XP Pro SP2 | P4 2.8 | FX5200 128Mb | 512 Mb PC3200 | RAID 5 4 x 250Gb SATA drives | CM Water cooled |
|
|||
|
Re: BeyondMedia SDK Documents
Ok, vital code to all of this:
Need to declare this somewhere: Code:
public delegate void ScrollDelegate( ); Code:
private System.Timers.Timer _scrollTimer; Code:
_scrollTimer = new System.Timers.Timer(500); _scrollTimer.AutoReset = true; _scrollTimer.Elapsed +=new System.Timers.ElapsedEventHandler(_scrollTimer_Elapsed); At the very end of "AddText" Code:
_scrollTimer.Start(); And now the part that actually does work: Code:
private void _scrollTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) {
System.Windows.Forms.Form f = (System.Windows.Forms.Form)MainForm;
ScrollDelegate sDel = null;
sDel += new ScrollDelegate( ScrollUpdateWorker );
f.BeginInvoke( sDel, null );
}
private void ScrollUpdateWorker() {
//_synopsis.OnMouseWheel( this, new System.Windows.Forms.MouseEventArgs(System.Windows.Forms.MouseButtons.None, 0, 1, 1, -5) );
long delta = Math.Min( 4, _synopsis.ScrollBar.Maximum - _synopsis.ScrollBar.Value );
_synopsis.ScrollBar.Value += delta;
if( _synopsis.ScrollBar.Value >= _synopsis.ScrollBar.Maximum ) {
_scrollTimer.Stop();
}
}
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
|
|||
|
Re: BeyondMedia SDK Documents
Kirsat,
Absolutely wicked, many thanks, I'll get this in to my code ASAP and re-release it. Regards Mick
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Allows viewing/deleting of POP, IMAP and Hotmail based mail. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Allows viewing status of all tuners in alll BTV servers from BM Main Menu _______________ BTV Server (BM 1.0 + BTV 3.52 2 PVR 250 tuners) Asus MB | XP Pro SP2 | P4 2.8 | FX5200 128Mb | 512 Mb PC3200 | RAID 5 4 x 250Gb SATA drives | CM Water cooled |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BeyondMedia translation | Fidoboy | Development Discussion | 1 | 05-09-2006 09:34 AM |
| BTV and BeyondMedia merge? | bullgates | Beyond TV and Beyond TV Link | 1 | 04-18-2006 08:39 PM |
| The documents... | Brett | Development Discussion | 20 | 01-12-2005 12:31 PM |
| BeyondTV 3.5 SDK Documents | Zack | Development Discussion | 4 | 11-06-2004 10:09 PM |