summaryrefslogtreecommitdiffstats
path: root/tkmacosx
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2020-05-21 16:17:56 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2020-05-21 16:17:56 (GMT)
commit4fc0ada7ae95bf973d8490392bd0a0411aa9021d (patch)
treee236bd99d6b242256c3f0c58282f9a99e3ff4e37 /tkmacosx
parent86c67055812b4e3395e4f2b832aac81b4a5bfa34 (diff)
downloadblt-4fc0ada7ae95bf973d8490392bd0a0411aa9021d.zip
blt-4fc0ada7ae95bf973d8490392bd0a0411aa9021d.tar.gz
blt-4fc0ada7ae95bf973d8490392bd0a0411aa9021d.tar.bz2
cleanup code
Diffstat (limited to 'tkmacosx')
-rwxr-xr-xtkmacosx/configure1
-rw-r--r--tkmacosx/configure.ac1
-rw-r--r--tkmacosx/macosxlib.h24
-rw-r--r--tkmacosx/tkmacosx.M72
-rw-r--r--tkmacosx/tkmacosx.h32
5 files changed, 0 insertions, 130 deletions
diff --git a/tkmacosx/configure b/tkmacosx/configure
index 50d031c..9c0a361 100755
--- a/tkmacosx/configure
+++ b/tkmacosx/configure
@@ -5377,7 +5377,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
vars="
tkmacosx.M
- macosxlib.M
xxlib.M
"
for i in $vars; do
diff --git a/tkmacosx/configure.ac b/tkmacosx/configure.ac
index 8a081df..218b806 100644
--- a/tkmacosx/configure.ac
+++ b/tkmacosx/configure.ac
@@ -74,7 +74,6 @@ AC_PROG_CXX
TEA_ADD_SOURCES([
tkmacosx.M
- macosxlib.M
xxlib.M
])
TEA_ADD_HEADERS([
diff --git a/tkmacosx/macosxlib.h b/tkmacosx/macosxlib.h
index 338eb40..2226fb4 100644
--- a/tkmacosx/macosxlib.h
+++ b/tkmacosx/macosxlib.h
@@ -14,28 +14,4 @@ void XXWarpPointer(Display* display, Window src_w, Window dest_w,
int src_x, int src_y,
unsigned int src_width, unsigned int src_height,
int dest_x, int dest_y);
-
-void macosxBegin() {}
-void macosxEnd() {}
-
-void macosxColor(XColor*) {}
-void macosxWidth(float) {}
-void macosxDash(float*,int) {}
-void macosxFont(const char*, float) {}
-void macosxClip(Vector, Vector) {}
-
-void macosxNewPath() {}
-void macosxStroke() {}
-void macosxFill() {}
-void macosxArc(Vector, float, float, float) {}
-void macosxCurve(Vector, Vector, Vector, Vector) {}
-
-void macosxDrawText(Vector, float, const char*) {}
-void macosxDrawLine(Vector, Vector) {}
-void macosxDrawLines(Vector*, int) {}
-void macosxFillPolygon(Vector*, int) {}
-void macosxDrawArc(Vector, float, float, float) {}
-
-void macosxBitmapCreate(void*, int, int, const Vector&, const Vector&) {}
-
#endif
diff --git a/tkmacosx/tkmacosx.M b/tkmacosx/tkmacosx.M
index 17e5e2b..8ac9e94 100644
--- a/tkmacosx/tkmacosx.M
+++ b/tkmacosx/tkmacosx.M
@@ -208,75 +208,3 @@ int TkMacosx::pmPageSetup()
{
return TCL_OK;
}
-
-// drawing routines
-
-void TkMacosx::begin()
-{
-}
-
-void TkMacosx::end()
-{
-}
-
-void TkMacosx::color(float red, float green, float blue)
-{
-}
-
-void TkMacosx::width(float ww)
-{
-}
-
-void TkMacosx::dash(float* dd, int nn)
-{
-}
-
-void TkMacosx::font(const char* font, float size)
-{
-}
-
-void TkMacosx::clip(float x, float y, float w, float h)
-{
-}
-
-void TkMacosx::newpath()
-{
-}
-
-void TkMacosx::stroke()
-{
-}
-
-void TkMacosx::fill()
-{
-}
-
-void TkMacosx::arc(float x, float y, float rad, float ang1, float ang2)
-{
-}
-
-void TkMacosx::curve(float x0, float y0, float u0, float v0,
- float u1, float v1, float x1, float y1)
-{
-}
-
-void TkMacosx::drawText(float x, float y, float angle, const char* text)
-{
-}
-
-void TkMacosx::drawLines(float* x, float* y, int n)
-{
-}
-
-void TkMacosx::fillPolygon(float* x, float* y, int n)
-{
-}
-
-void TkMacosx::drawArc(float x, float y, float rad, float ang1, float ang2)
-{
-}
-
-void TkMacosx::bitmapCreate(void* data, int width, int height,
- float x, float y, float w, float h)
-{
-}
diff --git a/tkmacosx/tkmacosx.h b/tkmacosx/tkmacosx.h
index d31e408..7391ec8 100644
--- a/tkmacosx/tkmacosx.h
+++ b/tkmacosx/tkmacosx.h
@@ -25,16 +25,6 @@ class TkMacosx {
Matrix canvasToPage;
PMView* pmView;
- /*
- int showDialog;
- CGContextRef context;
- OSStatus status;
-
- PMPageFormat pageFormat;
- PMPrintSettings printSettings;
- PMPrintSession printSession;
- */
-
int pmPrint(int, const char**);
int pmPrintBegin(int, const char**);
int pmPrintEnd();
@@ -50,28 +40,6 @@ class TkMacosx {
int locale(int, const char**);
const Matrix& getCanvasToPage() {return canvasToPage;}
-
- void begin();
- void end();
-
- void color(float,float,float);
- void width(float);
- void dash(float*,int);
- void font(const char*, float);
- void clip(float, float, float, float);
-
- void newpath();
- void stroke();
- void fill();
- void arc(float, float, float, float, float);
- void curve(float, float, float, float, float, float, float, float);
-
- void drawText(float, float, float, const char*);
- void drawLines(float*, float*, int);
- void fillPolygon(float*, float*, int);
- void drawArc(float, float, float, float, float);
-
- void bitmapCreate(void*, int, int, float, float, float, float);
};
extern TkMacosx* tkmacosx;