Logo Search packages:      
Sourcecode: kanagram version File versions  Download package

void Kanagram::CheckRect ( const QRect &  rect,
const QPoint &  p,
bool &  flag,
bool &  changed 
) [private]

sets or clears flag based on whether p is in rect, and set changed if flag changes

Definition at line 694 of file kanagram.cpp.

Referenced by mouseMoveEvent().

    if (rect.contains(p))
        changed = !flag;
        flag = true;
    else if (flag)
        flag = false;
        changed = true;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index