X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Constants.h;h=5abd457b9a27db208e8538d011c85cc0d1e3a07b;hb=08d389e6ee54d3014f9eac9976e13fd67ed06cb8;hp=6058ba3b44cc76a8e9be4f3c1afde0eeb7a38934;hpb=12621bb509825d0eb1fb0847a7f9c8011021ca5a;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Constants.h b/src/XGUI/XGUI_Constants.h index 6058ba3b4..5abd457b9 100644 --- a/src/XGUI/XGUI_Constants.h +++ b/src/XGUI/XGUI_Constants.h @@ -1,8 +1,7 @@ #ifndef XGUI_Constants_H #define XGUI_Constants_H -namespace XGUI -{ +namespace XGUI { //! Types of gradient type used in background of Viewer 3d enum GradientType @@ -22,42 +21,51 @@ enum GradientType //! Type of rotation point in viewer 3d enum RotationPointType { - GRAVITY, SELECTED + GRAVITY, + SELECTED }; //! Type of ribbon rect in Viewer 3d enum SketchingType { - NoSketching, Rect, Polygon + NoSketching, + Rect, + Polygon }; - //! View window operations accessible by hot keys enum HotOperation { - PAN, ZOOM, ROTATE, FIT_AREA + PAN, + ZOOM, + ROTATE, + FIT_AREA }; //! Types of view window interactions enum InteractionStyle { - STANDARD, KEY_FREE + STANDARD, + KEY_FREE }; //! Types of 2d mode in viewer 3d enum Mode2dType { - No2dMode, XYPlane, XZPlane, YZPlane + No2dMode, + XYPlane, + XZPlane, + YZPlane }; //! Types of background in view window -enum BackgroundMode -{ - NoBackground, // no (invalid) background data - ColorBackground, // single color - SimpleGradientBackground, // simple two-color gradient - CustomGradientBackground // custom (complex) gradient -}; +//enum BackgroundMode +//{ +// NoBackground, // no (invalid) background data +// ColorBackground, // single color +// SimpleGradientBackground, // simple two-color gradient +// CustomGradientBackground // custom (complex) gradient +//}; //! Texture mode enum TextureMode @@ -71,6 +79,7 @@ const static char* PROP_PANEL = "property_panel_dock"; const static char* PROP_PANEL_OK = "property_panel_ok"; const static char* PROP_PANEL_CANCEL = "property_panel_cancel"; -}; +} +; #endif