summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default_images/svx/res/cropmarkers.pngbin348 -> 476 bytes
-rw-r--r--default_images/svx/res/markers.pngbin2250 -> 2566 bytes
-rw-r--r--ooo_custom_images/hicontrast/svx/res/cropmarkers.pngbin1033 -> 668 bytes
-rw-r--r--ooo_custom_images/hicontrast/svx/res/markers.pngbin2232 -> 2236 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_bezierappend.pngbin333 -> 503 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_bezierclose.pngbin341 -> 589 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_bezierconvert.pngbin487 -> 733 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_beziercutline.pngbin580 -> 798 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_bezierdelete.pngbin583 -> 723 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_bezieredge.pngbin315 -> 489 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_bezierinsert.pngbin334 -> 503 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_beziermove.pngbin504 -> 742 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_beziersmooth.pngbin300 -> 497 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/lc_beziersymmetric.pngbin283 -> 483 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_bezierclose.pngbin228 -> 457 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_bezierconvert.pngbin174 -> 342 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_beziercutline.pngbin193 -> 324 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_bezierdelete.pngbin386 -> 530 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_bezieredge.pngbin220 -> 322 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_beziereliminatepoints.pngbin354 -> 507 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_bezierinsert.pngbin197 -> 345 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_beziermove.pngbin184 -> 335 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_beziersmooth.pngbin174 -> 283 bytes
-rw-r--r--ooo_custom_images/industrial/cmd/sc_beziersymmetric.pngbin174 -> 275 bytes
-rw-r--r--ooo_custom_images/industrial/svx/res/cd016.pngbin184 -> 335 bytes
-rw-r--r--ooo_custom_images/industrial/svx/res/cd017.pngbin197 -> 345 bytes
-rw-r--r--ooo_custom_images/industrial/svx/res/cd018.pngbin386 -> 530 bytes
-rw-r--r--ooo_custom_images/industrial/svx/res/cropmarkers.pngbin3605 -> 2433 bytes
-rw-r--r--ooo_custom_images/industrial/svx/res/id031.pngbin184 -> 335 bytes
-rw-r--r--ooo_custom_images/industrial/svx/res/id032.pngbin197 -> 345 bytes
-rw-r--r--ooo_custom_images/industrial/svx/res/id033.pngbin386 -> 530 bytes
-rw-r--r--ooo_custom_images/industrial/svx/res/markers.pngbin8054 -> 10186 bytes
-rw-r--r--svx/inc/svx/svdhdl.hxx2
-rw-r--r--svx/source/svdraw/svdhdl.cxx38
34 files changed, 28 insertions, 12 deletions
diff --git a/default_images/svx/res/cropmarkers.png b/default_images/svx/res/cropmarkers.png
index c37736f086a0..b73c914ea40a 100644
--- a/default_images/svx/res/cropmarkers.png
+++ b/default_images/svx/res/cropmarkers.png
Binary files differ
diff --git a/default_images/svx/res/markers.png b/default_images/svx/res/markers.png
index 0a69bbecd1ab..0d25820a1548 100644
--- a/default_images/svx/res/markers.png
+++ b/default_images/svx/res/markers.png
Binary files differ
diff --git a/ooo_custom_images/hicontrast/svx/res/cropmarkers.png b/ooo_custom_images/hicontrast/svx/res/cropmarkers.png
index 637704302148..b86d00a2f302 100644
--- a/ooo_custom_images/hicontrast/svx/res/cropmarkers.png
+++ b/ooo_custom_images/hicontrast/svx/res/cropmarkers.png
Binary files differ
diff --git a/ooo_custom_images/hicontrast/svx/res/markers.png b/ooo_custom_images/hicontrast/svx/res/markers.png
index e521d742164f..112591d1f310 100644
--- a/ooo_custom_images/hicontrast/svx/res/markers.png
+++ b/ooo_custom_images/hicontrast/svx/res/markers.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_bezierappend.png b/ooo_custom_images/industrial/cmd/lc_bezierappend.png
index d932b338d7be..313eacb8dcf5 100644
--- a/ooo_custom_images/industrial/cmd/lc_bezierappend.png
+++ b/ooo_custom_images/industrial/cmd/lc_bezierappend.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_bezierclose.png b/ooo_custom_images/industrial/cmd/lc_bezierclose.png
index 5fb5d9f6ac1b..e68622c4fcbc 100644
--- a/ooo_custom_images/industrial/cmd/lc_bezierclose.png
+++ b/ooo_custom_images/industrial/cmd/lc_bezierclose.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_bezierconvert.png b/ooo_custom_images/industrial/cmd/lc_bezierconvert.png
index 0149ff311237..08a6a87507cf 100644
--- a/ooo_custom_images/industrial/cmd/lc_bezierconvert.png
+++ b/ooo_custom_images/industrial/cmd/lc_bezierconvert.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_beziercutline.png b/ooo_custom_images/industrial/cmd/lc_beziercutline.png
index 644f8c8c4d7b..d7de54bbfa2d 100644
--- a/ooo_custom_images/industrial/cmd/lc_beziercutline.png
+++ b/ooo_custom_images/industrial/cmd/lc_beziercutline.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_bezierdelete.png b/ooo_custom_images/industrial/cmd/lc_bezierdelete.png
index d291553f1846..e7bc255f7b05 100644
--- a/ooo_custom_images/industrial/cmd/lc_bezierdelete.png
+++ b/ooo_custom_images/industrial/cmd/lc_bezierdelete.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_bezieredge.png b/ooo_custom_images/industrial/cmd/lc_bezieredge.png
index 5e6c4d3b22e7..4a9150453d09 100644
--- a/ooo_custom_images/industrial/cmd/lc_bezieredge.png
+++ b/ooo_custom_images/industrial/cmd/lc_bezieredge.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_bezierinsert.png b/ooo_custom_images/industrial/cmd/lc_bezierinsert.png
index c970fca7079e..85f0f634e79c 100644
--- a/ooo_custom_images/industrial/cmd/lc_bezierinsert.png
+++ b/ooo_custom_images/industrial/cmd/lc_bezierinsert.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_beziermove.png b/ooo_custom_images/industrial/cmd/lc_beziermove.png
index 52c0630366ab..f7f0d06f3404 100644
--- a/ooo_custom_images/industrial/cmd/lc_beziermove.png
+++ b/ooo_custom_images/industrial/cmd/lc_beziermove.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_beziersmooth.png b/ooo_custom_images/industrial/cmd/lc_beziersmooth.png
index 0fa22cc60da7..460f1eb70d45 100644
--- a/ooo_custom_images/industrial/cmd/lc_beziersmooth.png
+++ b/ooo_custom_images/industrial/cmd/lc_beziersmooth.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/lc_beziersymmetric.png b/ooo_custom_images/industrial/cmd/lc_beziersymmetric.png
index 02118d888198..e41a45464d53 100644
--- a/ooo_custom_images/industrial/cmd/lc_beziersymmetric.png
+++ b/ooo_custom_images/industrial/cmd/lc_beziersymmetric.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_bezierclose.png b/ooo_custom_images/industrial/cmd/sc_bezierclose.png
index e1828ec7ece8..e27db0c7231f 100644
--- a/ooo_custom_images/industrial/cmd/sc_bezierclose.png
+++ b/ooo_custom_images/industrial/cmd/sc_bezierclose.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_bezierconvert.png b/ooo_custom_images/industrial/cmd/sc_bezierconvert.png
index 75c48a626bf8..8f7821640743 100644
--- a/ooo_custom_images/industrial/cmd/sc_bezierconvert.png
+++ b/ooo_custom_images/industrial/cmd/sc_bezierconvert.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_beziercutline.png b/ooo_custom_images/industrial/cmd/sc_beziercutline.png
index be7c4a125f7f..046af2fbcd41 100644
--- a/ooo_custom_images/industrial/cmd/sc_beziercutline.png
+++ b/ooo_custom_images/industrial/cmd/sc_beziercutline.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_bezierdelete.png b/ooo_custom_images/industrial/cmd/sc_bezierdelete.png
index b45f14f11a9d..253b6a90295b 100644
--- a/ooo_custom_images/industrial/cmd/sc_bezierdelete.png
+++ b/ooo_custom_images/industrial/cmd/sc_bezierdelete.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_bezieredge.png b/ooo_custom_images/industrial/cmd/sc_bezieredge.png
index 763f31a84732..c67beb84b144 100644
--- a/ooo_custom_images/industrial/cmd/sc_bezieredge.png
+++ b/ooo_custom_images/industrial/cmd/sc_bezieredge.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_beziereliminatepoints.png b/ooo_custom_images/industrial/cmd/sc_beziereliminatepoints.png
index 2600754c9120..693b6d6b3f02 100644
--- a/ooo_custom_images/industrial/cmd/sc_beziereliminatepoints.png
+++ b/ooo_custom_images/industrial/cmd/sc_beziereliminatepoints.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_bezierinsert.png b/ooo_custom_images/industrial/cmd/sc_bezierinsert.png
index ced4ebb13e7a..9814063ed811 100644
--- a/ooo_custom_images/industrial/cmd/sc_bezierinsert.png
+++ b/ooo_custom_images/industrial/cmd/sc_bezierinsert.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_beziermove.png b/ooo_custom_images/industrial/cmd/sc_beziermove.png
index 1b78b2494a91..8eceb2695abe 100644
--- a/ooo_custom_images/industrial/cmd/sc_beziermove.png
+++ b/ooo_custom_images/industrial/cmd/sc_beziermove.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_beziersmooth.png b/ooo_custom_images/industrial/cmd/sc_beziersmooth.png
index b1448d41e444..4e6bb30e73a3 100644
--- a/ooo_custom_images/industrial/cmd/sc_beziersmooth.png
+++ b/ooo_custom_images/industrial/cmd/sc_beziersmooth.png
Binary files differ
diff --git a/ooo_custom_images/industrial/cmd/sc_beziersymmetric.png b/ooo_custom_images/industrial/cmd/sc_beziersymmetric.png
index 9b849d82f20f..ff66bbbaab2c 100644
--- a/ooo_custom_images/industrial/cmd/sc_beziersymmetric.png
+++ b/ooo_custom_images/industrial/cmd/sc_beziersymmetric.png
Binary files differ
diff --git a/ooo_custom_images/industrial/svx/res/cd016.png b/ooo_custom_images/industrial/svx/res/cd016.png
index 1b78b2494a91..d72b85e8fd2b 100644
--- a/ooo_custom_images/industrial/svx/res/cd016.png
+++ b/ooo_custom_images/industrial/svx/res/cd016.png
Binary files differ
diff --git a/ooo_custom_images/industrial/svx/res/cd017.png b/ooo_custom_images/industrial/svx/res/cd017.png
index ced4ebb13e7a..afb02396b1df 100644
--- a/ooo_custom_images/industrial/svx/res/cd017.png
+++ b/ooo_custom_images/industrial/svx/res/cd017.png
Binary files differ
diff --git a/ooo_custom_images/industrial/svx/res/cd018.png b/ooo_custom_images/industrial/svx/res/cd018.png
index 282513030bb8..7fec1ea0662b 100644
--- a/ooo_custom_images/industrial/svx/res/cd018.png
+++ b/ooo_custom_images/industrial/svx/res/cd018.png
Binary files differ
diff --git a/ooo_custom_images/industrial/svx/res/cropmarkers.png b/ooo_custom_images/industrial/svx/res/cropmarkers.png
index 0ded4feaae37..9b21b065906b 100644
--- a/ooo_custom_images/industrial/svx/res/cropmarkers.png
+++ b/ooo_custom_images/industrial/svx/res/cropmarkers.png
Binary files differ
diff --git a/ooo_custom_images/industrial/svx/res/id031.png b/ooo_custom_images/industrial/svx/res/id031.png
index 1b78b2494a91..bdd1318f94e3 100644
--- a/ooo_custom_images/industrial/svx/res/id031.png
+++ b/ooo_custom_images/industrial/svx/res/id031.png
Binary files differ
diff --git a/ooo_custom_images/industrial/svx/res/id032.png b/ooo_custom_images/industrial/svx/res/id032.png
index ced4ebb13e7a..4ae9f039d72b 100644
--- a/ooo_custom_images/industrial/svx/res/id032.png
+++ b/ooo_custom_images/industrial/svx/res/id032.png
Binary files differ
diff --git a/ooo_custom_images/industrial/svx/res/id033.png b/ooo_custom_images/industrial/svx/res/id033.png
index 282513030bb8..e72011438ec7 100644
--- a/ooo_custom_images/industrial/svx/res/id033.png
+++ b/ooo_custom_images/industrial/svx/res/id033.png
Binary files differ
diff --git a/ooo_custom_images/industrial/svx/res/markers.png b/ooo_custom_images/industrial/svx/res/markers.png
index 6240dc3760a7..4411148c1f0d 100644
--- a/ooo_custom_images/industrial/svx/res/markers.png
+++ b/ooo_custom_images/industrial/svx/res/markers.png
Binary files differ
diff --git a/svx/inc/svx/svdhdl.hxx b/svx/inc/svx/svdhdl.hxx
index 91a067a7a471..a9069cec6c9a 100644
--- a/svx/inc/svx/svdhdl.hxx
+++ b/svx/inc/svx/svdhdl.hxx
@@ -84,6 +84,7 @@ enum SdrHdlKind
HDL_REF2, // Referenzpunkt 2, z.B. Endpunkt der Spiegelachse
HDL_MIRX, // Die Spiegelachse selbst
HDL_GLUE, // GluePoint
+ HDL_GLUE_DESELECTED, // GluePoint
HDL_ANCHOR, // anchor symbol (SD, SW)
HDL_TRNS, // interactive transparence
HDL_GRAD, // interactive gradient
@@ -129,6 +130,7 @@ enum BitmapMarkerKind
RectPlus_11x11,
Crosshair,
Glue,
+ Glue_Deselected,
Anchor,
// #98388# add AnchorPressed to be able to aninate anchor control, too.
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index 75146b80696f..39c2af5ed9ac 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -168,15 +168,15 @@ const BitmapEx& SdrHdlBitmapSet::GetBitmapEx(BitmapMarkerKind eKindOfMarker, sal
}
case 2:
{
- return impGetOrCreateTargetBitmap(nIndex, Rectangle(Point(72, 78), Size(13, 13)));
+ return impGetOrCreateTargetBitmap(nIndex, Rectangle(Point(72, 79), Size(13, 13)));
}
case 3:
{
- return impGetOrCreateTargetBitmap(nIndex, Rectangle(Point(85, 78), Size(13, 13)));
+ return impGetOrCreateTargetBitmap(nIndex, Rectangle(Point(85, 79), Size(13, 13)));
}
case 4:
{
- return impGetOrCreateTargetBitmap(nIndex, Rectangle(Point(98, 78), Size(13, 13)));
+ return impGetOrCreateTargetBitmap(nIndex, Rectangle(Point(98, 79), Size(13, 13)));
}
default: // case 5:
{
@@ -243,20 +243,25 @@ const BitmapEx& SdrHdlBitmapSet::GetBitmapEx(BitmapMarkerKind eKindOfMarker, sal
case Glue:
{
- return impGetOrCreateTargetBitmap((KIND_COUNT * INDEX_COUNT) + 1, Rectangle(Point(15, 74), Size(9, 9)));
+ return impGetOrCreateTargetBitmap((KIND_COUNT * INDEX_COUNT) + 1, Rectangle(Point(15, 76), Size(9, 9)));
+ }
+
+ case Glue_Deselected:
+ {
+ return impGetOrCreateTargetBitmap((KIND_COUNT * INDEX_COUNT) + 1, Rectangle(Point(15, 67), Size(9, 9)));
}
case Anchor: // #101688# AnchorTR for SW
case AnchorTR:
{
- return impGetOrCreateTargetBitmap((KIND_COUNT * INDEX_COUNT) + 2, Rectangle(Point(24, 68), Size(24, 23)));
+ return impGetOrCreateTargetBitmap((KIND_COUNT * INDEX_COUNT) + 2, Rectangle(Point(24, 67), Size(24, 24)));
}
// #98388# add AnchorPressed to be able to aninate anchor control
case AnchorPressed:
case AnchorPressedTR:
{
- return impGetOrCreateTargetBitmap((KIND_COUNT * INDEX_COUNT) + 3, Rectangle(Point(48, 68), Size(24, 23)));
+ return impGetOrCreateTargetBitmap((KIND_COUNT * INDEX_COUNT) + 3, Rectangle(Point(48, 67), Size(24, 24)));
}
}
}
@@ -514,6 +519,11 @@ void SdrHdl::CreateB2dIAObject()
eKindOfMarker = Glue;
break;
}
+ case HDL_GLUE_DESELECTED:
+ {
+ eKindOfMarker = Glue_Deselected;
+ break;
+ }
case HDL_ANCHOR:
{
eKindOfMarker = Anchor;
@@ -675,6 +685,9 @@ BitmapEx SdrHdl::ImpGetBitmapEx( BitmapMarkerKind eKindOfMarker, sal_uInt16 nInd
case Glue:
eNextBigger = Crosshair;
break;
+ case Glue_Deselected:
+ eNextBigger = Glue;
+ break;
default:
break;
}
@@ -825,6 +838,7 @@ Pointer SdrHdl::GetPointer() const
case HDL_REF2 : ePtr=POINTER_REFHAND; break;
case HDL_BWGT : ePtr=POINTER_MOVEBEZIERWEIGHT; break;
case HDL_GLUE : ePtr=POINTER_MOVEPOINT; break;
+ case HDL_GLUE_DESELECTED : ePtr=POINTER_MOVEPOINT; break;
case HDL_CUSTOMSHAPE1 : ePtr=POINTER_HAND; break;
default:
break;
@@ -863,7 +877,7 @@ sal_Bool SdrHdl::IsFocusHdl() const
case HDL_REF2: // Referenzpunkt 2, z.B. Endpunkt der Spiegelachse
//case HDL_MIRX: // Die Spiegelachse selbst
case HDL_GLUE: // GluePoint
-
+ case HDL_GLUE_DESELECTED: // formerly a little blue cross
// #98388# do NOT activate here, let SW implement their own SdrHdl and
// overload IsFocusHdl() there to make the anchor accessible
//case HDL_ANCHOR: // anchor symbol (SD, SW)
@@ -1687,11 +1701,11 @@ int ImpSdrHdlListSorter::Compare(const void* pElem1, const void* pElem2) const
if (eKind1!=eKind2)
{
if (eKind1==HDL_REF1 || eKind1==HDL_REF2 || eKind1==HDL_MIRX) n1=5;
- else if (eKind1==HDL_GLUE) n1=2;
+ else if (eKind1==HDL_GLUE || eKind1==HDL_GLUE_DESELECTED) n1=2;
else if (eKind1==HDL_USER) n1=3;
else if (eKind1==HDL_SMARTTAG) n1=0;
if (eKind2==HDL_REF1 || eKind2==HDL_REF2 || eKind2==HDL_MIRX) n2=5;
- else if (eKind2==HDL_GLUE) n2=2;
+ else if (eKind2==HDL_GLUE || eKind2==HDL_GLUE_DESELECTED) n2=2;
else if (eKind2==HDL_USER) n2=3;
else if (eKind2==HDL_SMARTTAG) n2=0;
}
@@ -2222,12 +2236,12 @@ BitmapEx SdrCropHdl::GetBitmapForHandle( const BitmapEx& rBitmap, int nSize )
else if( nSize <=4 )
{
nPixelSize = 17;
- nOffset = 36;
+ nOffset = 39;
}
else
{
nPixelSize = 21;
- nOffset = 84;
+ nOffset = 90;
}
switch( eKind )
@@ -2243,7 +2257,7 @@ BitmapEx SdrCropHdl::GetBitmapForHandle( const BitmapEx& rBitmap, int nSize )
default: break;
}
- Rectangle aSourceRect( Point( nX * (nPixelSize-1) + nOffset, nY * (nPixelSize-1)), Size(nPixelSize, nPixelSize) );
+ Rectangle aSourceRect( Point( nX * (nPixelSize) + nOffset, nY * (nPixelSize)), Size(nPixelSize, nPixelSize) );
BitmapEx aRetval(rBitmap);
aRetval.Crop(aSourceRect);