1
0
forked from 0ad/0ad

Removed some debug output in log only I need to see.

This was SVN commit r1091.
This commit is contained in:
Gee 2004-08-31 03:25:36 +00:00
parent 7e5ec93036
commit e2a8eb4def
2 changed files with 6 additions and 2 deletions

View File

@ -20,6 +20,7 @@ using namespace std;
//-------------------------------------------------------------------
CText::CText()
{
AddSetting(GUIST_int, "buffer-zone");
AddSetting(GUIST_CGUIString, "caption");
AddSetting(GUIST_CStr, "font");
AddSetting(GUIST_bool, "scrollbar");
@ -73,7 +74,10 @@ void CText::SetupText()
if (scrollbar && GetScrollBar(0).GetStyle())
width -= GetScrollBar(0).GetStyle()->m_Width;
*m_GeneratedTexts[0] = GetGUI()->GenerateText(caption, font, width, 4, this);
int buffer_zone=0;
GUI<int>::GetSetting(this, "buffer-zone", buffer_zone);
*m_GeneratedTexts[0] = GetGUI()->GenerateText(caption, font, width, buffer_zone, this);
// Setup scrollbar
if (scrollbar)

View File

@ -533,7 +533,7 @@ void CGUIString::SetValue(const CStr& str)
}
}
#if 1
#if 0
for (int i=0; i<(int)m_Words.size(); ++i)
{
LOG(NORMAL, LOG_CATEGORY, "m_Words[%d] = %d", i, m_Words[i]);