Show
Ignore:
Timestamp:
07/16/08 00:30:51 (6 years ago)
Author:
robert
Message:

From Jeremy Moles, Updated file references to reflect new data in OpenSceneGraph-Data

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgwidgetscrolled/osgwidgetscrolled.cpp

    r8600 r8602  
    8989    osgWidget::Frame* frame = osgWidget::Frame::createSimpleFrameWithSingleTexture( 
    9090        "frame", 
    91         "../examples/osgwidgetscrolled/theme-2.png", 
     91        "osgWidget/theme-2.png", 
    9292        64.0f, 
    9393        64.0f, 
     
    102102    // This is our Transformers box. :) 
    103103    osgWidget::Box*    box  = new osgWidget::Box("images", osgWidget::Box::VERTICAL); 
    104     osgWidget::Widget* img1 = new osgWidget::Widget("im1", 256.0f, 256.0f); 
    105     osgWidget::Widget* img2 = new osgWidget::Widget("im2", 256.0f, 256.0f); 
    106     osgWidget::Widget* img3 = new osgWidget::Widget("im3", 256.0f, 256.0f); 
    107     osgWidget::Widget* img4 = new osgWidget::Widget("im4", 256.0f, 256.0f); 
     104    osgWidget::Widget* img1 = new osgWidget::Widget("im1", 512.0f, 512.0f); 
     105    osgWidget::Widget* img2 = new osgWidget::Widget("im2", 512.0f, 512.0f); 
     106    osgWidget::Widget* img3 = new osgWidget::Widget("im3", 512.0f, 512.0f); 
     107    osgWidget::Widget* img4 = new osgWidget::Widget("im4", 512.0f, 512.0f); 
    108108 
    109     img1->setImage("../examples/osgwidgetscrolled/images/starscream.jpg", true); 
    110     img2->setImage("../examples/osgwidgetscrolled/images/optimus.jpg", true); 
    111     img3->setImage("../examples/osgwidgetscrolled/images/megatron.jpg", true); 
    112     img4->setImage("../examples/osgwidgetscrolled/images/bumblebee.jpg", true); 
     109    img1->setImage("osgWidget/scrolled1.jpg", true); 
     110    img2->setImage("osgWidget/scrolled2.jpg", true); 
     111    img3->setImage("osgWidget/scrolled3.jpg", true); 
     112    img4->setImage("osgWidget/scrolled4.jpg", true); 
    113113 
    114114    img1->setMinimumSize(10.0f, 10.0f);