summaryrefslogtreecommitdiffstats
path: root/src/bltGrLegd.h
diff options
context:
space:
mode:
authorjoye <joye>2014-05-30 20:45:14 (GMT)
committerjoye <joye>2014-05-30 20:45:14 (GMT)
commit94a928c01819a3509868f5f8b3b1f7aef91d5e42 (patch)
treec23df72b336f7135b7c7b2d3adf994da98f179fe /src/bltGrLegd.h
parentf3e5266f64229734eac61768e98dc1a02eb92711 (diff)
downloadblt-94a928c01819a3509868f5f8b3b1f7aef91d5e42.zip
blt-94a928c01819a3509868f5f8b3b1f7aef91d5e42.tar.gz
blt-94a928c01819a3509868f5f8b3b1f7aef91d5e42.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrLegd.h')
-rw-r--r--src/bltGrLegd.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/bltGrLegd.h b/src/bltGrLegd.h
index 6e956fa..0cbb39a 100644
--- a/src/bltGrLegd.h
+++ b/src/bltGrLegd.h
@@ -109,10 +109,6 @@ class Legend {
Tk_OptionTable optionTable_;
void* ops_;
- int width_;
- int height_;
- int x_;
- int y_;
GC focusGC_;
Tcl_HashTable selectTable_;
@@ -120,6 +116,11 @@ class Legend {
Graph* graphPtr_;
unsigned int flags;
+ int width_;
+ int height_;
+ int x_;
+ int y_;
+
int nEntries_;
int nColumns_;
int nRows_;
@@ -155,11 +156,6 @@ class Legend {
void removeElement(Element*);
int getElementFromObj(Tcl_Obj*, Element**);
- int width() {return width_;}
- int height() {return height_;}
- int x() {return x_;}
- int y() {return y_;}
-
void selectEntry(Element*);
void selectElement(Element*);
void deselectElement(Element*);
@@ -173,6 +169,8 @@ class Legend {
Position position() {return (Position)((LegendOptions*)ops_)->position;}
int isRaised() {return ((LegendOptions*)ops_)->raised;}
int isHidden() {return ((LegendOptions*)ops_)->hide;}
+
+ ClientData pickEntry(int, int, ClassId*);
};
#endif