Changeset 4176


Ignore:
Timestamp:
05/25/04 14:15:36 (20 years ago)
Author:
merck
Message:
Added function "contains2"
Unknown origin.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/videospot.cpp

    r3401 r4176  
    5151
    5252/** No descriptions */
     53bool VideoSpot::contains2( int p_iX, int p_iY )
     54{
     55        if( ( abs( p_iX - getX() ) < 25 )
     56                        &&
     57                        ( abs( p_iY - getY() ) < 25 ) )
     58                return true;
     59        else
     60                return false;
     61}
     62
     63/** No descriptions */
    5364void VideoSpot::append( int p_iX, int p_iY, int p_iWeight )
    5465{
Note: See TracChangeset for help on using the changeset viewer.