paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/src/widgets pgradiobutton.cpp,1.3.6.2,1.3.6.3


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pgradiobutton.cpp,1.3.6.2,1.3.6.3 pgwidget.cpp,1.4.4.18,1.4.4.19 pgwindow.cpp,1.3.6.5,1.3.6.6
Date: Mon, 07 Apr 2003 18:28:20 -0400

Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv2823/src/widgets

Modified Files:
      Tag: devel-1-0
        pgradiobutton.cpp pgwidget.cpp pgwindow.cpp 
Log Message:
- SetIcon(const char* filename), SetIcon(SDL_Surface* icon) for
  PG_Window's title bar (H.C. <address@hidden>)
- another wrapper function for PG_Widget::my_internaldata->quitmodal
  which allows one to set it to false (H.C. <address@hidden>)
- removed unnecessary Redraw() call in PG_RadioButton::SetText(...)
  (H.C. <address@hidden>)



Index: pgradiobutton.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgradiobutton.cpp,v
retrieving revision 1.3.6.2
retrieving revision 1.3.6.3
diff -C2 -r1.3.6.2 -r1.3.6.3
*** pgradiobutton.cpp   28 Mar 2003 19:59:42 -0000      1.3.6.2
--- pgradiobutton.cpp   7 Apr 2003 22:28:18 -0000       1.3.6.3
***************
*** 167,171 ****
  void PG_RadioButton::SetText(const char* text) {
        my_widgetLabel->SetText(text);
-       my_widgetLabel->Redraw();
  }
  
--- 167,170 ----

Index: pgwidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwidget.cpp,v
retrieving revision 1.4.4.18
retrieving revision 1.4.4.19
diff -C2 -r1.4.4.18 -r1.4.4.19
*** pgwidget.cpp        5 Apr 2003 14:48:33 -0000       1.4.4.18
--- pgwidget.cpp        7 Apr 2003 22:28:18 -0000       1.4.4.19
***************
*** 1516,1519 ****
--- 1516,1523 ----
  }
  
+ void PG_Widget::StopQuitModal() {
+       my_internaldata->quitModalLoop = false;
+ }
+ 
  int PG_Widget::RunModal() {
        SDL_Event event;

Index: pgwindow.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwindow.cpp,v
retrieving revision 1.3.6.5
retrieving revision 1.3.6.6
diff -C2 -r1.3.6.5 -r1.3.6.6
*** pgwindow.cpp        5 Apr 2003 14:48:33 -0000       1.3.6.5
--- pgwindow.cpp        7 Apr 2003 22:28:18 -0000       1.3.6.6
***************
*** 250,253 ****
--- 250,263 ----
  }
  
+ void PG_Window::SetIcon(const char* filename)
+ {
+       my_labelTitle->SetIcon(filename);
+ }
+       
+ void PG_Window::SetIcon(SDL_Surface* icon)
+ {
+       my_labelTitle->SetIcon(icon);
+ }
+ 
  void PG_Window::eventShow() {
        my_buttonClose->SetVisible(my_showCloseButton);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]