Changeset 17342


Ignore:
Timestamp:
10/02/2016 08:01:24 PM (8 months ago)
Author:
ghazan
Message:

CDlgBase::AddTimer? added

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/m_gui.h

    r17331 r17342  
    430430        // register controls 
    431431        void AddControl(CCtrlBase *ctrl); 
     432        void AddTimer(CTimer *timer); 
    432433 
    433434        // win32 stuff 
  • trunk/src/mir_core/src/mir_core.def

    r17331 r17342  
    10311031?Start@CTimer@@QAEXH@Z @1188 NONAME 
    10321032?Stop@CTimer@@QAEXXZ @1189 NONAME 
     1033?AddTimer@CDlgBase@@IAEXPAVCTimer@@@Z @1190 NONAME 
  • trunk/src/mir_core/src/mir_core64.def

    r17331 r17342  
    10311031?Start@CTimer@@QEAAXH@Z @1188 NONAME 
    10321032?Stop@CTimer@@QEAAXXZ @1189 NONAME 
     1033?AddTimer@CDlgBase@@IEAAXPEAVCTimer@@@Z @1190 NONAME 
  • trunk/src/mir_core/src/ui_utils.cpp

    r17331 r17342  
    289289} 
    290290 
     291void CDlgBase::AddTimer(CTimer *timer) 
     292{ 
     293        m_timers.insert(timer); 
     294} 
     295 
    291296CTimer* CDlgBase::FindTimer(int idEvent) 
    292297{ 
     
    739744        : m_wnd(wnd), m_idEvent(idEvent) 
    740745{ 
     746        if (wnd) 
     747                wnd->AddTimer(this); 
    741748} 
    742749 
Note: See TracChangeset for help on using the changeset viewer.