Drawing widgets engine

From LinuxMCE
Revision as of 10:18, 3 April 2006 by Wikiadmin (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.
That class has one list of drawing primitives named Widgets.

The basic methods that you may work with widgets are: - Creation:

   TBaseWidget* DrawingWidgetsEngine::CreateWidget(int WidgetType, int Top, int Left, int Width, int Height, char* Text)

- Destroying widget

   void DrawingWidgetsEngine::DeleteWidget(TBaseWidget* Widget)

The actual widgets are:

 - TBasicWindow : a textured rectangle, which has top-left corner and width/height
 - TBezierWindow: a textured bezier patch