Difference between revisions of "Drawing widgets engine"

From LinuxMCE
Jump to: navigation, search
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<table width="100%"> <tr><td bgcolor="#FFCFCF">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.</td></tr> </table>That class has one list of drawing primitives named Widgets.
+
[[Category: Development]]
 +
That class has one list of drawing primitives named Widgets.
  
 
The basic methods that you may work with widgets are:
 
The basic methods that you may work with widgets are:

Latest revision as of 18:16, 23 August 2009

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