}
int View :: mouseDown ( const Message& m ) // let parent process it
{
return parent != NULL ? parent -> mouseDown ( m ): FALSE;
}
int View :: mouseUp ( const Message& m ) // let parent process it
{
return parent != NULL ? parent -> mouseUp ( m ): FALSE;
}
int View :: mouseMove ( const Message& m ) // let parent process it
{
return parent != NULL ? parent -> mouseMove ( m ): FALSE;
}
int View :: rightMouseDown ( const Message& m ) // let parent process it {
return parent != NULL ? parent -> rightMouseDown ( m ): FALSE;
}
int View :: rightMouseUp ( const Message& m ) // let parent process it {
return parent != NULL ? parent -> rightMouseUp ( m ): FALSE;
}
int View :: mouseDoubleClick ( const Message& m ) // let parent process it {
return parent != NULL ? parent -> mouseDoubleClick ( m ): FALSE; ,
}
int View :: mouseTripleClick ( const Message& m ) // let parent process it {
return parent != NULL ? parent -> mouseTripleClick ( m ): FALSE;
}
int View :: receiveFocus ( const Message& m ) {
sendMessage ( delegate, WM_COMMAND, VN_FOCUS, TRUE, this );
if ( style & WS_REPAINTONFOCUS ) repaint ();
return TRUE; // message processed
}
int View :: looseFocus ( const Message& m ) {
sendMessage ( delegate, WM_COMMAND, VN_FOCUS, FALSE, this );
if ( style & WS_REPAINTONFOCUS ) repaint ();
return TRUE; // message processed

Компьютерная графика. Полигональные модели

}
int View :: command ( const Messages m ) {
return FALSE; // not processed
}
int View :: timer ( const Message& m ) {
return FALSE;
}
int View :: close ( const Message& m )
hide (); autorelease ();
return TRUE; // processed
}
void View :: getMinMaxSize ( Point& minSize, Point& maxSize ) const {
minSize.x = 0; minSize.y = 0; maxSize.x = MAXINT; maxSize.y = MAXINT;
}
Rect View :: getClientRect ( Rect& client) const {
client.xl - 0; client.yl =0; client.x2 = width () -1; client.y2 = height () -1;
return client;
}
View * View :: viewWithTag (int theTag )

⇐ Предыдущая| |Следующая ⇒