The MonochromeDisplay Class

Superclasses

The VirtualDisplay Class

Subclasses: MonochromeDisplay, Canvas3D & Render2D

MonochromeDisplay


 public:
        MonochromeDisplay()                                     {};
        virtual ~MonochromeDisplay()            {};

        void Setup( void );     // Setup the display is graphics mode
        virtual void Cleanup( void );

        virtual void StartFrame( void )         {};
        virtual void ClearFrame( void );
        virtual void FinishFrame( void );

        void Render2DPoint( int x1, int y1 );
        void Render2DPoint( float x1, float y1 );
        void Render2DLine( float x1, float y1, float x2, float y2 );
 

        // Use these with caution -- they will disrupt normal use of the graphics function above
        void EnterTextOnlyMode( void );
        void LeaveTextOnlyMode( void );
        void PrintTextOnly( char *string, ... );
        void ClearTextOnly( void );

  protected:
        int                             textX;
        int                             textY;

  protected:
        unsigned char *NewLineTextOnly( void );
        void ScrollTextOnly();