summaryrefslogtreecommitdiffstats
path: root/tksao
diff options
context:
space:
mode:
Diffstat (limited to 'tksao')
-rw-r--r--tksao/frame/base.C8
-rw-r--r--tksao/frame/base.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C
index f5dc495..aca84a2 100644
--- a/tksao/frame/base.C
+++ b/tksao/frame/base.C
@@ -82,8 +82,6 @@ Base::Base(Tcl_Interp* i, Tk_Canvas c, Tk_Item* item)
panPM = 0;
panGCXOR = XCreateGC(display, Tk_WindowId(tkwin), 0, NULL);
- rotateGCXOR = XCreateGC(display, Tk_WindowId(tkwin), 0, NULL);
-
pannerPixmap = 0;
pannerXImage = NULL;
pannerWidth = 0;
@@ -206,9 +204,6 @@ Base::~Base()
if (panGCXOR)
XFreeGC(display, panGCXOR);
- if (rotateGCXOR)
- XFreeGC(display, rotateGCXOR);
-
if (pannerGC)
XFreeGC(display, pannerGC);
@@ -1418,9 +1413,6 @@ void Base::updateGCs()
// panGCXOR
XSetClipRectangles(display, panGCXOR, 0, 0, rectWindow, 1, Unsorted);
- // rotateGCXOR
- XSetClipRectangles(display, rotateGCXOR, 0, 0, rectWindow, 1, Unsorted);
-
// markerGC
XSetClipRectangles(display, markerGC_, 0, 0, rectWidget, 1, Unsorted);
XSetClipRectangles(display, markerGCXOR_, 0, 0, rectWindow, 1, Unsorted);
diff --git a/tksao/frame/base.h b/tksao/frame/base.h
index d50b406..5e10ea8 100644
--- a/tksao/frame/base.h
+++ b/tksao/frame/base.h
@@ -186,8 +186,6 @@ public:
Vector panCursor; // cursor for interactive panning
GC panGCXOR; // GC for interactive panning
- GC rotateGCXOR; // GC for interactive rotation
-
Pixmap pannerPixmap; // pixmap for panner
XImage* pannerXImage; // ximage for panner
int pannerWidth; // panner width