]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Constants.h
Salome HOME
Auto-formatting according to the defined code standard.
[modules/shaper.git] / src / XGUI / XGUI_Constants.h
index ceb93cc1f6981483056d8633c7939187da1589ec..53f9a4d057f72a4a712e0f01f5efc06839fa734f 100644 (file)
@@ -1,51 +1,71 @@
-
 #ifndef XGUI_Constants_H
 #define XGUI_Constants_H
 
 #include <QList>
 
-typedef QList<int>    QIntList;       //!< list of int values
-typedef QList<short>  QShortList;     //!< list of short int values
+typedef QList<int> QIntList;       //!< list of int values
+typedef QList<short> QShortList;     //!< list of short int values
 typedef QList<double> QDoubleList;    //!< list of double values
 
-
 namespace XGUI
 {
 
-enum GradientType { 
-    NoGradient = -1,
-    HorizontalGradient, VerticalGradient,
-    Diagonal1Gradient,  Diagonal2Gradient,
-    Corner1Gradient,    Corner2Gradient,
-    Corner3Gradient,    Corner4Gradient,
-    LastGradient = Corner4Gradient
+enum GradientType
+{
+  NoGradient = -1,
+  HorizontalGradient,
+  VerticalGradient,
+  Diagonal1Gradient,
+  Diagonal2Gradient,
+  Corner1Gradient,
+  Corner2Gradient,
+  Corner3Gradient,
+  Corner4Gradient,
+  LastGradient = Corner4Gradient
 };
 
-enum RotationPointType{ GRAVITY, SELECTED };
-
-enum SketchingType { NoSketching, Rect, Polygon };
-
-enum HotOperation { PAN, ZOOM, ROTATE, FIT_AREA };
+enum RotationPointType
+{
+  GRAVITY, SELECTED
+};
 
-enum InteractionStyle { STANDARD, KEY_FREE };
+enum SketchingType
+{
+  NoSketching, Rect, Polygon
+};
 
-enum Mode2dType { No2dMode, XYPlane, XZPlane, YZPlane};
+enum HotOperation
+{
+  PAN, ZOOM, ROTATE, FIT_AREA
+};
 
-enum BackgroundMode { 
-    NoBackground,              // no (invalid) background data
-    ColorBackground,           // single color
-    SimpleGradientBackground,  // simple two-color gradient
-    CustomGradientBackground   // custom (complex) gradient
+enum InteractionStyle
+{
+  STANDARD, KEY_FREE
 };
 
-  //! Texture mode
-enum TextureMode { 
-    CenterTexture,             // center texture
-    TileTexture,               // tile texture
-    StretchTexture,            // stretch texture
+enum Mode2dType
+{
+  No2dMode, XYPlane, XZPlane, YZPlane
 };
 
+enum BackgroundMode
+{
+  NoBackground,              // no (invalid) background data
+  ColorBackground,           // single color
+  SimpleGradientBackground,  // simple two-color gradient
+  CustomGradientBackground   // custom (complex) gradient
+};
 
+//! Texture mode
+enum TextureMode
+{
+  CenterTexture,             // center texture
+  TileTexture,               // tile texture
+  StretchTexture,            // stretch texture
 };
 
-#endif
\ No newline at end of file
+}
+;
+
+#endif