Introduced Widget::WidgetStateSet to help localize the StateSet set up by Widget implementations from being serialized or
affecting what end users apply via the standard Node::s/getStateSet(). Further work on TabWidget. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14440 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -114,8 +114,8 @@ void Dialog::createGraphicsImplementation()
|
||||
titleLabel->getOrCreateUserDataContainer()->addUserObject(new osgUI::DragCallback);
|
||||
addChild(titleLabel.get());
|
||||
|
||||
style->setupDialogStateSet(getOrCreateStateSet(), 5);
|
||||
style->setupClipStateSet(dialogWithTitleExtents, getOrCreateStateSet());
|
||||
style->setupDialogStateSet(getOrCreateWidgetStateSet(), 5);
|
||||
style->setupClipStateSet(dialogWithTitleExtents, getOrCreateWidgetStateSet());
|
||||
|
||||
// render before the subgraph
|
||||
setGraphicsSubgraph(-1, _group.get());
|
||||
|
||||
Reference in New Issue
Block a user