changeset 7365:f5e801eee0d1

[project @ 2008-01-13 06:33:32 by jwe]
author jwe
date Sun, 13 Jan 2008 06:33:32 +0000
parents 0e07f78369d1
children 2a2115742cb5
files src/ChangeLog src/graphics.h.in
diffstat 2 files changed, 22 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Jan 12 08:38:17 2008 +0000
+++ b/src/ChangeLog	Sun Jan 13 06:33:32 2008 +0000
@@ -1,3 +1,9 @@
+2008-01-13  Michael Goffioul <michael.goffioul@gmail.com>
+
+	* grahpics.h.in: Sprinkle with OCTINTERP_API as needed.
+	(axes::properties::xaxislocation): Allow value of zero.
+	(axes::properties::yaxislocation): Likewise.
+
 2008-01-12  Michael Goffioul <michael.goffioul@gmail.com>
 
 	* Makefile.in (distclean): Delete graphics-props.cc.
--- a/src/graphics.h.in	Sat Jan 12 08:38:17 2008 +0000
+++ b/src/graphics.h.in	Sun Jan 13 06:33:32 2008 +0000
@@ -954,7 +954,7 @@
 
 class base_graphics_object;
 
-class base_properties
+class OCTINTERP_API base_properties
 {
 public:
   base_properties (const std::string& ty = "unknown",
@@ -1100,7 +1100,7 @@
   virtual void init (void) { }
 };
 
-class base_graphics_object
+class OCTINTERP_API base_graphics_object
 {
 public:
   friend class graphics_object;
@@ -1223,7 +1223,7 @@
   int count;
 };
 
-class graphics_object
+class OCTINTERP_API graphics_object
 {
 public:
   graphics_object (void) : rep (new base_graphics_object ()) { }
@@ -1388,7 +1388,7 @@
 
 // ---------------------------------------------------------------------
 
-class root_figure : public base_graphics_object
+class OCTINTERP_API root_figure : public base_graphics_object
 {
 public:
   class properties : public base_properties
@@ -1520,7 +1520,7 @@
 
 // ---------------------------------------------------------------------
 
-class figure : public base_graphics_object
+class OCTINTERP_API figure : public base_graphics_object
 {
 public:
   class properties : public base_properties
@@ -1647,7 +1647,7 @@
 
 // ---------------------------------------------------------------------
 
-class axes : public base_graphics_object
+class OCTINTERP_API axes : public base_graphics_object
 {
 public:
   class properties : public base_properties
@@ -1712,8 +1712,8 @@
       radio_property xdir , "{normal}|reverse"
       radio_property ydir , "{normal}|reverse"
       radio_property zdir , "{normal}|reverse"
-      radio_property yaxislocation , "{left}|right"
-      radio_property xaxislocation , "{bottom}|top"
+      radio_property yaxislocation , "{left}|right|zero"
+      radio_property xaxislocation , "{bottom}|top|zero"
       array_property view , Matrix ()
       bool_property visible , "on"
       radio_property nextplot , "add|replace_children|{replace}"
@@ -1844,7 +1844,7 @@
 
 // ---------------------------------------------------------------------
 
-class line : public base_graphics_object
+class OCTINTERP_API line : public base_graphics_object
 {
 public:
   class properties : public base_properties
@@ -1935,7 +1935,7 @@
 
 // ---------------------------------------------------------------------
 
-class text : public base_graphics_object
+class OCTINTERP_API text : public base_graphics_object
 {
 public:
   class properties : public base_properties
@@ -2027,7 +2027,7 @@
 
 // ---------------------------------------------------------------------
 
-class image : public base_graphics_object
+class OCTINTERP_API image : public base_graphics_object
 {
 public:
   class properties : public base_properties
@@ -2110,7 +2110,7 @@
 
 // ---------------------------------------------------------------------
 
-class patch : public base_graphics_object
+class OCTINTERP_API patch : public base_graphics_object
 {
 public:
   class properties : public base_properties
@@ -2209,7 +2209,7 @@
 
 // ---------------------------------------------------------------------
 
-class surface : public base_graphics_object
+class OCTINTERP_API surface : public base_graphics_object
 {
 public:
   class properties : public base_properties
@@ -2311,7 +2311,7 @@
 
 // ---------------------------------------------------------------------
 
-class gh_manager
+class OCTINTERP_API gh_manager
 {
 protected:
 
@@ -2482,10 +2482,10 @@
 
 
 // This function is NOT equivalent to the scripting language function gcf.
-graphics_handle gcf (void);
+OCTINTERP_API graphics_handle gcf (void);
 
 // This function is NOT equivalent to the scripting language function gca.
-graphics_handle gca (void);
+OCTINTERP_API graphics_handle gca (void);
 
 #endif