Definition at line 30 of file InfoViewer.h. References OglGui::TextEdit::Editable(), mEditor, OglGui::TextEdit::ReadFile(), OglGui::OglWindow::SetBackground(), OglGui::OglWindow::SetBorderBackground(), OglGui::OglWindow::SetBorderFillShaded(), OglGui::TitledWindow::SetContentPane(), OglGui::OglWindow::SetRoundness(), and OglGui::TextEdit::SetText(). 00031 { 00032 mEditor = new TextEdit(this, 0, 0, 10, 10, "", 3); 00033 mEditor->SetBackground(0); 00034 mEditor->SetBorderBackground(0x80ffffff); 00035 mEditor->Editable(false); 00036 mEditor->SetBorderFillShaded(2); 00037 this->SetRoundness(0,0,0,0); 00038 this->SetContentPane(mEditor); 00039 if (!mEditor->ReadFile(fName)) 00040 { 00041 char buf[2048]; 00042 sprintf(buf, "File : [%s] not found", fName.c_str()); 00043 mEditor->SetText(buf); 00044 } 00045 }
Here is the call graph for this function:
|