| 341 | ////////////////////////////////////////////////////////////////////////// |
| 342 | |
| 343 | void Cgui_rpcDlg::OnDownloading(long long int content_length, |
| 344 | long long int total_read) |
| 345 | { |
| 346 | if (content_length > 0) |
| 347 | { |
| 348 | int nStept; |
| 349 | |
| 350 | nStept = (int) ((total_read * 100) / (content_length)); |
| 351 | m_wndMeterBar.GetProgressCtrl().SetPos(nStept); |
| 352 | } |
| 353 | |
| 354 | CString msg; |
| 355 | msg.Format("�� %I64d �ֽ�", total_read); |
| 356 | m_wndMeterBar.SetText(msg, 1, 0); |
| 357 | } |
| 358 | |
| 359 | void Cgui_rpcDlg::OnDownloadOver(long long int total_read, double spent) |
| 360 | { |
no test coverage detected