Page 1 of 1

The ONE item that is missing in the distribution

Posted: Sat Oct 27, 2012 10:03 pm
by Cambridge Ray
The ONE item that is missing in the distribution is an example of how to deal with TEXT.

TIA.

-Ray

Re: The ONE item that is missing in the distribution

Posted: Mon Oct 29, 2012 9:48 pm
by Cambridge Ray
Actually, dear Self, it is rather simple. Just add the following member function to the provided "test" utility:

Code: Select all

void
CreationClass::addText(const DL_TextData& data)
{
    cout << "TEXT: `" << data.text << "'" << endl;
    printAttributes();
}