Creates invalid background data.
*/
XGUI_ViewBackground::XGUI_ViewBackground()
- : myTextureMode(XGUI::CenterTexture), myGradientType(XGUI::NoGradient), myTextureShown(false)
+ : myTextureMode(XGUI::CenterTexture),
+ myGradientType(XGUI::NoGradient),
+ myTextureShown(false)
{
setMode(XGUI::NoBackground);
}
\param c color
*/
XGUI_ViewBackground::XGUI_ViewBackground(const QColor& theColor)
- : myTextureMode(XGUI::CenterTexture), myGradientType(XGUI::NoGradient), myTextureShown(false)
+ : myTextureMode(XGUI::CenterTexture),
+ myGradientType(XGUI::NoGradient),
+ myTextureShown(false)
{
setColor(theColor);
}
*/
XGUI_ViewBackground::XGUI_ViewBackground(XGUI::GradientType type, const QColor& c1,
const QColor& c2)
- : myTextureMode(XGUI::CenterTexture), myGradientType(XGUI::NoGradient), myTextureShown(false)
+ : myTextureMode(XGUI::CenterTexture),
+ myGradientType(XGUI::NoGradient),
+ myTextureShown(false)
{
setGradient(type, c1, c2);
}
\param grad gradient data
*/
XGUI_ViewBackground::XGUI_ViewBackground(const QGradient& grad)
- : myTextureMode(XGUI::CenterTexture), myGradientType(XGUI::NoGradient), myTextureShown(false)
+ : myTextureMode(XGUI::CenterTexture),
+ myGradientType(XGUI::NoGradient),
+ myTextureShown(false)
{
setGradient(grad);
}