Ejemplo n.º 1
0
void DoInput( void )
{
    if( _IsOff( SW_WND_DOING_INPUT ) ) {
        for ( ;; ) {
            if( ProcInput() ) break;
            if( !HookPendingPush() ) break;
        }
    }
}
Ejemplo n.º 2
0
void ProcDisplay( void )
{
    wnd_class_wv    wndclass;
    mad_radix       old_radix;

    if( ScanEOC() ) {
        while( HookPendingPush() );
        PushRefresh();
        return;
    }
    old_radix = NewCurrRadix( 10 );
    switch( ScanCmd( MiscTab ) ) {
    case MISC_TOOL:
        ProcTool();
        break;
    case MISC_STATUS:
        ProcStatus();
        break;
    default:
        wndclass = ReqWndName();
        ProcSize( wndclass );
    }
    NewCurrRadix( old_radix );
}