ControlFactory.cxx (ae13266d) | ControlFactory.cxx (d46a1e42) |
---|---|
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 --- 68 unchanged lines hidden (view full) --- 77 78 return pToolBox; 79} 80 81 82 83 84Window* ControlFactory::CreateToolBoxBackground ( | 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 --- 68 unchanged lines hidden (view full) --- 77 78 return pToolBox; 79} 80 81 82 83 84Window* ControlFactory::CreateToolBoxBackground ( |
85 Window* pParentWindow) | 85 Window* pParentWindow, 86 const bool bShowBorder) |
86{ | 87{ |
87 ToolBoxBackground* pBorderWindow = new ToolBoxBackground(pParentWindow); | 88 ToolBoxBackground* pBorderWindow = new ToolBoxBackground(pParentWindow, bShowBorder); |
88 pBorderWindow->Show(); 89 return pBorderWindow; 90} 91 92 93 94 95ImageRadioButton* ControlFactory::CreateCustomImageRadionButton( 96 Window* pParentWindow, 97 const ResId& rResId ) 98{ 99 return new CustomImageRadioButton( 100 pParentWindow, 101 rResId ); 102} 103 104} } // end of namespace sfx2::sidebar | 89 pBorderWindow->Show(); 90 return pBorderWindow; 91} 92 93 94 95 96ImageRadioButton* ControlFactory::CreateCustomImageRadionButton( 97 Window* pParentWindow, 98 const ResId& rResId ) 99{ 100 return new CustomImageRadioButton( 101 pParentWindow, 102 rResId ); 103} 104 105} } // end of namespace sfx2::sidebar |