home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / VPR_DATA / DOGA / SOURCES / MEDIT.LZH / TIMEBAR.H < prev    next >
C/C++ Source or Header  |  1996-05-22  |  1KB  |  57 lines

  1. #if !defined(__timebar_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __timebar_h
  3.  
  4. /*  Project medit
  5.     Project Team DoGA
  6.     Copyright (c) 1995. All Rights Reserved.
  7.  
  8.     サブシステム:    medit.apx Application
  9.     ファイル:        timebar.h
  10.     作成者:          Taka2
  11.  
  12.  
  13.     概要
  14.     ====
  15.     TTimeBar (TScrollBar) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #define SLIDER_FRAME
  22.  
  23. #ifdef SLIDER_FRAME
  24. #include <owl\slider.h>
  25. #else
  26. #include <owl\scrollba.h>
  27. #endif
  28. #include "meditapp.rh"            // すべてのリソースの定義
  29.  
  30. class AnimationData;
  31.  
  32. //#define SLIDER_FRAME
  33.  
  34. //{{TScrollBar = TTimeBar}}
  35. #ifdef SLIDER_FRAME
  36. class TTimeBar : public THSlider {
  37. #else
  38. class TTimeBar : public TScrollBar {
  39. #endif
  40. public:
  41.     AnimationData *anim;
  42.     TTimeBar (TWindow* parent, AnimationData *a, int id, int x, int y, int w, int h, BOOL isHScrollBar, TModule* module = 0);
  43.     virtual ~TTimeBar ();
  44.     virtual int    PointToPos(TPoint& point);
  45.  
  46.  
  47. //{{TTimeBarVIRTUAL_BEGIN}}
  48. public:
  49.     virtual void SBPageDown ();
  50.     virtual void SBPageUp ();
  51. //{{TTimeBarVIRTUAL_END}}
  52. };    //{{TTimeBar}}
  53.  
  54.  
  55. #endif                                      // __timebar_h の番兵
  56.  
  57.