Show
Ignore:
Timestamp:
07/24/14 16:14:35 (32 hours ago)
Author:
robert
Message:

Added support for changing background colour of LineEdit? widget when focus changes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/applications/present3D/deprecated/PointsEventHandler.h

    r13720 r13890  
    1 /* -*-c++-*- Present3D - Copyright (C) 1999-2006 Robert Osfield  
     1/* -*-c++-*- Present3D - Copyright (C) 1999-2006 Robert Osfield 
    22 * 
    3  * This software is open source and may be redistributed and/or modified under   
     3 * This software is open source and may be redistributed and/or modified under 
    44 * the terms of the GNU General Public License (GPL) version 2.0. 
    55 * The full license is in LICENSE.txt file included with this distribution,. 
    6  *  
     6 * 
    77 * This software is distributed in the hope that it will be useful, 
    88 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1010 * include LICENSE.txt for more details. 
    1111*/ 
     
    2323    public: 
    2424        PointsEventHandler(); 
    25      
     25 
    2626        virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&); 
    27          
    28         virtual void accept(osgGA::GUIEventHandlerVisitor& v); 
    29          
     27 
    3028        void getUsage(osg::ApplicationUsage& usage) const; 
    31          
     29 
    3230        void setStateSet(osg::StateSet* stateset) { _stateset=stateset; } 
    33          
     31 
    3432        osg::StateSet* getStateSet() { return _stateset.get(); } 
    35          
     33 
    3634        const osg::StateSet* getStateSet() const { return _stateset.get(); } 
    37          
     35 
    3836        void setPointSize(float psize); 
    3937 
    4038        float getPointSize() const; 
    41          
     39 
    4240        void changePointSize(float delta); 
    43          
     41 
    4442        void changePointAttenuation(float scale); 
    4543