ToolBoxBackground.cxx (7a32b0c8) | ToolBoxBackground.cxx (65908a7e) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 21 unchanged lines hidden (view full) --- 30#include <vcl/toolbox.hxx> 31#include <vcl/gradient.hxx> 32#include <svl/smplhint.hxx> 33 34 35namespace sfx2 { namespace sidebar { 36 37ToolBoxBackground::ToolBoxBackground (Window* pParentWindow) | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 21 unchanged lines hidden (view full) --- 30#include <vcl/toolbox.hxx> 31#include <vcl/gradient.hxx> 32#include <svl/smplhint.hxx> 33 34 35namespace sfx2 { namespace sidebar { 36 37ToolBoxBackground::ToolBoxBackground (Window* pParentWindow) |
38 : Window(pParentWindow), | 38 : Window(pParentWindow, WB_DIALOGCONTROL), |
39 maPadding(Tools::RectangleToSvBorder(Theme::GetRectangle(Theme::Rect_ToolBoxPadding))) 40{ 41 SetBackground(Theme::GetPaint(Theme::Paint_ToolBoxBackground).GetWallpaper()); 42 43#ifdef DEBUG 44 SetText(A2S("ToolBoxBackground")); 45#endif 46} --- 108 unchanged lines hidden --- | 39 maPadding(Tools::RectangleToSvBorder(Theme::GetRectangle(Theme::Rect_ToolBoxPadding))) 40{ 41 SetBackground(Theme::GetPaint(Theme::Paint_ToolBoxBackground).GetWallpaper()); 42 43#ifdef DEBUG 44 SetText(A2S("ToolBoxBackground")); 45#endif 46} --- 108 unchanged lines hidden --- |