static void SetDlgStatus( gui_window *gui ) { unsigned old; old = NewCurrRadix( 10 ); GUISetChecked( gui, CTL_OPT_AUTO, _IsOn( SW_AUTO_SAVE_CONFIG ) ); GUISetChecked( gui, CTL_OPT_BELL, _IsOn( SW_BELL ) ); GUISetChecked( gui, CTL_OPT_IMPLICIT, _IsOn( SW_IMPLICIT ) ); GUISetChecked( gui, CTL_OPT_RECURSE, _IsOn( SW_RECURSE_CHECK ) ); GUISetChecked( gui, CTL_OPT_FLIP, _IsOn( SW_FLIP ) ); GUISetChecked( gui, CTL_OPT_CASE, _IsOn( SW_CASE_IGNORE ) ); DlgSetLong( gui, CTL_OPT_RADIX, old ); DlgSetLong( gui, CTL_OPT_DCLICK, WndGetDClick() ); NewCurrRadix( old ); GUIEnableControl( gui, CTL_OPT_BR_ON_WRITE, SupportsExactBreakpoints ); GUISetChecked( gui, CTL_OPT_NOHEX, _IsOn( SW_DONT_EXPAND_HEX ) ); if( SupportsExactBreakpoints ) GUISetChecked( gui, CTL_OPT_BR_ON_WRITE, _IsOn ( SW_BREAK_ON_WRITE ) ); else GUISetChecked( gui, CTL_OPT_BR_ON_WRITE, FALSE ); }
static void SetDlgStatus( gui_window *gui ) { unsigned old; old = NewCurrRadix( 10 ); GUISetChecked( gui, CTL_WIND_ASM_SOURCE, _IsOn( SW_ASM_SOURCE ) ); GUISetChecked( gui, CTL_WIND_ASM_HEX, _IsOn( SW_ASM_HEX ) ); GUISetChecked( gui, CTL_WIND_VAR_EXPR, _IsOn( SW_VAR_WHOLE_EXPR ) ); GUISetChecked( gui, CTL_WIND_VAR_CODE, _IsOn( SW_VAR_SHOW_CODE ) ); GUISetChecked( gui, CTL_WIND_VAR_INHERIT, _IsOn( SW_VAR_SHOW_INHERIT ) ); GUISetChecked( gui, CTL_WIND_VAR_COMPILER, _IsOn( SW_VAR_SHOW_COMPILER ) ); GUISetChecked( gui, CTL_WIND_VAR_MEMBERS, _IsOn( SW_VAR_SHOW_MEMBERS ) ); GUISetChecked( gui, CTL_WIND_VAR_PRIVATE, _IsOn( SW_VAR_SHOW_PRIVATE ) ); GUISetChecked( gui, CTL_WIND_VAR_PROTECTED, _IsOn( SW_VAR_SHOW_PROTECTED ) ); GUISetChecked( gui, CTL_WIND_VAR_STATIC, _IsOn( SW_VAR_SHOW_STATIC ) ); GUISetChecked( gui, CTL_WIND_FUNC_TYPED, _IsOn( SW_FUNC_D2_ONLY ) ); GUISetChecked( gui, CTL_WIND_GLOB_TYPED, _IsOn( SW_GLOB_D2_ONLY ) ); GUISetChecked( gui, CTL_WIND_MOD_ALL, _IsOn( SW_MOD_ALL_MODULES ) ); DlgSetLong( gui, CTL_WIND_FILE_TAB, TabIntervalGet() ); NewCurrRadix( old ); }
static void SetDlgStatus( dlg_var_expand *varx, gui_window *gui ) { DlgSetLong( gui, CTL_VARX_START, varx->start ); DlgSetLong( gui, CTL_VARX_END, varx->end ); }