فهرست منبع

extended write() to output the model width/height members

Cary Sandvig 25 سال پیش
والد
کامیت
976f5bf523
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      panda/src/gui/guiLabel.cxx

+ 2 - 0
panda/src/gui/guiLabel.cxx

@@ -501,6 +501,8 @@ void GuiLabel::write(ostream& os) const {
   os << "  _tex = 0x" << (void*)(this->_tex.p()) << endl;
   os << "  _internal = 0x" << (void*)(this->_internal) << endl;
   os << "  _gset = 0x" << (void*)(this->_gset) << endl;
+  os << "  _model_width = " << this->_model_width << endl;
+  os << "  _model_height = " << this->model_height << endl;
   os << "  _scale = " << this->_scale << endl;
   os << "  _pos = " << this->_pos << endl;
   os << "  _foreground = " << this->_foreground << endl;