19 #ifndef OST_GFX_GLWIN_BASE_HH
20 #define OST_GFX_GLWIN_BASE_HH
31 namespace ost {
namespace gfx {
39 virtual void DoRefresh() = 0;
41 virtual void StatusMessage(
const String& m) = 0;
43 virtual bool HasStereo()
const = 0;
45 virtual bool HasMultisample()
const = 0;
50 unsigned int height,
bool transparent) {
51 throw ost::Error(
"Image export not implemented for this GLWin");
55 unsigned int height,
int max_samples,
57 throw ost::Error(
"Image export with multi-sampling not implemented for "
62 throw ost::Error(
"Image export not implemented for this GLWin");
virtual void Export(const String &fname, bool transparent)
virtual void Export(const String &fname, unsigned int width, unsigned int height, bool transparent)
#define DLLEXPORT_OST_GFX
virtual void Export(const String &fname, unsigned int width, unsigned int height, int max_samples, bool transparent)
virtual void MakeActive()