Ejemplo n.º 1
0
CX_OBJECT_FREE(cxActionRoot, cxObject)
{
    CX_EVENT_RELEASE(this->onBegin);
    CX_EVENT_RELEASE(this->onEnd);
    CX_RELEASE(this->codes);
    CX_METHOD_RELEASE(this->Make);
}
Ejemplo n.º 2
0
CX_OBJECT_FREE(cxButton, cxSprite)
{
    CX_EVENT_RELEASE(this->onEnter);
    CX_EVENT_RELEASE(this->onLeave);
    CX_EVENT_RELEASE(this->onPress);
    CX_EVENT_RELEASE(this->onRelease);
}
Ejemplo n.º 3
0
void cxActionReset(cxAny pav)
{
    cxAction this = pav;
    this->isFirst = false;
    this->isExit = false;
    this->index = -1;
    this->split = -1;
    this->durationElapsed = 0;
    this->delayElapsed = 0;
    CX_EVENT_RELEASE(this->onSplit);
    CX_EVENT_RELEASE(this->onStart);
    CX_EVENT_RELEASE(this->onStop);
    CX_EVENT_RELEASE(this->onStep);
    CX_METHOD_FIRE(NULL, this->Reset, this);
}
Ejemplo n.º 4
0
CX_OBJECT_FREE(cxAction, cxObject)
{
    CX_EVENT_RELEASE(this->onSplit);
    CX_EVENT_RELEASE(this->onStart);
    CX_EVENT_RELEASE(this->onStop);
    CX_EVENT_RELEASE(this->onStep);
    
    CX_METHOD_RELEASE(this->Curve);
    CX_METHOD_RELEASE(this->Init);
    CX_METHOD_RELEASE(this->Active);
    CX_METHOD_RELEASE(this->Over);
    CX_METHOD_RELEASE(this->Reset);
    CX_METHOD_RELEASE(this->Step);
    CX_METHOD_RELEASE(this->Exit);
}
Ejemplo n.º 5
0
CX_OBJECT_FREE(cxEngine, cxObject)
{
    CX_RELEASE(this->bmpfonts);
    CX_RELEASE(this->actions);
    CX_RELEASE(this->lang);
    CX_RELEASE(this->datasets);
    CX_RELEASE(this->scripts);
    CX_RELEASE(this->dbenvs);
    CX_RELEASE(this->window);
    CX_EVENT_RELEASE(this->onExit);
    CX_SIGNAL_RELEASE(this->onRecvJson);
    CX_SIGNAL_RELEASE(this->onTouch);
    CX_SIGNAL_RELEASE(this->onUpdate);
    CX_SIGNAL_RELEASE(this->onPause);
    CX_SIGNAL_RELEASE(this->onResume);
    CX_SIGNAL_RELEASE(this->onMemory);
    CX_METHOD_RELEASE(this->MakeAction);
    CX_METHOD_RELEASE(this->MakeView);
    cxEventBaseDestroy();
    cxCurveDestroy();
    cxOpenGLDestroy();
    cxIconvDestroy();
    cxFreeTypeDestroy();
    cxPlayerDestroy();
    cxMessageDestroy();
    xmlCleanupGlobals();
    kmGLFreeAll();
    cxAutoPoolDestroy();
    lua_close(gL);
}
Ejemplo n.º 6
0
CX_OBJECT_FREE(cxView, cxObject)
{
    allocator->free(this->cAttr);
    this->cAttr = NULL;
    CX_RELEASE(this->removes);
    CX_EVENT_RELEASE(this->onDirty);
    CX_EVENT_RELEASE(this->onEnter);
    CX_EVENT_RELEASE(this->onExit);
    CX_EVENT_RELEASE(this->onUpdate);
    CX_EVENT_RELEASE(this->onResize);
    CX_EVENT_RELEASE(this->onLayout);
    CX_RELEASE(this->subViews);
    CX_RELEASE(this->actions);
    CX_RELEASE(this->caches);
    CX_RELEASE(this->args);
    CX_METHOD_RELEASE(this->IsTouch);
    CX_METHOD_RELEASE(this->Touch);
    CX_METHOD_RELEASE(this->IsOnKey);
    CX_METHOD_RELEASE(this->OnKey);
    CX_METHOD_RELEASE(this->Draw);
    CX_METHOD_RELEASE(this->After);
    CX_METHOD_RELEASE(this->Before);
    
    CX_SIGNAL_RELEASE(this->EmmitDraw);
    CX_SIGNAL_RELEASE(this->EmmitAfter);
    CX_SIGNAL_RELEASE(this->EmmitBefore);
}
Ejemplo n.º 7
0
CX_FREE(cxSpline, cxAction)
{
    CX_EVENT_RELEASE(this->onAngle);
    CX_EVENT_RELEASE(this->onIndex);
    CX_RELEASE(this->points);
}
Ejemplo n.º 8
0
CX_OBJECT_FREE(cxLoading, cxView)
{
    CX_EVENT_RELEASE(this->onStart);
    CX_EVENT_RELEASE(this->onFinished);
    CX_EVENT_RELEASE(this->onLoading);
}
Ejemplo n.º 9
0
CX_OBJECT_FREE(cxTimeLine, cxAction)
{
    CX_EVENT_RELEASE(this->onTime);
    CX_RELEASE(this->times);
}
Ejemplo n.º 10
0
CX_OBJECT_FREE(cxClipping, cxView)
{
    cxStencilRefFree(this->useRef);
    CX_EVENT_RELEASE(this->onClipping);
}
Ejemplo n.º 11
0
CX_OBJECT_FREE(cxTimer, cxAction)
{
    CX_EVENT_RELEASE(this->onArrive);
}