rem: void key( unsigned char key, int x, int y )
add: void key( unsigned char key, int, int )
context: void key( unsigned char key, int x, int y ){    printf("Key: %d\n", key );    switch (key )    {    case 27:    exit(1);                    break;    case 'z':   beginEditCP(root);                root->replaceChild( 1, dlight );                endEditCP(root);                beginEditCP(dlight);                dlight->addChild( slight2 );                endEditCP(dlight);                // root->dump();                break;    case 'x':   beginEditCP(root);                root->replaceChild( 1, plight );                endEditCP(root);                beginEditCP(plight);                plight->addChild( slight2 );                endEditCP(plight);                // root->dump();                break;    case 'c':   beginEditCP(root);                root->replaceChild( 1, slight );                endEditCP(root);                beginEditCP(slight);                slight->addChild( slight2 );                endEditCP(slight);                // root->dump();                break;    case 'a':   beginEditCP(dl);                dl->setOn( ! dl->getOn() );                endEditCP(dl);                break;    case 's':   beginEditCP(pl);                pl->setOn( ! pl->getOn() );                endEditCP(pl);                break;    case 'd':   beginEditCP(sl);                sl->setOn( ! sl->getOn() );                endEditCP(sl);                break;                    }}