Esempio n. 1
0
void    GlobRefresh( a_window *wnd )
{
    if( WndFlags & UP_SYM_CHANGE ) {
        GlobInit( wnd );
        WndZapped( wnd );
    }
}
Esempio n. 2
0
void     GlobMenuItem( a_window *wnd, gui_ctl_id id, int row, int piece )
{
    glob_window *glob = WndGlob( wnd );
    address     addr;
    char        buff[TXT_LEN];

    piece=piece;
    addr = NameListAddr( NameList( glob ), row );
    switch( id ) {
    case MENU_INITIALIZE:
        if( IS_NIL_ADDR( addr ) ) {
            WndMenuGrayAll( wnd );
        } else {
            WndMenuEnableAll( wnd );
        }
        WndMenuEnable( wnd, MENU_GLOB_D2_ONLY, true );
        WndMenuCheck( wnd, MENU_GLOB_D2_ONLY, glob->d2_only );
        break;
    case MENU_GLOB_INSPECT_MEMORY:
        WndAddrInspect( addr );
        break;
    case MENU_GLOB_WATCH:
        NameListName( NameList( glob ), row, buff, SN_QUALIFIED );
        WndVarInspect( buff );
        break;
    case MENU_GLOB_D2_ONLY:
        glob->d2_only = !glob->d2_only;
        GlobInit( wnd );
        break;
    default:
        break;
    }
}
Esempio n. 3
0
void GlobNewMod( a_window *wnd, mod_handle mod )
{
    glob_window *glob = WndGlob( wnd );

    if( glob->mod == mod ) return;
    glob->mod = mod;
    GlobInit( wnd );
}
Esempio n. 4
0
static void GlobSetOptions( a_window *wnd )
{
    WndGlob( wnd )->d2_only = _IsOn( SW_GLOB_D2_ONLY );
    GlobInit( wnd );
}