[GME-commit] GMESRC/GME/Gme GUIObject.cpp,1.48,1.49
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Tue Jul 20 12:58:59 CDT 2004
Update of /var/lib/gme/GMESRC/GME/Gme
In directory braindrain:/tmp/cvs-serv9643/Gme
Modified Files:
GUIObject.cpp
Log Message:
Minor fix for labels
CVS User: volgy
Index: GUIObject.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/GUIObject.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** GUIObject.cpp 20 Jul 2004 16:04:08 -0000 1.48
--- GUIObject.cpp 20 Jul 2004 16:58:56 -0000 1.49
***************
*** 154,161 ****
--- 154,167 ----
COMTHROW(decorator->GetLabelLocation(&sx, &sy, &ex, &ey));
+ /*
sx = min(sx, location.right-1);
ex = max(ex, location.left+1);
sy = min(sy, location.bottom-1);
ey = max(ey, location.top+1);
+ */
+ sx = min(sx, location.right+1);
+ ex = max(ex, location.left-1);
+ sy = min(sy, location.bottom+1);
+ ey = max(ey, location.top-1);
nameLoc.SetRect(sx, sy, ex, ey);
} catch (hresult_exception &) {
More information about the GME-commit
mailing list