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

Revision 13041, 0.8 kB (checked in by robert, 2 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: Table.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/Table>
9
10bool osgWidget_Table_readData(osg::Object& /*obj*/, osgDB::Input& fr) {
11        osgWidget::warn() << "Table read" << std::endl;
12
13        return false;
14}
15
16bool osgWidget_Table_writeData(const osg::Object& /*obj*/, osgDB::Output& fw)
17{
18        // const osgWidget::Table& model = static_cast<const osgWidget::Table&>(obj);
19
20        fw.indent() << fw.wrapString("Table stuff...") << std::endl;
21
22        return true;
23}
24
25REGISTER_DOTOSGWRAPPER(g_osgWidget_TableProxy)
26(
27        new osgWidget::Table("unset"),
28        "osgWidget::Table",
29        "Object Node Group Transform MatrixTransform osgWidget::Table",
30        &osgWidget_Table_readData,
31        &osgWidget_Table_writeData
32);
Note: See TracBrowser for help on using the browser.