Renamed osgViewer::Config osgViewer::ViewConfig and moved it's declaration into include/osgViewer.
This commit is contained in:
@@ -14,18 +14,18 @@
|
||||
#ifndef OSGVIEWER_SingleWindow
|
||||
#define OSGVIEWER_SingleWindow 1
|
||||
|
||||
#include <osgViewer/Config>
|
||||
#include <osgViewer/View>
|
||||
|
||||
namespace osgViewer {
|
||||
|
||||
/** single camera on a single window.*/
|
||||
class OSGVIEWER_EXPORT SingleWindow : public Config
|
||||
class OSGVIEWER_EXPORT SingleWindow : public ViewConfig
|
||||
{
|
||||
public:
|
||||
|
||||
SingleWindow():_x(0),_y(0),_width(-1),_height(-1),_screenNum(0) {}
|
||||
SingleWindow(int x, int y, int width, int height, unsigned int screenNum=0):_x(x),_y(y),_width(width),_height(height),_screenNum(screenNum) {}
|
||||
SingleWindow(const SingleWindow& rhs, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY):Config(rhs,copyop), _x(rhs._x),_y(rhs._y),_width(rhs._width),_height(rhs._height),_screenNum(rhs._screenNum) {}
|
||||
SingleWindow(const SingleWindow& rhs, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY):ViewConfig(rhs,copyop), _x(rhs._x),_y(rhs._y),_width(rhs._width),_height(rhs._height),_screenNum(rhs._screenNum) {}
|
||||
|
||||
META_Object(osgViewer,SingleWindow);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user