[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.3,1.4.4.4
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.3,1.4.4.4 |
Date: |
Mon, 10 Jun 2002 08:00:15 -0400 |
Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv9051/src/widgets
Modified Files:
Tag: devel-1-0
pgwidget.cpp
Log Message:
fixes for SetHidden(), IsHidden()
Index: pgwidget.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwidget.cpp,v
retrieving revision 1.4.4.3
retrieving revision 1.4.4.4
diff -C2 -r1.4.4.3 -r1.4.4.4
*** pgwidget.cpp 7 Jun 2002 14:46:50 -0000 1.4.4.3
--- pgwidget.cpp 10 Jun 2002 12:00:13 -0000 1.4.4.4
***************
*** 252,256 ****
bool PG_Widget::AcceptEvent(const SDL_Event * event) {
! if (!IsVisible()) {
return false;
}
--- 252,256 ----
bool PG_Widget::AcceptEvent(const SDL_Event * event) {
! if (!IsVisible() || IsHidden()) {
return false;
}
***************
*** 1932,1935 ****
--- 1932,1944 ----
void PG_Widget::SetHidden(bool hidden) {
my_internaldata->hidden = hidden;
+ if(my_internaldata->childList == NULL) {
+ return;
+ }
+ PG_RectList::iterator list = my_internaldata->childList->begin();
+
+ while (list != my_internaldata->childList->end()) {
+ (*list)->SetHidden(hidden);
+ list++;
+ }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/widgets pgwidget.cpp,1.4.4.3,1.4.4.4,
Alexander Pipelka <address@hidden> <=