summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2014-03-13 18:32:31 (GMT)
committerjoye <joye>2014-03-13 18:32:31 (GMT)
commit0546a3871b024a769d081534871063a7006f74b6 (patch)
tree765d86d195265d7b48c9ccccfc3884c53d8640b9 /src
parent181c00a2b1a36254788e6854134dac3803a97e9f (diff)
downloadblt-0546a3871b024a769d081534871063a7006f74b6.zip
blt-0546a3871b024a769d081534871063a7006f74b6.tar.gz
blt-0546a3871b024a769d081534871063a7006f74b6.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrMarkerLine.h8
-rw-r--r--src/bltGrMarkerPolygon.h5
-rw-r--r--src/bltGrMarkerText.h5
3 files changed, 12 insertions, 6 deletions
diff --git a/src/bltGrMarkerLine.h b/src/bltGrMarkerLine.h
index f5ab354..31b862c 100644
--- a/src/bltGrMarkerLine.h
+++ b/src/bltGrMarkerLine.h
@@ -32,7 +32,8 @@
#include "bltGrMarker.h"
-typedef struct {
+class LineMarker {
+ public:
GraphObj obj; /* Must be first field in marker. */
MarkerClass *classPtr;
@@ -70,6 +71,9 @@ typedef struct {
int state;
+ struct {
+ } opts;
+
XColor* fillColor;
XColor* outlineColor; /* Foreground and background colors */
@@ -90,6 +94,6 @@ typedef struct {
int xorr;
int xorState; /* State of the XOR drawing. Indicates
* if the marker is currently drawn. */
-} LineMarker;
+};
#endif
diff --git a/src/bltGrMarkerPolygon.h b/src/bltGrMarkerPolygon.h
index bd93b27..3570b3d 100644
--- a/src/bltGrMarkerPolygon.h
+++ b/src/bltGrMarkerPolygon.h
@@ -32,7 +32,8 @@
#include "bltGrMarker.h"
-typedef struct {
+class PolygonMarker {
+ public:
GraphObj obj; /* Must be first field in marker. */
MarkerClass *classPtr;
@@ -115,6 +116,6 @@ typedef struct {
int xorState; /* State of the XOR drawing. Indicates
* if the marker is visible. We have to
* drawn it again to erase it. */
-} PolygonMarker;
+};
#endif
diff --git a/src/bltGrMarkerText.h b/src/bltGrMarkerText.h
index d4cd1c3..b3e289d 100644
--- a/src/bltGrMarkerText.h
+++ b/src/bltGrMarkerText.h
@@ -32,7 +32,8 @@
#include "bltGrMarker.h"
-typedef struct {
+class TextMarker {
+ public:
GraphObj obj; /* Must be first field in marker. */
MarkerClass *classPtr;
@@ -73,6 +74,6 @@ typedef struct {
Point2d outline[5];
XColor* fillColor;
GC fillGC;
-} TextMarker;
+};
#endif