Refined the colouring of widget to be more in sync with the defaults used in Qt.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14384 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -77,11 +77,11 @@ void PushButton::createGraphicsImplementation()
|
||||
|
||||
_buttonSwitch = new osg::Switch;
|
||||
|
||||
float unFocused = 0.7;
|
||||
float withFocus = 0.8;
|
||||
float pressed = 0.5;
|
||||
float unFocused = 0.92;
|
||||
float withFocus = 0.97;
|
||||
float pressed = 0.75;
|
||||
|
||||
osg::Vec4 frameColor(0.75f,0.75f,0.75f,1.0f);
|
||||
osg::Vec4 frameColor(unFocused,unFocused,unFocused,1.0f);
|
||||
|
||||
osg::BoundingBox extents(_extents);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user