//line.h #ifndef LINE_H #define LINE_H #include "screenbuffer.h" class line { public: line(int r, int c, int s); virtual void draw(screenbuffer& sc)=0; protected: int size; //number of "pixels" int row; int col; char mysymbol; }; //end line class hor_line :public line { public: hor_line(int r, int c, int s); void draw(screenbuffer&); static void setsymbol(char s); private: static char symbol; }; //end hor_line class vert_line:public line { public: vert_line(int r, int c, int s); void draw(screenbuffer&); static void setsymbol(char s); private: static char symbol; }; //end vert_line #endif