From 60fe54f98da0f53c0ca6301ff053981aac536454 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 26 Oct 2004 18:36:47 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4431 --- clientgui/BOINCBaseView.cpp | 24 ++++++++++++------------ clientgui/BOINCBaseView.h | 24 ++++++++++++------------ clientgui/BOINCListCtrl.cpp | 6 +++--- clientgui/BOINCTaskCtrl.cpp | 4 ++-- clientgui/MainFrame.cpp | 18 +++++++++--------- 5 files changed, 38 insertions(+), 38 deletions(-) diff --git a/clientgui/BOINCBaseView.cpp b/clientgui/BOINCBaseView.cpp index d8f6f6e144..69e90fd839 100644 --- a/clientgui/BOINCBaseView.cpp +++ b/clientgui/BOINCBaseView.cpp @@ -123,13 +123,13 @@ wxInt32 CBOINCBaseView::GetListRowCount() } -void CBOINCBaseView::_OnTaskRender (wxTimerEvent& event) +void CBOINCBaseView::FireOnTaskRender (wxTimerEvent& event) { OnTaskRender( event ); } -void CBOINCBaseView::_OnListRender (wxTimerEvent& event) +void CBOINCBaseView::FireOnListRender (wxTimerEvent& event) { OnListRender( event ); } @@ -226,13 +226,13 @@ void CBOINCBaseView::OnListRender (wxTimerEvent& event) } -bool CBOINCBaseView::_OnSaveState( wxConfigBase* pConfig ) +bool CBOINCBaseView::FireOnSaveState( wxConfigBase* pConfig ) { return OnSaveState( pConfig ); } -bool CBOINCBaseView::_OnRestoreState( wxConfigBase* pConfig ) +bool CBOINCBaseView::FireOnRestoreState( wxConfigBase* pConfig ) { return OnRestoreState( pConfig ); } @@ -274,37 +274,37 @@ bool CBOINCBaseView::OnRestoreState( wxConfigBase* pConfig ) } -void CBOINCBaseView::_OnListCacheHint( wxListEvent& event ) +void CBOINCBaseView::FireOnListCacheHint( wxListEvent& event ) { OnListCacheHint( event ); } -void CBOINCBaseView::_OnListSelected( wxListEvent& event ) +void CBOINCBaseView::FireOnListSelected( wxListEvent& event ) { OnListSelected( event ); } -void CBOINCBaseView::_OnListDeselected( wxListEvent& event ) +void CBOINCBaseView::FireOnListDeselected( wxListEvent& event ) { OnListDeselected( event ); } -wxString CBOINCBaseView::_OnListGetItemText(long item, long column) const +wxString CBOINCBaseView::FireOnListGetItemText(long item, long column) const { return OnListGetItemText( item, column ); } -int CBOINCBaseView::_OnListGetItemImage(long item) const +int CBOINCBaseView::FireOnListGetItemImage(long item) const { return OnListGetItemImage( item ); } -wxListItemAttr* CBOINCBaseView::_OnListGetItemAttr(long item) const +wxListItemAttr* CBOINCBaseView::FireOnListGetItemAttr(long item) const { return OnListGetItemAttr( item ); } @@ -359,13 +359,13 @@ wxListItemAttr* CBOINCBaseView::OnListGetItemAttr(long item) const } -void CBOINCBaseView::_OnTaskLinkClicked( const wxHtmlLinkInfo& link ) +void CBOINCBaseView::FireOnTaskLinkClicked( const wxHtmlLinkInfo& link ) { OnTaskLinkClicked( link ); } -void CBOINCBaseView::_OnTaskCellMouseHover( wxHtmlCell* cell, wxCoord x, wxCoord y ) +void CBOINCBaseView::FireOnTaskCellMouseHover( wxHtmlCell* cell, wxCoord x, wxCoord y ) { OnTaskCellMouseHover( cell, x, y ); } diff --git a/clientgui/BOINCBaseView.h b/clientgui/BOINCBaseView.h index 06f410a857..62353a96cb 100644 --- a/clientgui/BOINCBaseView.h +++ b/clientgui/BOINCBaseView.h @@ -50,22 +50,22 @@ public: wxInt32 _GetListRowCount(); virtual wxInt32 GetListRowCount(); - void _OnTaskRender( wxTimerEvent& event ); - void _OnListRender( wxTimerEvent& event ); + void FireOnTaskRender( wxTimerEvent& event ); + void FireOnListRender( wxTimerEvent& event ); virtual void OnTaskRender( wxTimerEvent& event ); virtual void OnListRender( wxTimerEvent& event ); - bool _OnSaveState( wxConfigBase* pConfig ); - bool _OnRestoreState( wxConfigBase* pConfig ); + bool FireOnSaveState( wxConfigBase* pConfig ); + bool FireOnRestoreState( wxConfigBase* pConfig ); virtual bool OnSaveState( wxConfigBase* pConfig ); virtual bool OnRestoreState( wxConfigBase* pConfig ); - void _OnListCacheHint( wxListEvent& event ); - void _OnListSelected( wxListEvent& event ); - void _OnListDeselected( wxListEvent& event ); - wxString _OnListGetItemText( long item, long column ) const; - int _OnListGetItemImage( long item ) const; - wxListItemAttr* _OnListGetItemAttr( long item ) const; + void FireOnListCacheHint( wxListEvent& event ); + void FireOnListSelected( wxListEvent& event ); + void FireOnListDeselected( wxListEvent& event ); + wxString FireOnListGetItemText( long item, long column ) const; + int FireOnListGetItemImage( long item ) const; + wxListItemAttr* FireOnListGetItemAttr( long item ) const; virtual void OnListCacheHint( wxListEvent& event ); virtual void OnListSelected( wxListEvent& event ); virtual void OnListDeselected( wxListEvent& event ); @@ -73,8 +73,8 @@ public: virtual int OnListGetItemImage( long item ) const; virtual wxListItemAttr* OnListGetItemAttr( long item ) const; - void _OnTaskLinkClicked( const wxHtmlLinkInfo& link ); - void _OnTaskCellMouseHover( wxHtmlCell* cell, wxCoord x, wxCoord y ); + void FireOnTaskLinkClicked( const wxHtmlLinkInfo& link ); + void FireOnTaskCellMouseHover( wxHtmlCell* cell, wxCoord x, wxCoord y ); virtual void OnTaskLinkClicked( const wxHtmlLinkInfo& link ); virtual void OnTaskCellMouseHover( wxHtmlCell* cell, wxCoord x, wxCoord y ); diff --git a/clientgui/BOINCListCtrl.cpp b/clientgui/BOINCListCtrl.cpp index 244a8be51e..403d7e0d8f 100644 --- a/clientgui/BOINCListCtrl.cpp +++ b/clientgui/BOINCListCtrl.cpp @@ -143,7 +143,7 @@ wxString CBOINCListCtrl::OnGetItemText( long item, long column ) const wxASSERT(NULL != m_pParentView); wxASSERT(wxDynamicCast(m_pParentView, CBOINCBaseView)); - return m_pParentView->_OnListGetItemText( item, column ); + return m_pParentView->FireOnListGetItemText( item, column ); } @@ -152,7 +152,7 @@ int CBOINCListCtrl::OnGetItemImage( long item ) const wxASSERT(NULL != m_pParentView); wxASSERT(wxDynamicCast(m_pParentView, CBOINCBaseView)); - return m_pParentView->_OnListGetItemImage( item ); + return m_pParentView->FireOnListGetItemImage( item ); } @@ -161,6 +161,6 @@ wxListItemAttr* CBOINCListCtrl::OnGetItemAttr( long item ) const wxASSERT(NULL != m_pParentView); wxASSERT(wxDynamicCast(m_pParentView, CBOINCBaseView)); - return m_pParentView->_OnListGetItemAttr( item ); + return m_pParentView->FireOnListGetItemAttr( item ); } diff --git a/clientgui/BOINCTaskCtrl.cpp b/clientgui/BOINCTaskCtrl.cpp index fcee233320..14cdaf58eb 100644 --- a/clientgui/BOINCTaskCtrl.cpp +++ b/clientgui/BOINCTaskCtrl.cpp @@ -254,7 +254,7 @@ void CBOINCTaskCtrl::OnLinkClicked( const wxHtmlLinkInfo& link ) wxASSERT(NULL != m_pParentView); wxASSERT(wxDynamicCast(m_pParentView, CBOINCBaseView)); - m_pParentView->_OnTaskLinkClicked( link ); + m_pParentView->FireOnTaskLinkClicked( link ); } @@ -263,7 +263,7 @@ void CBOINCTaskCtrl::OnCellMouseHover( wxHtmlCell* cell, wxCoord x, wxCoord y ) wxASSERT(NULL != m_pParentView); wxASSERT(wxDynamicCast(m_pParentView, CBOINCBaseView)); - m_pParentView->_OnTaskCellMouseHover( cell, x, y ); + m_pParentView->FireOnTaskCellMouseHover( cell, x, y ); } diff --git a/clientgui/MainFrame.cpp b/clientgui/MainFrame.cpp index dd73747858..89659ccb20 100644 --- a/clientgui/MainFrame.cpp +++ b/clientgui/MainFrame.cpp @@ -393,7 +393,7 @@ bool CMainFrame::SaveState() strConfigLocation = strPreviousLocation + pView->GetViewName(); pConfig->SetPath(strConfigLocation); - pView->_OnSaveState( pConfig ); + pView->FireOnSaveState( pConfig ); pConfig->SetPath(strPreviousLocation); } @@ -448,7 +448,7 @@ bool CMainFrame::RestoreState() strConfigLocation = strPreviousLocation + pView->GetViewName(); pConfig->SetPath(strConfigLocation); - pView->_OnRestoreState( pConfig ); + pView->FireOnRestoreState( pConfig ); pConfig->SetPath(strPreviousLocation); } @@ -647,8 +647,8 @@ void CMainFrame::OnNotebookSelectionChanged( wxNotebookEvent& event ) pView = wxDynamicCast(pwndNotebookPage, CBOINCBaseView); wxASSERT(NULL != pView); - pView->_OnTaskRender( timerEvent ); - pView->_OnListRender( timerEvent ); + pView->FireOnTaskRender( timerEvent ); + pView->FireOnListRender( timerEvent ); } event.Skip(); @@ -670,7 +670,7 @@ void CMainFrame::OnListCacheHint( wxListEvent& event ) pView = wxDynamicCast(pwndNotebookPage, CBOINCBaseView); wxASSERT(NULL != pView); - pView->_OnListCacheHint( event ); + pView->FireOnListCacheHint( event ); } event.Skip(); @@ -692,7 +692,7 @@ void CMainFrame::OnListSelected( wxListEvent& event ) pView = wxDynamicCast(pwndNotebookPage, CBOINCBaseView); wxASSERT(NULL != pView); - pView->_OnListSelected( event ); + pView->FireOnListSelected( event ); } event.Skip(); @@ -714,7 +714,7 @@ void CMainFrame::OnListDeselected( wxListEvent& event ) pView = wxDynamicCast(pwndNotebookPage, CBOINCBaseView); wxASSERT(NULL != pView); - pView->_OnListDeselected( event ); + pView->FireOnListDeselected( event ); } event.Skip(); @@ -736,7 +736,7 @@ void CMainFrame::OnListPanelRender ( wxTimerEvent &event ) pView = wxDynamicCast(pwndNotebookPage, CBOINCBaseView); wxASSERT(NULL != pView); - pView->_OnListRender( event ); + pView->FireOnListRender( event ); } event.Skip(); @@ -758,7 +758,7 @@ void CMainFrame::OnTaskPanelRender ( wxTimerEvent &event ) pView = wxDynamicCast(pwndNotebookPage, CBOINCBaseView); wxASSERT(NULL != pView); - pView->_OnTaskRender( event ); + pView->FireOnTaskRender( event ); } event.Skip();