diff options
Diffstat (limited to 'doc/html/t12-cannon-cpp.html')
-rw-r--r-- | doc/html/t12-cannon-cpp.html | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/html/t12-cannon-cpp.html b/doc/html/t12-cannon-cpp.html index 704d75fd8..9a7cca267 100644 --- a/doc/html/t12-cannon-cpp.html +++ b/doc/html/t12-cannon-cpp.html @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; } #include "cannon.h" #include <<a href="tqtimer-h.html">tqtimer.h</a>> -#include <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="qpixmap-h.html">ntqpixmap.h</a>> #include <<a href="tqdatetime-h.html">tqdatetime.h</a>> @@ -137,10 +137,10 @@ void <a name="f79"></a>CannonField::moveShot() } -void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e ) +void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> *e ) { - <a href="ntqrect.html">TQRect</a> updateR = e-><a href="qpaintevent.html#rect">rect</a>(); - <a href="ntqpainter.html">TQPainter</a> p( this ); + <a href="ntqrect.html">TQRect</a> updateR = e-><a href="tqpaintevent.html#rect">rect</a>(); + <a href="tqpainter.html">TQPainter</a> p( this ); if ( updateR.<a href="ntqrect.html#intersects">intersects</a>( cannonRect() ) ) paintCannon( &p ); @@ -152,41 +152,41 @@ void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qp } -void <a name="f80"></a>CannonField::paintShot( <a href="ntqpainter.html">TQPainter</a> *p ) +void <a name="f80"></a>CannonField::paintShot( <a href="tqpainter.html">TQPainter</a> *p ) { - p-><a href="ntqpainter.html#setBrush">setBrush</a>( black ); - p-><a href="ntqpainter.html#setPen">setPen</a>( NoPen ); - p-><a href="ntqpainter.html#drawRect">drawRect</a>( shotRect() ); + p-><a href="tqpainter.html#setBrush">setBrush</a>( black ); + p-><a href="tqpainter.html#setPen">setPen</a>( NoPen ); + p-><a href="tqpainter.html#drawRect">drawRect</a>( shotRect() ); } -void <a name="f81"></a>CannonField::paintTarget( <a href="ntqpainter.html">TQPainter</a> *p ) +void <a name="f81"></a>CannonField::paintTarget( <a href="tqpainter.html">TQPainter</a> *p ) { - p-><a href="ntqpainter.html#setBrush">setBrush</a>( red ); - p-><a href="ntqpainter.html#setPen">setPen</a>( black ); - p-><a href="ntqpainter.html#drawRect">drawRect</a>( targetRect() ); + p-><a href="tqpainter.html#setBrush">setBrush</a>( red ); + p-><a href="tqpainter.html#setPen">setPen</a>( black ); + p-><a href="tqpainter.html#drawRect">drawRect</a>( targetRect() ); } const <a href="ntqrect.html">TQRect</a> barrelRect(33, -4, 15, 8); -void <a name="f82"></a>CannonField::paintCannon( <a href="ntqpainter.html">TQPainter</a> *p ) +void <a name="f82"></a>CannonField::paintCannon( <a href="tqpainter.html">TQPainter</a> *p ) { <a href="ntqrect.html">TQRect</a> cr = cannonRect(); <a href="ntqpixmap.html">TQPixmap</a> pix( cr.<a href="ntqrect.html#size">size</a>() ); pix.<a href="ntqpixmap.html#fill">fill</a>( this, cr.<a href="ntqrect.html#topLeft">topLeft</a>() ); - <a href="ntqpainter.html">TQPainter</a> tmp( &pix ); - tmp.<a href="ntqpainter.html#setBrush">setBrush</a>( blue ); - tmp.<a href="ntqpainter.html#setPen">setPen</a>( NoPen ); + <a href="tqpainter.html">TQPainter</a> tmp( &pix ); + tmp.<a href="tqpainter.html#setBrush">setBrush</a>( blue ); + tmp.<a href="tqpainter.html#setPen">setPen</a>( NoPen ); - tmp.<a href="ntqpainter.html#translate">translate</a>( 0, pix.<a href="ntqpixmap.html#height">height</a>() - 1 ); - tmp.<a href="ntqpainter.html#drawPie">drawPie</a>( TQRect( -35,-35, 70, 70 ), 0, 90*16 ); - tmp.<a href="ntqpainter.html#rotate">rotate</a>( -ang ); - tmp.<a href="ntqpainter.html#drawRect">drawRect</a>( barrelRect ); - tmp.<a href="ntqpainter.html#end">end</a>(); + tmp.<a href="tqpainter.html#translate">translate</a>( 0, pix.<a href="ntqpixmap.html#height">height</a>() - 1 ); + tmp.<a href="tqpainter.html#drawPie">drawPie</a>( TQRect( -35,-35, 70, 70 ), 0, 90*16 ); + tmp.<a href="tqpainter.html#rotate">rotate</a>( -ang ); + tmp.<a href="tqpainter.html#drawRect">drawRect</a>( barrelRect ); + tmp.<a href="tqpainter.html#end">end</a>(); - p-><a href="ntqpainter.html#drawPixmap">drawPixmap</a>( cr.<a href="ntqrect.html#topLeft">topLeft</a>(), pix ); + p-><a href="tqpainter.html#drawPixmap">drawPixmap</a>( cr.<a href="ntqrect.html#topLeft">topLeft</a>(), pix ); } |