Drawing widgets engine

From LinuxMCE
Revision as of 18:16, 23 August 2009 by Ray N (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

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