Difference between revisions of "TBezierWindow"

From LinuxMCE
Jump to: navigation, search
 
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>
+
<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>TBezierWindow
TBezierWindow
+
 
TBezierWindow - implementation of bezier patch
 
TBezierWindow - implementation of bezier patch
  
Line 7: Line 6:
 
Bezier patch
 
Bezier patch
  
The DrawingWidgetsEngine::Paint() and DrawingWidgetsEngine::Flip() are ussualy not called by an effect/opengl programer.
+
The TBezierWindow looks identically with the TBasicWindow only difference is after setup the anchors to look as a rounded surface
 
+
First of them iterates all widgets and draw them if they have the visible flag set true.
+
Flip method will made the complete update to the screen.
+
 
+
The decision of separation of the Paint (3D render) and flipping is cause some implementations may add different OpenGL code, for instance it may mix with one texture, etc.
+
 
+
The TBezierWindow looks identically with the TBasicWindow only
+

Revision as of 10:33, 3 April 2006

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.
TBezierWindow

TBezierWindow - implementation of bezier patch

Which has 16 points named anchors and creates a 3D curved object asociated with that points (please read the following link for more informations http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=28)

Bezier patch

The TBezierWindow looks identically with the TBasicWindow only difference is after setup the anchors to look as a rounded surface