ControlFactory.cxx (721f296a) | ControlFactory.cxx (ae13266d) |
---|---|
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 --- 11 unchanged lines hidden (view full) --- 20 *************************************************************/ 21 22#include "precompiled_sfx2.hxx" 23 24#include "sidebar/ControlFactory.hxx" 25 26#include "MenuButton.hxx" 27#include "TabItem.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 --- 11 unchanged lines hidden (view full) --- 20 *************************************************************/ 21 22#include "precompiled_sfx2.hxx" 23 24#include "sidebar/ControlFactory.hxx" 25 26#include "MenuButton.hxx" 27#include "TabItem.hxx" |
28#include "SidebarToolBox.hxx" | 28#include "sfx2/sidebar/SidebarToolBox.hxx" |
29#include "ToolBoxBackground.hxx" 30#include "CustomImageRadioButton.hxx" 31#include <vcl/toolbox.hxx> 32 33 34namespace sfx2 { namespace sidebar { 35 36 --- 8 unchanged lines hidden (view full) --- 45ImageRadioButton* ControlFactory::CreateTabItem (Window* pParentWindow) 46{ 47 return new TabItem(pParentWindow); 48} 49 50 51 52 | 29#include "ToolBoxBackground.hxx" 30#include "CustomImageRadioButton.hxx" 31#include <vcl/toolbox.hxx> 32 33 34namespace sfx2 { namespace sidebar { 35 36 --- 8 unchanged lines hidden (view full) --- 45ImageRadioButton* ControlFactory::CreateTabItem (Window* pParentWindow) 46{ 47 return new TabItem(pParentWindow); 48} 49 50 51 52 |
53ToolBox* ControlFactory::CreateToolBox ( | 53SidebarToolBox* ControlFactory::CreateToolBox ( |
54 Window* pParentWindow, 55 const ResId& rResId) 56{ | 54 Window* pParentWindow, 55 const ResId& rResId) 56{ |
57 SidebarToolBox* pToolBox = new SidebarToolBox(pParentWindow, rResId); | 57 SidebarToolBox* pToolBox = new SidebarToolBox(pParentWindow, rResId, NULL); |
58 pToolBox->SetBorderWindow(pParentWindow); 59 60 pToolBox->Invalidate(); 61 62 return pToolBox; 63} 64 65 66 67 | 58 pToolBox->SetBorderWindow(pParentWindow); 59 60 pToolBox->Invalidate(); 61 62 return pToolBox; 63} 64 65 66 67 |
68SidebarToolBox* ControlFactory::CreateToolBox ( 69 Window* pParentWindow, 70 const ResId& rResId, 71 const cssu::Reference<css::frame::XFrame>& rxFrame) 72{ 73 SidebarToolBox* pToolBox = new SidebarToolBox(pParentWindow, rResId, rxFrame); 74 pToolBox->SetBorderWindow(pParentWindow); 75 76 pToolBox->Invalidate(); 77 78 return pToolBox; 79} 80 81 82 83 |
|
68Window* ControlFactory::CreateToolBoxBackground ( 69 Window* pParentWindow) 70{ 71 ToolBoxBackground* pBorderWindow = new ToolBoxBackground(pParentWindow); 72 pBorderWindow->Show(); 73 return pBorderWindow; 74} 75 --- 13 unchanged lines hidden --- | 84Window* ControlFactory::CreateToolBoxBackground ( 85 Window* pParentWindow) 86{ 87 ToolBoxBackground* pBorderWindow = new ToolBoxBackground(pParentWindow); 88 pBorderWindow->Show(); 89 return pBorderWindow; 90} 91 --- 13 unchanged lines hidden --- |