Ejemplo n.º 1
0
int View::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: loadTower((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: clearMessage(); break;
        case 2: drawGrid(); break;
        case 3: drawTopRight((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 4: hideTopRight(); break;
        case 5: drawBox((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 6;
    }
    return _id;
}
Ejemplo n.º 2
0
void DragFrameShape::draw_TopRight(const DrawBuf &buf) const
 {
  drawTopRight(buf,dragTopRight,dragColor(DragType_TopRight));
 }