From 7bd4c89d9936a5a88e389759039cb43df8fa7ec4 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 4 Sep 2013 11:41:43 +0000 Subject: [PATCH] HYDRO feature 2: Images composing (T 1.3). Taking into account the background color. --- src/ImageComposer/ImageComposer_Operator.cxx | 9 +++++++++ src/ImageComposer/ImageComposer_Operator.h | 2 ++ 2 files changed, 11 insertions(+) diff --git a/src/ImageComposer/ImageComposer_Operator.cxx b/src/ImageComposer/ImageComposer_Operator.cxx index 7a9fde0ad..5e52f22b9 100644 --- a/src/ImageComposer/ImageComposer_Operator.cxx +++ b/src/ImageComposer/ImageComposer_Operator.cxx @@ -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 diff --git a/src/ImageComposer/ImageComposer_Operator.h b/src/ImageComposer/ImageComposer_Operator.h index a90b48536..142a1c6cb 100644 --- a/src/ImageComposer/ImageComposer_Operator.h +++ b/src/ImageComposer/ImageComposer_Operator.h @@ -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& ); -- 2.39.2