aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlecoanet2000-05-26 08:14:15 +0000
committerlecoanet2000-05-26 08:14:15 +0000
commit4b9cae628e8c06d106948c4fe5af96bb1138e8b6 (patch)
tree6dabd03dd77d5e8a89ac7fdb77963b5b666f7d19
parent27bdd9cb2b9f75139a25b6c9b24aa070fc2c0f7c (diff)
downloadtkzinc-4b9cae628e8c06d106948c4fe5af96bb1138e8b6.zip
tkzinc-4b9cae628e8c06d106948c4fe5af96bb1138e8b6.tar.gz
tkzinc-4b9cae628e8c06d106948c4fe5af96bb1138e8b6.tar.bz2
tkzinc-4b9cae628e8c06d106948c4fe5af96bb1138e8b6.tar.xz
Modif de la structure de classe pour l'ajout des nouvelles m�thodes.
Prise en compte de l'anneau de focus.
-rw-r--r--generic/Group.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/generic/Group.c b/generic/Group.c
index 029e32c..c794d7d 100644
--- a/generic/Group.c
+++ b/generic/Group.c
@@ -310,8 +310,8 @@ SetXShape(Item grp)
/*
* Now normalize the shape and map it to the window size.
*/
- width = wi->width + 2*wi->border_width;
- height = wi->height + 2*wi->border_width;
+ width = wi->width + 2*wi->inset;
+ height = wi->height + 2*wi->inset;
xpts = (XPoint *) ZnMalloc(max_num_pts * sizeof(XPoint));
XShapeCombineMask(wi->dpy, wi->full_reshape?ZnWindowId(wi->win):wi->real_top,
ShapeBounding, 0, 0, None, ShapeSet);
@@ -1067,6 +1067,11 @@ static ItemClassStruct GROUP_ITEM_CLASS = {
NULL, /* GetAnchor */
NULL, /* GetClipVertices */
Coords,
+ NULL, /* InsertChars */
+ NULL, /* DeleteChars */
+ NULL, /* Cursor */
+ NULL, /* Index */
+ NULL, /* Selection */
NULL, /* Contour */
ComputeCoordinates,
ToArea,