[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]

RCOS C++ CRC for class CpuAnim

Name:

CpuAnim

Comment:

A class to perform all Window Painting..for CPU screen

Collaborators:

WinPainter

Responsibilities:

  class CpuAnim : public WinPainter {
    BOOL bVis[8];         // intuition gives 9 possible undirected paths
    void DrawQueue (INT16, INT16, char*);
    void MoveBug (point, point, BOOL);
    void DispQ (UINT16*, INT16, INT16, INT16 = -SLOT_DX);
  public:
    CpuAnim (void);
   ~CpuAnim (void) { }
    void Paint (void);
    void Anim (INT16, INT16, BOOL = FALSE);

    void PaintBox (PMSG_ANIP);
    void RefreshQ (UINT16, UINT16*);
    void PaintAllQ (MSG_ANIQ&);
  };