home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / Clocks / DockClock / Source / Clock.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  877 b   |  41 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. //#import <objc/Object.h>
  5. #import <appkit/View.h>
  6. #import <dpsclient/dpsclient.h>
  7.  
  8. @interface Clock:View
  9. {
  10.     DPSTimedEntry timer;
  11.     int ctype;
  12.     BOOL Mflag, Sflag, Cflag, Bflag;
  13.     id  image;
  14.     id  back;
  15.     id  snd;
  16.     id  tFont;        // Actually I probably won't need this.  All I need to do is change sizes
  17.     id  dFont;
  18. }
  19.  
  20. - init;
  21. - free;
  22. - (const char *)getSectionName:(int)TYPE;
  23. - drawSelf:(const NXRect *)rectangle :(int)rectCount;
  24. - setType:(int)TYPE;
  25. - setUpIcon;
  26. - (int)getType;
  27. - setMilitary:(BOOL)flag;
  28. - (BOOL)getMilitary;
  29. - setSeconds:(BOOL)flag;
  30. - (BOOL)getSeconds;
  31. - setChime:(BOOL)flag;
  32. - (BOOL)getChime;
  33. - setBezier:(BOOL)flag;
  34. - (BOOL)getBezier;
  35. - setChimeFile:(const char *)file;
  36.  
  37. void doStep(DPSTimedEntry teNum, double now, void *userData);
  38. float centerstring(id theFont, char *theString, float width);
  39.  
  40. @end
  41.