From afed229f7f70d51313239394f6e1079fa6086da3 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 29 Jun 2012 18:36:46 +0100 Subject: nearly finished --- src/obtsDevice.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/obtsDevice.h') diff --git a/src/obtsDevice.h b/src/obtsDevice.h index 33c130e..5f01277 100644 --- a/src/obtsDevice.h +++ b/src/obtsDevice.h @@ -69,7 +69,7 @@ class obtsDevice obtsDevice(); obtsDevice(string &imsi,string &imei,string &num,ofImage *_icon,ofVec2f _coords); virtual ~obtsDevice(); - void draw(float timeScale); //units per second + void draw(float ts); //units per second void connect(); void disconnect(); void ringing(obtsDevice *to); @@ -78,9 +78,12 @@ class obtsDevice void endCall(); void sms(obtsDevice *to); void excite(float amount=0.99); + float timeCoord(float t); protected: private: - float exciteLevel; + float exciteLevel; + float lastUsed; + float timeScale; string IMSI,IMEI,number; ofVec2f coords; //angular coords vector connectionHistory; @@ -90,6 +93,8 @@ class obtsDevice bool active,calling; float lastTime; + + ofColor colour; }; -- cgit v1.2.3