summaryrefslogtreecommitdiffstats
path: root/generic/tkDecls.h
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2021-03-06 01:14:21 (GMT)
committerKevin Walzer <kw@codebykevin.com>2021-03-06 01:14:21 (GMT)
commitb8953821c2fd3ff58885138ddd3037eb17ca79fe (patch)
tree3fd20901602c3699cc6d2730342316eea233a8fe /generic/tkDecls.h
parent1e4967476d036d15872bf52495fb316098a50394 (diff)
parent0a9213075871ce2995c09448b33795b1ae53118e (diff)
downloadtk-b8953821c2fd3ff58885138ddd3037eb17ca79fe.zip
tk-b8953821c2fd3ff58885138ddd3037eb17ca79fe.tar.gz
tk-b8953821c2fd3ff58885138ddd3037eb17ca79fe.tar.bz2
Replacing my printer code with a complete implementation courtesy of Harald Oehlmann; adding Michael Schwartz's GDI code after light tweaking, more extensive review and re-work needed to build; need to review and add Michael Schwartz's script-level implementation for printing text files and canvas widgets based on these C primitives
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r--generic/tkDecls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index dee52bd..b7b0c14 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -893,6 +893,9 @@ EXTERN void Tk_SendVirtualEvent(Tk_Window tkwin,
const char *eventName, Tcl_Obj *detail);
/* 279 */
EXTERN Tcl_Obj * Tk_FontGetDescription(Tk_Font tkfont);
+/* 280 */
+EXTERN void Tk_CreatePhotoImageFormatVersion3(
+ const Tk_PhotoImageFormatVersion3 *formatPtr);
typedef struct {
const struct TkPlatStubs *tkPlatStubs;
@@ -1185,6 +1188,8 @@ typedef struct TkStubs {
Tcl_Obj * (*tk_NewWindowObj) (Tk_Window tkwin); /* 277 */
void (*tk_SendVirtualEvent) (Tk_Window tkwin, const char *eventName, Tcl_Obj *detail); /* 278 */
Tcl_Obj * (*tk_FontGetDescription) (Tk_Font tkfont); /* 279 */
+ void (*tk_CreatePhotoImageFormatVersion3) (
+ const Tk_PhotoImageFormatVersion3 *formatPtr); /* 280 */
} TkStubs;
extern const TkStubs *tkStubsPtr;
@@ -1757,6 +1762,8 @@ extern const TkStubs *tkStubsPtr;
(tkStubsPtr->tk_SendVirtualEvent) /* 278 */
#define Tk_FontGetDescription \
(tkStubsPtr->tk_FontGetDescription) /* 279 */
+#define Tk_CreatePhotoImageFormatVersion3 \
+ (tkStubsPtr->tk_CreatePhotoImageFormatVersion3) /* 280 */
#endif /* defined(USE_TK_STUBS) */