1 #ifndef XGUI_Constants_H
2 #define XGUI_Constants_H
7 //! Types of gradient type used in background of Viewer 3d
19 LastGradient = Corner4Gradient
22 //! Type of rotation point in viewer 3d
23 enum RotationPointType
28 //! Type of ribbon rect in Viewer 3d
31 NoSketching, Rect, Polygon
35 //! View window operations accessible by hot keys
38 PAN, ZOOM, ROTATE, FIT_AREA
41 //! Types of view window interactions
47 //! Types of 2d mode in viewer 3d
50 No2dMode, XYPlane, XZPlane, YZPlane
53 //! Types of background in view window
56 NoBackground, // no (invalid) background data
57 ColorBackground, // single color
58 SimpleGradientBackground, // simple two-color gradient
59 CustomGradientBackground // custom (complex) gradient
65 CenterTexture, // center texture
66 TileTexture, // tile texture
67 StretchTexture, // stretch texture
70 const static char* PROP_PANEL = "property_panel_dock";
71 const static char* PROP_PANEL_OK = "property_panel_ok";
72 const static char* PROP_PANEL_CANCEL = "property_panel_cancel";