Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10213 in orxonox.OLD for branches/gui/src


Ignore:
Timestamp:
Jan 10, 2007, 2:42:50 PM (18 years ago)
Author:
hejja
Message:

texturfehler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/world_entities/questGUI/quest_gui.cc

    r10211 r10213  
    4343#include "glgui.h"
    4444#include "menu/glgui_imagebutton.h"
    45 #include "glgui_multiline_text.h"background
     45#include "glgui_multiline_text.h"
    4646#include <glgui_image.h>
    4747
     
    7171  this->bKillGui = false;
    7272 
    73   this->background = "pogo_bunny.png";
     73  this->background = "maps/pogo_bunny.png";
    7474
    7575  this->myQuest = new Quest(root);
     
    109109    this->questBox= new OrxGui::GLGuiBox(OrxGui::Vertical);
    110110    this->bKillGui = false;
     111    this->questBox->setBackgroundTexture(background);
    111112   
    112113    OrxGui::GLGuiBox* headerBox = new OrxGui::GLGuiBox(OrxGui::Horizontal);
    113114    {
    114115      OrxGui::GLGuiImage* questImage = new OrxGui::GLGuiImage();
    115       questImage->setWidgetSize(100, 100);pictures/rand.gif maps/rand.gif
     116      questImage->setWidgetSize(100, 100);
    116117
    117118      questImage->loadImageFromFile(this->myQuest->getQuestPicture());
    118119      questImage->show();
     120      headerBox->setBackgroundTexture("maps/pogo_bunny.png");
    119121      headerBox->pack(questImage);
    120122     
     
    123125        OrxGui::GLGuiMultiLineText* questDifficulty = new OrxGui::GLGuiMultiLineText();
    124126        questDifficulty->setText(this->myQuest->getQuestDifficulty());
     127        outlineBox->setBackgroundTexture("pogo_bunny.png");
    125128        outlineBox->pack(questDifficulty);
    126129      }
     
    132135    {
    133136      OrxGui::GLGuiMultiLineText* questTxt = new OrxGui::GLGuiMultiLineText();
    134       questTxt->setText(this->myQuest->getQuestDescription());background
     137      questTxt->setText(this->myQuest->getQuestDescription());
    135138      labelBox->pack(questTxt);
    136139      labelBox->setBorderBottom(40);
     
    172175      answerBox->pack(refuseBox);
    173176    }
    174     this->questBox->setBackgroundTexture(background);
    175177    this->questBox->pack(headerBox);
    176178    this->questBox->pack(labelBox);
Note: See TracChangeset for help on using the changeset viewer.