ControlFactory.cxx (7a32b0c8) ControlFactory.cxx (721f296a)
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

--- 13 unchanged lines hidden (view full) ---

22#include "precompiled_sfx2.hxx"
23
24#include "sidebar/ControlFactory.hxx"
25
26#include "MenuButton.hxx"
27#include "TabItem.hxx"
28#include "SidebarToolBox.hxx"
29#include "ToolBoxBackground.hxx"
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

--- 13 unchanged lines hidden (view full) ---

22#include "precompiled_sfx2.hxx"
23
24#include "sidebar/ControlFactory.hxx"
25
26#include "MenuButton.hxx"
27#include "TabItem.hxx"
28#include "SidebarToolBox.hxx"
29#include "ToolBoxBackground.hxx"
30#include "CustomImageRadioButton.hxx"
30#include <vcl/toolbox.hxx>
31
32
33namespace sfx2 { namespace sidebar {
34
35
36CheckBox* ControlFactory::CreateMenuButton (Window* pParentWindow)
37{

--- 29 unchanged lines hidden (view full) ---

67Window* ControlFactory::CreateToolBoxBackground (
68 Window* pParentWindow)
69{
70 ToolBoxBackground* pBorderWindow = new ToolBoxBackground(pParentWindow);
71 pBorderWindow->Show();
72 return pBorderWindow;
73}
74
31#include <vcl/toolbox.hxx>
32
33
34namespace sfx2 { namespace sidebar {
35
36
37CheckBox* ControlFactory::CreateMenuButton (Window* pParentWindow)
38{

--- 29 unchanged lines hidden (view full) ---

68Window* ControlFactory::CreateToolBoxBackground (
69 Window* pParentWindow)
70{
71 ToolBoxBackground* pBorderWindow = new ToolBoxBackground(pParentWindow);
72 pBorderWindow->Show();
73 return pBorderWindow;
74}
75
76
77
78
79ImageRadioButton* ControlFactory::CreateCustomImageRadionButton(
80 Window* pParentWindow,
81 const ResId& rResId )
82{
83 return new CustomImageRadioButton(
84 pParentWindow,
85 rResId );
86}
87
75} } // end of namespace sfx2::sidebar
88} } // end of namespace sfx2::sidebar