summaryrefslogtreecommitdiffstats
path: root/src/bltGraphBar.h
diff options
context:
space:
mode:
authorjoye <joye>2014-05-05 16:21:27 (GMT)
committerjoye <joye>2014-05-05 16:21:27 (GMT)
commitfefb3855ea88bea66eea1310084e38a8f6744502 (patch)
tree6c3ac1f908f1c7dde55d61f1c4b2fbc23b2d31f0 /src/bltGraphBar.h
parentca2e0a59b9e6727fde8fb2162ec874ee7a3e2fa4 (diff)
downloadblt-fefb3855ea88bea66eea1310084e38a8f6744502.zip
blt-fefb3855ea88bea66eea1310084e38a8f6744502.tar.gz
blt-fefb3855ea88bea66eea1310084e38a8f6744502.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGraphBar.h')
-rw-r--r--src/bltGraphBar.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bltGraphBar.h b/src/bltGraphBar.h
index 4c1479c..a8816da 100644
--- a/src/bltGraphBar.h
+++ b/src/bltGraphBar.h
@@ -34,7 +34,8 @@
#include "bltGraph.h"
-typedef struct {
+class BarGroup {
+ public:
int nSegments;
Axis* xAxis;
Axis* yAxis;
@@ -42,7 +43,10 @@ typedef struct {
int count;
float lastY;
size_t index;
-} BarGroup;
+
+ public:
+ BarGroup();
+};
typedef struct {
float value;
@@ -90,7 +94,7 @@ typedef struct {
class BarGraph : public Graph {
public:
- BarGroup *barGroups_;
+ BarGroup* barGroups_;
int nBarGroups_;
Tcl_HashTable setTable_;
int maxBarSetSize_;