[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/widgets pgwindow.cpp,1.3.6.6,1.3.6.7
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/widgets pgwindow.cpp,1.3.6.6,1.3.6.7 |
Date: |
Wed, 16 Apr 2003 05:21:42 -0400 |
Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv3986/src/widgets
Modified Files:
Tag: devel-1-0
pgwindow.cpp
Log Message:
fixed movement (borders) of child windows
Index: pgwindow.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgwindow.cpp,v
retrieving revision 1.3.6.6
retrieving revision 1.3.6.7
diff -C2 -r1.3.6.6 -r1.3.6.7
*** pgwindow.cpp 7 Apr 2003 22:28:18 -0000 1.3.6.6
--- pgwindow.cpp 16 Apr 2003 09:21:39 -0000 1.3.6.7
***************
*** 199,206 ****
x = pos.x;
y = pos.y; // Should not be moved out of the parent:
! if(x >= GetParent()->Width() - 5)
! x = GetParent()->Width() - 5;
! if(y >= GetParent()->Height() - 5)
! y = GetParent()->Height() - 5;
} else { // A top-level-widget
if(x > (my_srfScreen->w - my_width - 1))
--- 199,206 ----
x = pos.x;
y = pos.y; // Should not be moved out of the parent:
! if(x >= GetParent()->Width() - my_width - 1)
! x = GetParent()->Width() - my_width - 1;
! if(y >= GetParent()->Height() - my_height -1)
! y = GetParent()->Height() - my_height -1;
} else { // A top-level-widget
if(x > (my_srfScreen->w - my_width - 1))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/widgets pgwindow.cpp,1.3.6.6,1.3.6.7,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/test event_bug.cpp,NONE,1.1.2.1 Makefile.am,1.2.6.12,1.2.6.13 array.cpp,1.1.2.2,1.1.2.3
- Next by Date:
[paragui-cvs] CVS: paragui/test event_bug.cpp,1.1.2.1,1.1.2.2
- Previous by thread:
[paragui-cvs] CVS: paragui/test event_bug.cpp,NONE,1.1.2.1 Makefile.am,1.2.6.12,1.2.6.13 array.cpp,1.1.2.2,1.1.2.3
- Next by thread:
[paragui-cvs] CVS: paragui/test event_bug.cpp,1.1.2.1,1.1.2.2
- Index(es):