Newer
Older
ubix2 / src / lib / objgfx40 / objgfx40 / vWidget.h
@reddawg reddawg on 1 Jun 2006 358 bytes ubix2
#ifndef VWIDGET_H
#define VWIDGET_H

#include <objgfx40/objgfx40.h>

class vWidget : public ogSurface {
  protected:
    bool   active;
  public:
    vWidget(void) { active = true; }
    virtual void vDraw(void) = 0;
    virtual bool vGetActive(void) const { return active; }
    virtual bool vSetActive(bool);
    virtual bool vCreate(void) = 0;
};

#endif