/[paragui]/paragui/src/core/pglog.cpp
ViewVC logotype

Diff of /paragui/src/core/pglog.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.6.8 by braindead, Sun Mar 30 16:30:57 2003 UTC revision 1.1.6.8.2.1 by braindead, Tue Dec 2 15:27:58 2003 UTC
# Line 179  void PG_LogConsole::Update() { Line 179  void PG_LogConsole::Update() {
179          //If LogWindow is not initialized and it is possible, do it ...          //If LogWindow is not initialized and it is possible, do it ...
180          if (PG_LogWindow == NULL) {          if (PG_LogWindow == NULL) {
181                  PG_Rect r(25,100,PG_Application::GetScreenWidth()-50,300);                  PG_Rect r(25,100,PG_Application::GetScreenWidth()-50,300);
182                  PG_LogWindow = new PG_Window(NULL, r, my_title.c_str(), WF_SHOW_CLOSE, "Window", 25);                  PG_LogWindow = new PG_Window(NULL, r, my_title.c_str(), PG_Window::SHOW_CLOSE, "Window", 25);
183                  PG_LogWindowData = new PG_RichEdit(PG_LogWindow, PG_Rect(1,26,r.w-2,r.h-27));                  PG_LogWindowData = new PG_RichEdit(PG_LogWindow, PG_Rect(1,26,r.w-2,r.h-27));
184          }          }
185    
# Line 218  void PG_LogConsole::Update() { Line 218  void PG_LogConsole::Update() {
218          PG_LogWindowData->SetText(buffer);          PG_LogWindowData->SetText(buffer);
219  }  }
220    
221  void PG_LogConsole::SetTitle(const char* title, int alignment) {  /*void PG_LogConsole::SetTitle(const char* title, PG_Label::TextAlign alignment) {
222          my_title = title;          my_title = title;
223    
224          if (PG_LogWindow) {          if (PG_LogWindow) {
225                  PG_LogWindow->SetTitle(title, alignment);                  PG_LogWindow->SetTitle(title, alignment);
226          }          }
227  }  }*/
228    
229  void PG_LogConsole::Show() {  void PG_LogConsole::Show() {
230          if(PG_LogWindow) {          if(PG_LogWindow) {

Legend:
Removed from v.1.1.6.8  
changed lines
  Added in v.1.1.6.8.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26