Difference between revisions of "Orbiter Programmer's Guide"

From LinuxMCE
Jump to: navigation, search
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<p>The Orbiter is really a [[LinuxMCE DCE Devices]] just like any other.  The main class, Orbiter, is a normal **DCE command** implementation.  However, the Orbiter class was written so that it has no platform-specific functions, such as graphics and sound.  It handles the basic logic, and calls pure virtual functions that derived classes must implement to handle the platform-specific commands.  OrbiterSDL is derived from Orbiter and implements these functions using the SDL library, such as DrawRectangle, DrawImage, PlaySound, etc.  You will see that most of the code and virtually all of the logic is contained in the base Orbiter class.  Therefore, it is a fairly easy task to make a new version of Orbiter for a platform other than SDL, perhaps one that uses Windows SDK calls, or another image library.</p>
+
{{versioninfo}}
 +
[[Category: Programmer's Guide]]
 +
[[Category: Orbiters]]
 +
 
 +
<p>The Orbiter is really a [[LinuxMCE DCE Devices|LinuxMCE DCE Device]] just like any other.  The main class, Orbiter, is a normal **DCE command** implementation.  However, the Orbiter class was written so that it has no platform-specific functions, such as graphics and sound.  It handles the basic logic, and calls pure virtual functions that derived classes must implement to handle the platform-specific commands.  OrbiterSDL is derived from Orbiter and implements these functions using the SDL library, such as DrawRectangle, DrawImage, PlaySound, etc.  You will see that most of the code and virtually all of the logic is contained in the base Orbiter class.  Therefore, it is a fairly easy task to make a new version of Orbiter for a platform other than SDL, perhaps one that uses Windows SDK calls, or another image library.</p>
 
<p>Orbiter devices are also embedded within [[Bluetooth Dongle]] for details.</p>
 
<p>Orbiter devices are also embedded within [[Bluetooth Dongle]] for details.</p>
<p>Use the [[LinuxMCE Admin Website]] to build an entirely new user interface of your own, or change LinuxMCE's stock UI.</p>
+
<p>Use the [[Installing_HADesigner|HADesigner]] or  [[QuickDesigner]] to build an entirely new user interface of your own, or change LinuxMCE's stock UI.</p>

Latest revision as of 15:55, 5 May 2010

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

The Orbiter is really a LinuxMCE DCE Device just like any other. The main class, Orbiter, is a normal **DCE command** implementation. However, the Orbiter class was written so that it has no platform-specific functions, such as graphics and sound. It handles the basic logic, and calls pure virtual functions that derived classes must implement to handle the platform-specific commands. OrbiterSDL is derived from Orbiter and implements these functions using the SDL library, such as DrawRectangle, DrawImage, PlaySound, etc. You will see that most of the code and virtually all of the logic is contained in the base Orbiter class. Therefore, it is a fairly easy task to make a new version of Orbiter for a platform other than SDL, perhaps one that uses Windows SDK calls, or another image library.

Orbiter devices are also embedded within Bluetooth Dongle for details.

Use the HADesigner or QuickDesigner to build an entirely new user interface of your own, or change LinuxMCE's stock UI.