|
Revision 13041, 0.8 kB
(checked in by robert, 14 months ago)
|
|
Ran script to remove trailing spaces and tabs
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | #include <osgDB/Registry> |
|---|
| 5 | #include <osgDB/Input> |
|---|
| 6 | #include <osgDB/Output> |
|---|
| 7 | #include <osgDB/FileUtils> |
|---|
| 8 | #include <osgWidget/Table> |
|---|
| 9 | |
|---|
| 10 | bool osgWidget_Table_readData(osg::Object& , osgDB::Input& fr) { |
|---|
| 11 | osgWidget::warn() << "Table read" << std::endl; |
|---|
| 12 | |
|---|
| 13 | return false; |
|---|
| 14 | } |
|---|
| 15 | |
|---|
| 16 | bool osgWidget_Table_writeData(const osg::Object& , osgDB::Output& fw) |
|---|
| 17 | { |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | fw.indent() << fw.wrapString("Table stuff...") << std::endl; |
|---|
| 21 | |
|---|
| 22 | return true; |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | REGISTER_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 | ); |
|---|