2025-01-04 04:12:51 +00:00
|
|
|
#include "viewer/GraphicsWindowEx.h"
|
|
|
|
#include "viewer/StateEx.h"
|
|
|
|
|
|
|
|
GraphicsWindowEx::GraphicsWindowEx(osg::GraphicsContext::Traits* traits)
|
2025-01-13 17:33:51 +00:00
|
|
|
: osgViewer::GraphicsWindowEmbedded(traits) {
|
2025-01-04 04:12:51 +00:00
|
|
|
_traits = traits;
|
|
|
|
|
|
|
|
init();
|
|
|
|
}
|
|
|
|
|
|
|
|
GraphicsWindowEx::GraphicsWindowEx(int x, int y, int width, int height)
|
2025-01-13 17:33:51 +00:00
|
|
|
: osgViewer::GraphicsWindowEmbedded(x, y, width, height)
|
2025-01-04 04:12:51 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|