コード例 #1
0
ECode StackScrollerDecorView::PerformVisibilityAnimation(
    /* [in] */ Boolean nowVisible,
    /* [in] */ IRunnable* onFinishedRunnable)
{
    AnimateText(nowVisible, onFinishedRunnable);
    return NOERROR;
}
コード例 #2
0
ファイル: MultiFontsDemo.c プロジェクト: Athuli7/Microchip
/************************************************************************
 Function: WORD MultiFontDemoDrawCallback(void)
 
 Overview: This function is called by GOLDraw() function when the state 
 		   is in this particular demo.

 Input: none

 Output: If the function returns non-zero the draw control will be passed 
		to GOL. GOLDraw() can proceed and re-draw objects that needs 
		to be redrawn.
************************************************************************/
WORD MultiFontDemoDrawCallback(DWORD tick)
{
    static DWORD    prevTick = 0;   // keeps previous value of tick
    if((tick - prevTick) > helloDelay)
    {
        AnimateText(DELTAMOVE);
        prevTick = tick;
    }

    return (1);
}