paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/src/widgets pgdropdown.cpp,1.5,1.6 pgmessageb


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pgdropdown.cpp,1.5,1.6 pgmessagebox.cpp,1.5,1.6 pgradiobutton.cpp,1.5,1.6 pgscrollbar.cpp,1.4,1.5 pgspinnerbox.cpp,1.4,1.5 pgwidget.cpp,1.10,1.11 pgwindow.cpp,1.7,1.8
Date: Thu, 02 May 2002 05:50:42 -0400

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

Modified Files:
        pgdropdown.cpp pgmessagebox.cpp pgradiobutton.cpp 
        pgscrollbar.cpp pgspinnerbox.cpp pgwidget.cpp pgwindow.cpp 
Log Message:
signal cleanup



Index: pgdropdown.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgdropdown.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pgdropdown.cpp      30 Apr 2002 14:07:19 -0000      1.5
--- pgdropdown.cpp      2 May 2002 09:50:40 -0000       1.6
***************
*** 85,89 ****
  }
  
! bool PG_DropDown::handleButtonClick(PG_Button* widget, PG_Pointer* data) {
        if(widget->GetID() != PG_IDDROPDOWN_BOX) {
                return false;
--- 85,89 ----
  }
  
! bool PG_DropDown::handleButtonClick(PG_Button* widget) {
        if(widget->GetID() != PG_IDDROPDOWN_BOX) {
                return false;
***************
*** 130,134 ****
  }
  
! bool PG_DropDown::handleSelectItem(PG_ListBoxItem* item, PG_Pointer* data) {
  
        my_EditBox->SetText(item->GetText());
--- 130,134 ----
  }
  
! bool PG_DropDown::handleSelectItem(PG_ListBoxItem* item) {
  
        my_EditBox->SetText(item->GetText());

Index: pgmessagebox.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgmessagebox.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pgmessagebox.cpp    28 Apr 2002 16:35:30 -0000      1.5
--- pgmessagebox.cpp    2 May 2002 09:50:40 -0000       1.6
***************
*** 81,85 ****
  
  //Event?
! bool PG_MessageBox::handleButtonClick(PG_Button* widget, PG_Pointer* data) {
        //Button clicked?
        if(widget == my_btnok) {
--- 81,85 ----
  
  //Event?
! bool PG_MessageBox::handleButtonClick(PG_Button* widget) {
        //Button clicked?
        if(widget == my_btnok) {

Index: pgradiobutton.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgradiobutton.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pgradiobutton.cpp   27 Apr 2002 15:36:55 -0000      1.5
--- pgradiobutton.cpp   2 May 2002 09:50:40 -0000       1.6
***************
*** 113,117 ****
  }
  
! bool PG_RadioButton::handleButtonClick(PG_Button* widget, PG_Pointer* data) {
  
        if(widget == my_widgetButton) {
--- 113,117 ----
  }
  
! bool PG_RadioButton::handleButtonClick(PG_Button* widget) {
  
        if(widget == my_widgetButton) {

Index: pgscrollbar.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgscrollbar.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** pgscrollbar.cpp     27 Apr 2002 11:57:23 -0000      1.4
--- pgscrollbar.cpp     2 May 2002 09:50:40 -0000       1.5
***************
*** 384,388 ****
  }
  
! bool PG_ScrollBar::handleButtonClick(PG_Button* button, PG_Pointer* data) {
        
        if(button == scrollbutton[0]) {         // UP | LEFT
--- 384,388 ----
  }
  
! bool PG_ScrollBar::handleButtonClick(PG_Button* button) {
        
        if(button == scrollbutton[0]) {         // UP | LEFT

Index: pgspinnerbox.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgspinnerbox.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** pgspinnerbox.cpp    27 Apr 2002 11:57:23 -0000      1.4
--- pgspinnerbox.cpp    2 May 2002 09:50:40 -0000       1.5
***************
*** 75,79 ****
  }
  
! bool PG_SpinnerBox::handleButtonClick(PG_Button* widget, PG_Pointer* data) {
  
        if(widget == m_pButtonUp) {
--- 75,79 ----
  }
  
! bool PG_SpinnerBox::handleButtonClick(PG_Button* widget) {
  
        if(widget == m_pButtonUp) {

Index: pgwidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwidget.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** pgwidget.cpp        30 Apr 2002 14:51:13 -0000      1.10
--- pgwidget.cpp        2 May 2002 09:50:40 -0000       1.11
***************
*** 1151,1156 ****
        PG_Application::RedrawBackground(r);
        SDL_SetClipRect(screen, (PG_Rect*)&r);
!       //widgetList.Intersect((PG_Rect*)&r).Blit(r);
!       widgetList.Blit(r);
        SDL_SetClipRect(screen, NULL);
        PG_Application::UnlockScreen();
--- 1151,1156 ----
        PG_Application::RedrawBackground(r);
        SDL_SetClipRect(screen, (PG_Rect*)&r);
!       widgetList.Intersect((PG_Rect*)&r).Blit(r);
!       //widgetList.Blit(r);
        SDL_SetClipRect(screen, NULL);
        PG_Application::UnlockScreen();
***************
*** 1786,1792 ****
  }
  
! bool PG_Widget::IsClippingEnabled() {
        return ((my_internaldata->rectClip.my_width != my_width) || 
(my_internaldata->rectClip.my_height != my_height));
! }
  
  void PG_Widget::GetClipRects(PG_Rect& src, PG_Rect& dst) {
--- 1786,1792 ----
  }
  
! /*bool PG_Widget::IsClippingEnabled() {
        return ((my_internaldata->rectClip.my_width != my_width) || 
(my_internaldata->rectClip.my_height != my_height));
! }*/
  
  void PG_Widget::GetClipRects(PG_Rect& src, PG_Rect& dst) {

Index: pgwindow.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwindow.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** pgwindow.cpp        30 Apr 2002 14:51:13 -0000      1.7
--- pgwindow.cpp        2 May 2002 09:50:40 -0000       1.8
***************
*** 207,211 ****
  }
  
! bool PG_Window::handleButtonClick(PG_Button* widget, PG_Pointer* data) {
        // close window
        if(widget == my_buttonClose) {
--- 207,211 ----
  }
  
! bool PG_Window::handleButtonClick(PG_Button* widget) {
        // close window
        if(widget == my_buttonClose) {




reply via email to

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