DeckTitleBar.cxx (abdd804d) | DeckTitleBar.cxx (3b2c5b9d) |
---|---|
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 --- 125 unchanged lines hidden (view full) --- 134 if (nItemIndex == mnCloserItemIndex) 135 if (maCloserAction) 136 maCloserAction(); 137} 138 139 140 141 | 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 --- 125 unchanged lines hidden (view full) --- 134 if (nItemIndex == mnCloserItemIndex) 135 if (maCloserAction) 136 maCloserAction(); 137} 138 139 140 141 |
142cssu::Reference<css::accessibility::XAccessible> DeckTitleBar::CreateAccessible (void) 143{ 144 const ::rtl::OUString sAccessibleName(msTitle); 145 SetAccessibleName(sAccessibleName); 146 SetAccessibleDescription(sAccessibleName); 147 return TitleBar::CreateAccessible(); 148} 149 150 151 152 |
|
142void DeckTitleBar::DataChanged (const DataChangedEvent& rEvent) 143{ 144 maToolBox.SetItemImage( 145 mnCloserItemIndex, 146 Theme::GetImage(Theme::Image_Closer)); 147 TitleBar::DataChanged(rEvent); 148} 149 150 151} } // end of namespace sfx2::sidebar | 153void DeckTitleBar::DataChanged (const DataChangedEvent& rEvent) 154{ 155 maToolBox.SetItemImage( 156 mnCloserItemIndex, 157 Theme::GetImage(Theme::Image_Closer)); 158 TitleBar::DataChanged(rEvent); 159} 160 161 162} } // end of namespace sfx2::sidebar |