Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8989 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jul 1, 2006, 5:32:45 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: notifier notifies

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/element_2d.cc

    r8360 r8989  
    700700        (*reparenter)->parentMode & E2D_REPARENT_ON_PARENTS_REMOVE)
    701701    {
    702       printf("TEST----------------%s ---- %s\n", this->getClassName(), (*reparenter)->getClassName());
    703702      (*reparenter)->reparent2D();
    704       printf("REPARENTED TO: %s::%s\n",(*reparenter)->getParent2D()->getClassName(),(*reparenter)->getParent2D()->getName());
     703      PRINTF(5)("REPARENTED TO: %s::%s\n",(*reparenter)->getParent2D()->getClassName(),(*reparenter)->getParent2D()->getName());
    705704    }
    706705  }
  • trunk/src/lib/graphics/text_engine/font.cc

    r8768 r8989  
    273273  Material::debug();
    274274
    275   PRINT(0)("TEST %p and %p\n", this->data.get(), this->data->textureData().get());
     275  //PRINT(0)("TEST %p and %p\n", this->data.get(), this->data->textureData().get());
    276276  // print the loaded font's style
    277277/*  int style = TTF_STYLE_NORMAL;
  • trunk/src/lib/gui/gl/glgui_widget.cc

    r8982 r8989  
    1414*/
    1515
    16 #define DEBUG_SPECIAL_MODULE 4//DEBUG_MODULE_GUI
     16#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI
    1717
    1818#include "glgui_widget.h"
     
    102102
    103103    this->_font = Font(ResourceManager::getInstance()->getDataDir() + "/fonts/final_frontier.ttf", 20);
    104     this->_font.debug();
    105104    this->resetStyle();
    106105
     
    757756    //this->_currentStyle = this->_style[state];
    758757    this->_state = state;
    759     PRINTF(3)("%s::%s Switches to state %s\n", this->getClassName(), this->getName(), OrxGui::StateString[state].c_str());
     758    PRINTF(4)("%s::%s Switches to state %s\n", this->getClassName(), this->getName(), OrxGui::StateString[state].c_str());
    760759
    761760    this->animateBack();
  • trunk/src/util/hud.cc

    r8988 r8989  
    165165
    166166  this->setSize2D(.2 * this->resX, this->resY);
     167  this->notifier->setAbsCoor2D(0.7 * this->resX, 0.3 * this->resY);
     168  this->notifier->setWidgetSize(0.25 * this->resX, 0.6 * this->resY);
    167169
    168170  if (this->energyWidget != NULL)
Note: See TracChangeset for help on using the changeset viewer.