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

Revision 13041, 0.8 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: Label.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/Label>
9
10bool osgWidget_Label_readData(osg::Object& /*obj*/, osgDB::Input& fr)
11{
12        osgWidget::warn() << "Label read" << std::endl;
13
14        return false;
15}
16
17bool osgWidget_Label_writeData(const osg::Object& /*obj*/, osgDB::Output& fw)
18{
19        // const osgWidget::Label& model = static_cast<const osgWidget::Label&>(obj);
20
21        fw.indent() << fw.wrapString("Label stuff...") << std::endl;
22
23        return true;
24}
25
26REGISTER_DOTOSGWRAPPER(g_osgWidget_LabelProxy)
27(
28        new osgWidget::Label("unset"),
29        "osgWidget::Label",
30        "Object Drawable Geometry osgWidget::Widget osgWidget::Label",
31        &osgWidget_Label_readData,
32        &osgWidget_Label_writeData
33);
Note: See TracBrowser for help on using the browser.