]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
HYDRO feature 2: Images composing (T 1.3).
authorouv <ouv@opencascade.com>
Wed, 4 Sep 2013 11:41:43 +0000 (11:41 +0000)
committerouv <ouv@opencascade.com>
Wed, 4 Sep 2013 11:41:43 +0000 (11:41 +0000)
Taking into account the background color.

src/ImageComposer/ImageComposer_Operator.cxx
src/ImageComposer/ImageComposer_Operator.h

index 7a9fde0ad7eaca6a46051b9258d3d3d3c381d83f..5e52f22b93fbe6a90f5e7c05294110e62b403cfd 100644 (file)
@@ -19,6 +19,15 @@ ImageComposer_Operator::~ImageComposer_Operator()
 {
 }
 
+/**
+  Get operator arguments
+  @param theBackground the background color for result image
+*/
+void ImageComposer_Operator::getArgs( QColor& theBackground ) const
+{
+  theBackground = myBackground;
+}
+
 /**
   Set operator arguments
   @param theBackground the background color for result image
index a90b4853649c50b9c5d43056fc8e61311cf1d80f..142a1c6cba7bafa985b8155c706f8f381c0be656 100644 (file)
@@ -23,7 +23,9 @@ public:
   ImageComposer_Operator();
   virtual ~ImageComposer_Operator();
 
+  void getArgs( QColor& theBackground ) const;
   void setArgs( const QColor& theBackground );
+
   QByteArray getBinArgs() const;
   void setBinArgs( const QByteArray& );