summaryrefslogtreecommitdiffstats
path: root/Mac/Wastemods/WETabHooks.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-02-15 22:56:41 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-02-15 22:56:41 (GMT)
commitc982ef2df6af4c89151ba4d8f624a479f7ff0775 (patch)
treea2dbb3b48a84a9cbc8d392e14a1d54e23a85881b /Mac/Wastemods/WETabHooks.h
parent0de65807e6bdc5254f5a7e99b2f39adeea6b883b (diff)
downloadcpython-c982ef2df6af4c89151ba4d8f624a479f7ff0775.zip
cpython-c982ef2df6af4c89151ba4d8f624a479f7ff0775.tar.gz
cpython-c982ef2df6af4c89151ba4d8f624a479f7ff0775.tar.bz2
Waste 1.3 extra's modified for waste 2.0 (and missing from MW's distribution of 2.0).
Diffstat (limited to 'Mac/Wastemods/WETabHooks.h')
-rw-r--r--Mac/Wastemods/WETabHooks.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/Mac/Wastemods/WETabHooks.h b/Mac/Wastemods/WETabHooks.h
new file mode 100644
index 0000000..6405426
--- /dev/null
+++ b/Mac/Wastemods/WETabHooks.h
@@ -0,0 +1,32 @@
+/*
+ * WETabHooks.h
+ *
+ * WASTE TABS PACKAGE
+ * Private (internal) interface
+ *
+ * Copyright (c) 1993-1998 Marco Piovanelli
+ * All Rights Reserved
+ *
+ */
+
+
+#ifndef _WASTE_
+#include "WASTE.h"
+#endif
+
+enum {
+ kTabSizeTag = 'tbsz'
+};
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+pascal void _WETabDrawText(const char *, SInt32, Fixed, JustStyleCode, WEReference);
+pascal SInt32 _WETabPixelToChar(const char *, SInt32, Fixed, Fixed *, WEEdge *, JustStyleCode, Fixed, WEReference);
+pascal SInt16 _WETabCharToPixel(const char *, SInt32, Fixed, SInt32, SInt16, JustStyleCode, SInt16, WEReference);
+pascal StyledLineBreakCode _WETabLineBreak(const char *, SInt32, SInt32, SInt32, Fixed *, SInt32 *, WEReference);
+
+#ifdef __cplusplus
+}
+#endif