diff options
author | joye <joye> | 2014-06-27 18:29:04 (GMT) |
---|---|---|
committer | joye <joye> | 2014-06-27 18:29:04 (GMT) |
commit | 28ed0c0f433e631a758088c8cee4be9f450c2039 (patch) | |
tree | cbfeda3d3aa89dc555dbf103ef1a3471c0bf46bf /src | |
parent | 6608d626098f2df532c7423fc0043a51864d18ec (diff) | |
download | blt-28ed0c0f433e631a758088c8cee4be9f450c2039.zip blt-28ed0c0f433e631a758088c8cee4be9f450c2039.tar.gz blt-28ed0c0f433e631a758088c8cee4be9f450c2039.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/bltGrBind.h | 50 | ||||
-rw-r--r-- | src/bltGrLegd.h | 3 | ||||
-rw-r--r-- | src/bltGraph.h | 4 |
3 files changed, 29 insertions, 28 deletions
diff --git a/src/bltGrBind.h b/src/bltGrBind.h index 305cf34..d07c767 100644 --- a/src/bltGrBind.h +++ b/src/bltGrBind.h @@ -34,37 +34,39 @@ #include "bltGrMisc.h" -class BindTable; class Pick; class Graph; -class BindTable { - protected: - Tk_BindingTable table_; - unsigned int grab_; - ClientData newItem_; - ClassId newContext_; - Pick* pickPtr_; +namespace Blt { - public: - Graph* graphPtr_; - ClientData currentItem_; - ClassId currentContext_; - ClientData focusItem_; - ClassId focusContext_; - int state_; - XEvent pickEvent_; + class BindTable { + protected: + Tk_BindingTable table_; + unsigned int grab_; + ClientData newItem_; + ClassId newContext_; + Pick* pickPtr_; - public: - BindTable(Graph*, Pick*); - virtual ~BindTable(); + public: + Graph* graphPtr_; + ClientData currentItem_; + ClassId currentContext_; + ClientData focusItem_; + ClassId focusContext_; + int state_; + XEvent pickEvent_; + + public: + BindTable(Graph*, Pick*); + virtual ~BindTable(); - int configure(ClientData, int, Tcl_Obj *const []); - void deleteBindings(ClientData object); - void doEvent(XEvent*); - void pickItem(XEvent*); + int configure(ClientData, int, Tcl_Obj *const []); + void deleteBindings(ClientData object); + void doEvent(XEvent*); + void pickItem(XEvent*); - ClientData currentItem() {return currentItem_;} + ClientData currentItem() {return currentItem_;} + }; }; diff --git a/src/bltGrLegd.h b/src/bltGrLegd.h index 9dee8cb..030df17 100644 --- a/src/bltGrLegd.h +++ b/src/bltGrLegd.h @@ -41,7 +41,6 @@ class Graph; class Pick; class Element; -class Legend; /* * Selection related flags: @@ -127,7 +126,7 @@ class Legend : public Pick { int nRows_; int entryWidth_; int entryHeight_; - BindTable* bindTable_; + Blt::BindTable* bindTable_; Element* focusPtr_; Element* selAnchorPtr_; Element* selMarkPtr_; diff --git a/src/bltGraph.h b/src/bltGraph.h index d13c890..5ee09bf 100644 --- a/src/bltGraph.h +++ b/src/bltGraph.h @@ -40,7 +40,6 @@ extern "C" { #include "bltGrText.h" class Graph; -class BindTable; class Crosshairs; class Axis; class Element; @@ -53,6 +52,7 @@ class Pick { }; namespace Blt { + class BindTable; class Marker; class Postscript; class PSOutput; @@ -145,7 +145,7 @@ class Graph : public Pick { Component elements_; Component markers_; Tcl_HashTable penTable_; - BindTable* bindTable_; + Blt::BindTable* bindTable_; Blt_Chain axisChain_[4]; Legend* legend_; |