Changeset 195


Ignore:
Timestamp:
03/08/2010 10:39:11 AM (13 years ago)
Author:
marcus
Message:

r113 | svn | 2010-03-05 19:28:01 +0100 (Fr, 05 Mär 2010) | 1 line

fix of waveform cursor problem when moving drag window by arrow key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/source/motif/shm.c

    r119 r195  
    33 *      ===== 
    44 * 
    5  * $Revision: 82 $, $Date: 2009-04-30 09:16:57 +0200 (Do, 30 Apr 2009) $ 
     5 * $Revision: 113 $, $Date: 2010-03-05 19:28:01 +0100 (Fr, 05 MÀr 2010) $ 
    66 * 
    77 * main module of shm 
     
    598598static TSyBoolean     xmv_keeptrc_auto=FALSE; /* 'Keep Traces' Button autom. */ 
    599599static char           xmv_openwdw[cBcShortStrLth+1]; /* which windows to open */ 
     600static int            xmv_last_window_no=MGC_WDW_MAIN;  /* last active window */ 
    600601/*static char           xmv_filter_name[cBcShortStrLth+1][MAXFILNAME];*/ /* filter names */ 
    601602/* theoretical phases (must be same sequence as in dialog box) */ 
     
    39533954        case k_entry_key_arrow_left: 
    39543955        case k_entry_key_arrow_right: 
     3956        if  (xmv_last_window_no == MGC_WDW_MAIN) 
     3957                mg_draw_cursor( xmv_w[k_widget_draw], MGC_WDW_MAIN, &xmv_dspctrl, 
     3958                MGC_CRSR_CLEAR, 0, 0, NULL); 
     3959        else 
     3960                mg_draw_cursor( xmv_w[k_widget_single_draw], MGC_WDW_SINGLE, 
     3961                &xmv_dspctrl, MGC_CRSR_CLEAR, 0, 0, NULL); 
    39553962                xm_move_drag_window( *tag ); 
    39563963                break; 
     
    41624169 
    41634170        wdwno = (w == xmv_w[k_widget_draw]) ? MGC_WDW_MAIN : MGC_WDW_SINGLE; 
     4171    xmv_last_window_no = wdwno; 
    41644172        if  (wdwno != lastwdw)  { 
    41654173                if  (curr_crsr != MGC_CRSR_NOCURSOR) 
Note: See TracChangeset for help on using the changeset viewer.