Subversion Repositories DevTools

Rev

Rev 2218 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2218 Rev 2228
Line 130... Line 130...
130
{
130
{
131
  //## begin ProgressBar::open%4200813001F0.body preserve=yes
131
  //## begin ProgressBar::open%4200813001F0.body preserve=yes
132
 
132
 
133
	m_total		= total;
133
	m_total		= total;
134
	m_position	= position;
134
	m_position	= position;
-
 
135
	m_percent	= ( m_total
135
	m_percent	= ( static_cast< int >( position / double( m_total ) * 100.0 ) );
136
		? ( static_cast< int >( position / double( m_total ) * 100.0 ) )
-
 
137
		: 100.0 );
136
 
138
 
137
#ifdef ADV_PROGRESS_BAR
139
#ifdef ADV_PROGRESS_BAR
138
	m_progressBar->Show();
140
	m_progressBar->Show();
139
	m_progressBar->Position = m_percent;
141
	m_progressBar->Position = m_percent;
140
#else
142
#else