diff options
author | joye <joye> | 2014-05-29 19:53:45 (GMT) |
---|---|---|
committer | joye <joye> | 2014-05-29 19:53:45 (GMT) |
commit | 615e5da45310fee9eed7dd02e801b726690f911c (patch) | |
tree | 393cec571cbc6faf70f0dc325db8be41be3d651d /src/bltGrBind.h | |
parent | 68277af79a37bd5b54abba0cb4214b123e6eee12 (diff) | |
download | blt-615e5da45310fee9eed7dd02e801b726690f911c.zip blt-615e5da45310fee9eed7dd02e801b726690f911c.tar.gz blt-615e5da45310fee9eed7dd02e801b726690f911c.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrBind.h')
-rw-r--r-- | src/bltGrBind.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/bltGrBind.h b/src/bltGrBind.h index 77580a4..7beb694 100644 --- a/src/bltGrBind.h +++ b/src/bltGrBind.h @@ -32,10 +32,12 @@ #include <tk.h> +#include "bltGrMisc.h" + class BindTable; class Graph; -typedef ClientData (Blt_BindPickProc)(ClientData clientData, int x, int y, ClientData *contextPtr); +typedef ClientData (BltBindPickProc)(ClientData, int, int, ClassId*); class BindTable { public: @@ -43,22 +45,22 @@ class BindTable { unsigned int flags_; Tk_BindingTable table_; ClientData currentItem_; - ClientData currentContext_; + ClassId currentContext_; ClientData newItem_; - ClientData newContext_; + ClassId newContext_; ClientData focusItem_; - ClientData focusContext_; + ClassId focusContext_; XEvent pickEvent_; int state_; - Blt_BindPickProc* pickProc_; + BltBindPickProc* pickProc_; public: - BindTable(Graph*, Blt_BindPickProc* pickProc); + BindTable(Graph*, BltBindPickProc* pickProc); virtual ~BindTable(); int configure(ClientData, int, Tcl_Obj *const []); void deleteBindings(ClientData object); - void doEvent(XEvent*, ClientData, ClientData); + void doEvent(XEvent*, ClientData, ClassId); void pickItem(XEvent*); }; |