Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / XGUI / XGUI_ViewBackground.h
index 749f21b3857b40658f005952b41fe841b69e6c8b..74528490a90decfe92e6535f9938a3732b0d37ff 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef XGUI_ViewBackground_H
 #define XGUI_ViewBackground_H
 
+#include "XGUI.h"
 #include "XGUI_Constants.h"
 
 #include <QColor>
@@ -44,9 +45,9 @@ typedef QList<QColor> QColorList;     //!< list of colors
  bg.setTextureShown( true );                            // draw texture on the solid color background
  \endcode
  */
-class XGUI_ViewBackground
+class XGUI_EXPORT XGUI_ViewBackground
 {
-public:
+ public:
   XGUI_ViewBackground();
   XGUI_ViewBackground(const QColor& theColor);
   XGUI_ViewBackground(XGUI::GradientType type, const QColor& theColor1, const QColor& theColor2);
@@ -95,7 +96,7 @@ public:
   const QGradient* gradient() const;
   void setGradient(const QGradient&);
 
-private:
+ private:
   XGUI::BackgroundMode myMode;
   XGUI::TextureMode myTextureMode;
   QString myFileName;