diff options
author | joye <joye> | 2014-04-08 17:31:39 (GMT) |
---|---|---|
committer | joye <joye> | 2014-04-08 17:31:39 (GMT) |
commit | a000d08cecb5b599fc318503ae2e7a407b322635 (patch) | |
tree | 4425632334ce0355bfaf24975764ff97d809075d /src/bltGrElem.h | |
parent | d80c7412f31457840a836ba3b35d7eee3b46aa30 (diff) | |
download | blt-a000d08cecb5b599fc318503ae2e7a407b322635.zip blt-a000d08cecb5b599fc318503ae2e7a407b322635.tar.gz blt-a000d08cecb5b599fc318503ae2e7a407b322635.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrElem.h')
-rw-r--r-- | src/bltGrElem.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bltGrElem.h b/src/bltGrElem.h index 9b1f50a..d467ea8 100644 --- a/src/bltGrElem.h +++ b/src/bltGrElem.h @@ -113,7 +113,7 @@ typedef struct { } ElementOptions; class Element { - public: + protected: Graph* graphPtr_; const char* name_; Tk_OptionTable optionTable_; @@ -121,13 +121,14 @@ class Element { Tcl_HashEntry* hashPtr_; int hide_; + double xRange_; + double yRange_; + + public: unsigned short row_; unsigned short col_; int *activeIndices_; int nActiveIndices_; - double xRange_; - double yRange_; - Blt_ChainLink link; unsigned int flags; @@ -154,9 +155,11 @@ class Element { virtual const char* className() =0; virtual const char* typeName() =0; + Graph* graphPtr() {return graphPtr_;} const char* name() {return name_;} Tk_OptionTable optionTable() {return optionTable_;} void* ops() {return ops_;} + int hide() {return hide_;} }; extern void Blt_FreeStylePalette (Blt_Chain stylePalette); |