Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8513 in orxonox.OLD for branches/gui


Ignore:
Timestamp:
Jun 16, 2006, 12:49:47 AM (18 years ago)
Author:
bensch
Message:

gui: notifier: nicer style, better graphics, and much more improoved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl/specials/glgui_notifier.cc

    r8512 r8513  
    7171      this->displayLines.push_front(dl);
    7272
     73      dl.text->setVisibility(true);
     74      dl.text->setRelCoor2D(this->calculateLinePosition(0));
    7375      this->repositionText();
    7476    }
     
    119121    text->setSize(this->style().textSize());
    120122    text->setLineWidth( 300 );
    121     //text->setFont(this->fontFile, this->textSize);
    122 
    123     //text->setColor( Color(1,1,1,1)/*this->style().foregroundColor() */);
     123    text->setFont("fonts/final_frontier.ttf", (int)this->style().textSize());
     124
     125    text->setColor(this->style().foregroundColor() );
    124126    if (text->getParent2D() != this)
    125127      text->setParent2D(this);
     
    141143          ++line;
    142144
     145          (*tmp).text->setVisibility(false);
    143146          this->hiddenText.push((*tmp).text);
    144147          this->displayLines.erase(tmp);
Note: See TracChangeset for help on using the changeset viewer.