コード例 #1
0
 public IApplicationTimer Get(
     bool bModalMode,
     int timerInterval,
     ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new GtkApplicationTimer((uint)timerInterval, timerTickDelegate));
 }
コード例 #2
0
 IPlasticTimer IThreadWaiterBuilder.GetTimer(
     int timerIntervalMilliseconds, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(mPlasticTimerBuilder.Get(false, timerIntervalMilliseconds, timerTickDelegate));
 }
コード例 #3
0
 public IApplicationTimer Get(
     bool bModalMode,
     ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new GtkApplicationTimer(DEFAULT_TIMER_INTERVAL, timerTickDelegate));
 }
コード例 #4
0
 internal GtkApplicationTimer(
     uint timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     mTimerInterval     = timerInterval;
     mTimerTickDelegate = timerTickDelegate;
 }
コード例 #5
0
 IApplicationTimer IApplicationTimerBuilder.Get(
     bool bModalMode, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new MacApplicationTimer(DEFAULT_TIMER_INTERVAL, timerTickDelegate));
 }
コード例 #6
0
ファイル: UnityPlasticTimer.cs プロジェクト: shuwithu/Faces
 public IPlasticTimer Get(bool bModalMode, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new UnityPlasticTimer(DEFAULT_TIMER_INTERVAL, timerTickDelegate));
 }
コード例 #7
0
 internal MacApplicationTimer(
     double timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     mTimerInterval     = timerInterval;
     mTimerTickDelegate = timerTickDelegate;
 }
コード例 #8
0
ファイル: UnityPlasticTimer.cs プロジェクト: shuwithu/Faces
 public UnityPlasticTimer(int timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     mTimerInterval     = timerInterval;
     mTimerTickDelegate = timerTickDelegate;
 }
コード例 #9
0
ファイル: UnityPlasticTimer.cs プロジェクト: shuwithu/Faces
 public IPlasticTimer Get(bool bModalMode, int timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new UnityPlasticTimer(timerInterval, timerTickDelegate));
 }
コード例 #10
0
 public IPlasticTimer Get(bool bModalMode, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new MacPlasticTimer(
                bModalMode, 0.05, timerTickDelegate));
 }
コード例 #11
0
 internal MacPlasticTimer(bool bModalMode, double timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     mbModalMode        = bModalMode;
     mTimerInterval     = timerInterval;
     mTimerTickDelegate = timerTickDelegate;
 }
コード例 #12
0
 public IPlasticTimer Get(bool bModalMode, int timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new MacPlasticTimer(bModalMode, timerInterval / 1000f, timerTickDelegate));
 }