diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-25 13:30:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-25 13:30:03 (GMT) |
commit | 75d0d5da127d9d9b7fbc4b5989c6510eb950e402 (patch) | |
tree | 255663c368de4388994f1372fc8643165b175ddd /generic/tk.decls | |
parent | a0029792b685e19df1d79a8170579d88416055b0 (diff) | |
download | tk-75d0d5da127d9d9b7fbc4b5989c6510eb950e402.zip tk-75d0d5da127d9d9b7fbc4b5989c6510eb950e402.tar.gz tk-75d0d5da127d9d9b7fbc4b5989c6510eb950e402.tar.bz2 |
implement various internal win32 stub functions for cygwin
Diffstat (limited to 'generic/tk.decls')
-rw-r--r-- | generic/tk.decls | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/generic/tk.decls b/generic/tk.decls index c024cdb..2fae0b8 100644 --- a/generic/tk.decls +++ b/generic/tk.decls @@ -1026,7 +1026,28 @@ interface tkPlat ################################ # Unix specific functions -# (none) +# + +declare 0 unix { + Window Tk_AttachHWND(Tk_Window tkwin, void *hwnd) +} +declare 1 unix { + void *Tk_GetHINSTANCE(void) +} +declare 2 unix { + void *Tk_GetHWND(Window window) +} +declare 3 unix { + Tk_Window Tk_HWNDToWindow(void *hwnd) +} +declare 4 unix { + void Tk_PointerEvent(void *hwnd, int x, int y) +} +declare 5 unix { + int Tk_TranslateWinEvent(void *hwnd, + unsigned int message, int wParam, int lParam, int *result) +} + ################################ # Windows specific functions |