14 #ifndef OSGVIEWER_SingleWindow
15 #define OSGVIEWER_SingleWindow 1
17 #include <osgViewer/View>
26 SingleWindow():_x(0),_y(0),_width(-1),_height(-1),_screenNum(0),_windowDecoration(true),_overrideRedirect(false) {}
27 SingleWindow(
int x,
int y,
int width,
int height,
unsigned int screenNum=0):_x(x),_y(y),_width(width),_height(height),_screenNum(screenNum),_windowDecoration(true),_overrideRedirect(false) {}
34 void setX(
int x) { _x = x; }
35 int getX()
const {
return _x; }
37 void setY(
int y) { _y = y; }
38 int getY()
const {
return _y; }
57 int _x,
_y, _width, _height;
bool getWindowDecoration() const
void setOverrideRedirect(bool override)
unsigned int getScreenNum() const
void setWindowDecoration(bool wd)
#define META_Object(library, name)
GLint GLenum GLsizei width
SingleWindow(int x, int y, int width, int height, unsigned int screenNum=0)
bool getOverrideRedirect() const
GLint GLenum GLsizei GLsizei height
void setScreenNum(unsigned int sn)
SingleWindow(const SingleWindow &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)