root/OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osgWidget/Frame.cpp @ 13041

Revision 13041, 0.9 kB (checked in by robert, 3 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1// -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008
2// $Id: Frame.cpp 50 2008-05-06 05:06:36Z cubicool $
3
4#include <osgDB/Registry>
5#include <osgDB/Input>
6#include <osgDB/Output>
7#include <osgDB/FileUtils>
8#include <osgWidget/Frame>
9
10bool osgWidget_Frame_readData(osg::Object& /*obj*/, osgDB::Input& fr)
11{
12        osgWidget::warn() << "Frame read" << std::endl;
13
14        return false;
15}
16
17bool osgWidget_Frame_writeData(const osg::Object& /*obj*/, osgDB::Output& fw)
18{
19        // const osgWidget::Frame& model = static_cast<const osgWidget::Frame&>(obj);
20
21        fw.indent() << fw.wrapString("Frame stuff...") << std::endl;
22
23        return true;
24}
25
26REGISTER_DOTOSGWRAPPER(g_osgWidget_FrameProxy)
27(
28        new osgWidget::Frame("unset"),
29        "osgWidget::Frame",
30        "Object Node Group Transform MatrixTransform osgWidget::Table osgWidget::Frame",
31        &osgWidget_Frame_readData,
32        &osgWidget_Frame_writeData
33);
Note: See TracBrowser for help on using the browser.