version 1.5, 2014/05/13 20:07:23 |
version 1.6, 2015/08/20 17:47:53 |
|
|
|
|
#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 163 void CMainFrame::OnUpdateProgress(CCmdUI *pCmdUI) |
|
Line 161 void CMainFrame::OnUpdateProgress(CCmdUI *pCmdUI) |
|
if ( !m_wndView.can ) |
if ( !m_wndView.can ) |
return; |
return; |
|
|
mode = m_wndView.can->mode; |
if ( canvas_is_ifplot(m_wndView.can) ) { |
if (mode == modeNO(IFPLOT) || mode == modeNO(CONPLOT)) { |
|
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); |
} |
} |
} |
} |