Show
Ignore:
Timestamp:
08/01/14 15:07:38 (14 hours ago)
Author:
robert
Message:

Implemented callbacks for validate(), textChanged() and returnPressed()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/applications/present3D/deprecated/Cluster.cpp

    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*/ 
     
    4040    #include <unistd.h> 
    4141    #include <net/soioctl.h> 
    42 #elif defined(__CYGWIN__)  
    43     #include <unistd.h> 
    44 #elif defined(__sun)  
     42#elif defined(__CYGWIN__) 
     43    #include <unistd.h> 
     44#elif defined(__sun) 
    4545    #include <unistd.h> 
    4646    #include <sys/sockio.h> 
     
    203203        ++itr) 
    204204    { 
    205         write(*(*itr)); 
     205        osgGA::GUIEventAdapter* event = (*itr)->asGUIEventAdapter(); 
     206        if (event) write(*(event)); 
    206207    } 
    207208} 
     
    250251////////////////////////////////////////////////////////////////////////////// 
    251252// 
    252 //  Reciever  
     253//  Reciever 
    253254// 
    254255Receiver::Receiver( void ) 
     
    339340#if defined(__linux) || defined(__FreeBSD__) || defined( __APPLE__ ) || \ 
    340341    defined(__DragonFly__) 
    341     socklen_t  
     342    socklen_t 
    342343#else 
    343344    int 
     
    382383////////////////////////////////////////////////////////////////////////////// 
    383384// 
    384 //  Broadcaster  
     385//  Broadcaster 
    385386// 
    386387Broadcaster::Broadcaster( void )