[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/include pgtimerobject.h,1.1.2.2,1.1.2.3
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/include pgtimerobject.h,1.1.2.2,1.1.2.3 |
Date: |
Wed, 29 May 2002 09:33:04 -0400 |
Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv7328/include
Modified Files:
Tag: devel-1-0
pgtimerobject.h
Log Message:
added old single timer (SDL_SetTimer) support to PG_TimerObject
Index: pgtimerobject.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/Attic/pgtimerobject.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** pgtimerobject.h 29 May 2002 09:25:17 -0000 1.1.2.2
--- pgtimerobject.h 29 May 2002 13:33:01 -0000 1.1.2.3
***************
*** 19,32 ****
bool RemoveTimer(PG_TimerID id);
virtual Uint32 eventTimer(PG_TimerID id, Uint32 interval);
private:
static Uint32 callbackTimer(Uint32 interval, void* data);
static PG_TimerID globalTimerID;
static std::map<PG_TimerID, PG_TimerObject*> timermap;
static Uint32 objectcount;
!
std::map<PG_TimerID, SDL_TimerID> my_timermap;
};
--- 19,39 ----
bool RemoveTimer(PG_TimerID id);
+ int SetTimer(Uint32 interval);
+
+ void StopTimer();
+
virtual Uint32 eventTimer(PG_TimerID id, Uint32 interval);
+ virtual Uint32 eventTimer(Uint32 interval);
private:
static Uint32 callbackTimer(Uint32 interval, void* data);
+ static Uint32 callbackSingleTimer(Uint32 interval);
static PG_TimerID globalTimerID;
static std::map<PG_TimerID, PG_TimerObject*> timermap;
static Uint32 objectcount;
! static PG_TimerObject* objSingleTimer;
!
std::map<PG_TimerID, SDL_TimerID> my_timermap;
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/include pgtimerobject.h,1.1.2.2,1.1.2.3,
Alexander Pipelka <address@hidden> <=