Salome HOME
refs #1332: state of splitter is stored/restored
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ShapeBathymetry.h
index f71e433643d02ebecdaf0cd755f24b26b03771ba..c736c60fd1765b072cf1a489a1a9e32b9ec0b7da 100644 (file)
@@ -24,7 +24,7 @@
 #include <Quantity_HArray1OfColor.hxx>
 
 class HYDROData_Bathymetry;
-class Aspect_ColorScale;
+class AIS_ColorScale;
 class HYDROGUI_OCCDisplayer;
 
 class HYDROGUI_ShapeBathymetry : public HYDROGUI_Shape
@@ -37,7 +37,7 @@ public:
   virtual ~HYDROGUI_ShapeBathymetry();
 
   void GetRange( double& theMin, double& theMax ) const;
-  void UpdateWithColorScale( const Handle(Aspect_ColorScale)& );
+  void UpdateWithColorScale( const Handle(AIS_ColorScale)& );
 
   virtual void display( const bool theIsUpdateViewer = true );
   virtual void erase( const bool theIsUpdateViewer = true );
@@ -51,6 +51,8 @@ protected:
   virtual Handle(AIS_InteractiveObject) createShape() const;
   virtual void displayShape( const bool theIsUpdateViewer );
 
+  void setToUpdateColorScale( bool isChanged );
+
 private:
   HYDROGUI_OCCDisplayer* myDisplayer;
   Handle(TColgp_HArray1OfPnt)     myCoords;