Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10211 in orxonox.OLD for branches


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

anfangs stunde

File:
1 edited

Legend:

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

    r10167 r10211  
    4343#include "glgui.h"
    4444#include "menu/glgui_imagebutton.h"
    45 #include "glgui_multiline_text.h"
     45#include "glgui_multiline_text.h"background
    4646#include <glgui_image.h>
    4747
     
    7171  this->bKillGui = false;
    7272 
    73   this->background = "/pictures/map.jpg";
     73  this->background = "pogo_bunny.png";
    7474
    7575  this->myQuest = new Quest(root);
     
    113113    {
    114114      OrxGui::GLGuiImage* questImage = new OrxGui::GLGuiImage();
    115       questImage->setWidgetSize(100, 100);
     115      questImage->setWidgetSize(100, 100);pictures/rand.gif maps/rand.gif
     116
    116117      questImage->loadImageFromFile(this->myQuest->getQuestPicture());
    117118      questImage->show();
     
    131132    {
    132133      OrxGui::GLGuiMultiLineText* questTxt = new OrxGui::GLGuiMultiLineText();
    133       questTxt->setText(this->myQuest->getQuestDescription());
     134      questTxt->setText(this->myQuest->getQuestDescription());background
    134135      labelBox->pack(questTxt);
    135136      labelBox->setBorderBottom(40);
     
    171172      answerBox->pack(refuseBox);
    172173    }
     174    this->questBox->setBackgroundTexture(background);
    173175    this->questBox->pack(headerBox);
    174176    this->questBox->pack(labelBox);
Note: See TracChangeset for help on using the changeset viewer.