[BACK]Return to MainFrm.cpp CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows / engine2000

Diff for /OpenXM_contrib2/windows/engine2000/MainFrm.cpp between version 1.4 and 1.6

version 1.4, 2014/03/25 20:10:51 version 1.6, 2015/08/20 17:47:53
Line 3 
Line 3 
   
 #include "stdafx.h"  #include "stdafx.h"
 #include "ox_plot.h"  #include "ox_plot.h"
   
 #include "MainFrm.h"  #include "MainFrm.h"
   
 #include "gmpxx.h"  
 extern "C" {  extern "C" {
 #include "ca.h"  #include "if_canvas.h"
 #include "ifplot.h"  
 }  }
   
   
 #ifdef _DEBUG  #ifdef _DEBUG
 #define new DEBUG_NEW  #define new DEBUG_NEW
 #undef THIS_FILE  #undef THIS_FILE
Line 162  void CMainFrame::OnUpdateProgress(CCmdUI *pCmdUI)
Line 160  void CMainFrame::OnUpdateProgress(CCmdUI *pCmdUI)
   
         if ( !m_wndView.can )          if ( !m_wndView.can )
                 return;                  return;
         switch ( mode = m_wndView.can->mode ) {  
                 case MODE_IFPLOT: case MODE_CONPLOT:          if ( canvas_is_ifplot(m_wndView.can) ) {
                         pCmdUI->Enable();                          pCmdUI->Enable();
                         strProgress.Format("%s%d%%",m_wndView.can->prefix,m_wndView.can->percentage);                          strProgress.Format("%s%d%%",canvas_prefix(m_wndView.can),canvas_percentage(m_wndView.can));
                         pCmdUI->SetText(strProgress);                          pCmdUI->SetText(strProgress);
                         break;  
                 default:  
                         break;  
         }          }
 }  }
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>