Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
860cba5c
Commit
860cba5c
authored
Jul 12, 1995
by
Ken Martin
Browse files
modified to work with tk4.0 tcl7.4 and tclX7.4a-b5
parent
629f59cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/XInterT.cc
View file @
860cba5c
...
...
@@ -25,6 +25,10 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
#include <math.h>
#include "tk.h"
extern
"C"
{
extern
int
TkXFileProc
(
ClientData
clientData
,
int
mask
,
int
flags
);
}
#define TK_IS_DISPLAY 32
// returns 1 if done
...
...
@@ -186,10 +190,12 @@ void vtkXRenderWindowInteractor::Initialize()
this
->
Size
[
1
]
=
size
[
1
];
// add in tcl init stuff
Tk_CreateFileHandler
(
ConnectionNumber
(
display
),
TK_READABLE
|
TK_IS_DISPLAY
,
(
void
(
*
)(
void
*
,
int
))
NULL
,
(
ClientData
)
display
);
Tk_CreateFileHandler2
(
ConnectionNumber
(
display
),
TkXFileProc
,
(
ClientData
)
display
);
// Tk_CreateFileHandler(ConnectionNumber(display),
// TK_READABLE|TK_IS_DISPLAY,
// (void (*)(void *,int)) NULL,
// (ClientData) display);
Tk_CreateGenericHandler
((
Tk_GenericProc
*
)
vtkTclEventProc
,(
ClientData
)
this
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment