Show
Ignore:
Timestamp:
03/21/12 18:36:20 (3 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgWidget/WindowManager.cpp

    r12366 r13041  
    6060    if(_flags & WM_PICK_DEBUG) { 
    6161        _pickWindow = new Box("PickWindow", Box::VERTICAL); 
    62          
     62 
    6363        Label* label = new Label("PickLabel"); 
    6464 
     
    114114{ 
    115115    if(_flags & WM_USE_LUA) _lua->close(); 
    116      
     116 
    117117    if(_flags & WM_USE_PYTHON) _python->close(); 
    118118} 
     
    153153 
    154154            setFocused(topmostWindow); 
    155              
     155 
    156156            if(ev._widget) topmostWindow->setFocused(ev._widget); 
    157157        } 
     
    272272    _styleManager->applyStyles(window); 
    273273} 
    274      
     274 
    275275void WindowManager::childRemoved(unsigned int start, unsigned int numChildren) { 
    276276    for (unsigned int i = start; i < start+numChildren; i++) 
     
    281281 
    282282        if(_remove(window)) { 
    283          
     283 
    284284            window->_index = 0; 
    285285            window->unmanaged(this); 
     
    344344 
    345345    if(_flags & WM_PICK_DEBUG) _updatePickWindow(0, x, y); 
    346      
     346 
    347347    return false; 
    348348} 
     
    384384        warn() << "- " << i->get()->getName() << " " << i->get()->getOrCreateStateSet()->getBinNumber() << std::endl; 
    385385    } 
    386          
     386 
    387387    warn() << std::endl; 
    388388 
     
    395395 
    396396    ev._window = window; 
    397      
     397 
    398398    // Inform the previously focused Window that it is going to be unfocused. 
    399399    if(_focused.valid()) _focused->callMethodAndCallbacks(ev.makeType(EVENT_UNFOCUS)); 
     
    415415 
    416416        else if(w->getStrata() == Window::STRATA_BACKGROUND) bg.push_back(w); 
    417          
     417 
    418418        else focusable.push_back(w); 
    419419    } 
     
    451451    // Handled our special BACKGROUND Windows. 
    452452    for(Iterator w = bg.begin(); w != bg.end(); w++) w->get()->_z = -zRange * i; 
    453      
     453 
    454454    // Handle our special FOREGOUND Windows. 
    455455    for(Iterator w = fg.begin(); w != fg.end(); w++) w->get()->_z = -zRange; 
    456      
     456 
    457457    // Update every window, regardless. 
    458458    for(Iterator w = begin(); w != end(); w++) { 
    459459        Window* win = w->get(); 
    460          
     460 
    461461        win->_zRange = zRange; 
    462462 
     
    478478    // doesn't matter in our case), assume we have either up or down movement. 
    479479    if(ydiff != 0.0f) _lastVertical = ydiff > 0.0f ? PD_UP : PD_DOWN; 
    480          
     480 
    481481    else _lastVertical = PD_NONE; 
    482482 
     
    509509    for(Iterator i = begin(); i != end(); i++) if(i->valid()) { 
    510510        if(visible && !getValue(i->get()->_index)) continue; 
    511          
     511 
    512512        i->get()->resize(); 
    513513    } 
     
    557557 
    558558            evLeave.makeMouse(x, y, EVENT_MOUSE_LEAVE); 
    559              
     559 
    560560            setEventFromInterface(evLeave, _lastEvent); 
    561561