From: Dirk B. <db...@us...> - 2008-04-30 15:51:24
|
Update of /cvsroot/win32forth/win32forth/doc/classes In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv5706/doc/classes Added Files: BitmapDC.htm ExtDC.htm TimerWindow.htm Log Message: - New classes "Ext-WinDC", "Bitmap-DC" and "Timer-Window" added- - Updated the WinClock-Demo to work with the new classes --- NEW FILE: BitmapDC.htm --- <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: BitmapDC.htm,v 1.1 2008/04/30 15:51:09 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>bitmap-dc -- Bitmap device context class. </h1><hr /><h2>Glossary </h2><pre><b><a name="0">:class bitmap-dc <super ext-windc </a></b></pre><p>Bitmap device context class. This can be used for buffered drawing. </p><pre><b><a name="1">:M ClassInit: ( -- ) </a></b></pre><p>Init the class </p><pre><b><a name="2">:M Valid?: ( -- f ) </a></b></pre><p>Check if it's save to use this device. </p><pre><b><a name="3">:M Fill: { color_object \ -- } </a></b></pre><p>Fill the display bitmap with a specified color. </p><pre><b><a name="4">:m FillArea: ( color_object -- ) </a></b></pre><p>Fill the display bitmap with a specified color. </p><pre><b><a name="5">:m Destroy: ( -- ) </a></b></pre><p>Destroys the display bitmap. </p><pre><b><a name="6">:M Init: { width height RefDC \ -- } </a></b></pre><p>Create the display bitmap and select it to our device context. Our device context will be compatible to the reference device. </p><pre><b><a name="7">:m Paint: { ps_left ps_top ps_right ps_bottom DestDC -- } </a></b></pre><p>Draw the display bitmap into the destination device condtext. </p><pre><b><a name="8">:m ~: ( -- ) </a></b></pre><p>Clean up on dispose. </p><pre><b><a name="9">;class </a></b></pre><p>End of bitmap-dc class </p><hr><p>Document $Id: BitmapDC.htm,v 1.1 2008/04/30 15:51:09 dbu_de Exp $</p> </body></html> --- NEW FILE: TimerWindow.htm --- <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: TimerWindow.htm,v 1.1 2008/04/30 15:51:09 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>Timer-Window -- Timer-Window class. </h1><hr /><h2>Glossary </h2><pre><b><a name="0">:class timer-window <super window </a></b></pre><p>Timer-Window class. This class can be used for windows that should handle timer events. Only one timer per window can be used with this class. </p><pre><b><a name="1">:m ClassInit: ( -- ) </a></b></pre><p>Init the class </p><pre><b><a name="2">:m KillTimer: ( -- ) </a></b></pre><p>Destroy the timer for this window. </p><pre><b><a name="3">:M CreateTimer: ( ms -- ) </a></b></pre><p>Create the timer for this window. </p><pre><b><a name="4">:M On_Done: ( -- ) </a></b></pre><p>Things to do before program termination </p><pre><b><a name="5">:M On_Timer: ( -- ) </a></b></pre><p>Thing's to do when the window recives a timer event. Default does nothing. </p><pre><b><a name="6">;class </a></b></pre><p>End of timer-window class. </p><hr><p>Document $Id: TimerWindow.htm,v 1.1 2008/04/30 15:51:09 dbu_de Exp $</p> </body></html> --- NEW FILE: ExtDC.htm --- <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta name="GENERATOR" content="dexh v03"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: ExtDC.htm,v 1.1 2008/04/30 15:51:09 dbu_de Exp $"> <img border="0" src="../TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="../FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>ext-windc -- Extended WinDC class. </h1><hr /><h2>Glossary </h2><pre><b><a name="0">:class ext-windc <super windc </a></b></pre><p>Extended version of the WinDC class. </p><pre><b><a name="1">:M ClassInit: ( -- ) </a></b></pre><p>Init the class </p><pre><b><a name="2">:M Destroy: ( -- ) </a></b></pre><p>Destroy the device context. </p><pre><b><a name="3">:M SetHandle: ( hObject -- ) </a></b></pre><p>Set the handle of the object. <br /> If the current handle of the object is valid it will be destroyed. </p><pre><b><a name="4">:M PutHandle: ( hObject -- ) </a></b></pre><p>Set the handle of the object. <br /> If the current handle of the object is valid it will be destroyed. </p><pre><b><a name="5">:m ~: ( -- ) </a></b></pre><p>Clean up on dispose. </p><pre><b><a name="6">;class </a></b></pre><p>End of ext-windc class </p><hr><p>Document $Id: ExtDC.htm,v 1.1 2008/04/30 15:51:09 dbu_de Exp $</p> </body></html> |