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

void Kanagram::FixFontSize ( int &  fontSize ) [private]

check the font size and set it to a sane minimum if it's an error size <= 0

Definition at line 441 of file kanagram.cpp.

Referenced by paintEvent().

{
    if (fontSize <= 0)
    {
        fontSize = 8;
    }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index