122de8995SAndre Fischer /************************************************************** 222de8995SAndre Fischer * 322de8995SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 422de8995SAndre Fischer * or more contributor license agreements. See the NOTICE file 522de8995SAndre Fischer * distributed with this work for additional information 622de8995SAndre Fischer * regarding copyright ownership. The ASF licenses this file 722de8995SAndre Fischer * to you under the Apache License, Version 2.0 (the 822de8995SAndre Fischer * "License"); you may not use this file except in compliance 922de8995SAndre Fischer * with the License. You may obtain a copy of the License at 1022de8995SAndre Fischer * 1122de8995SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 1222de8995SAndre Fischer * 1322de8995SAndre Fischer * Unless required by applicable law or agreed to in writing, 1422de8995SAndre Fischer * software distributed under the License is distributed on an 1522de8995SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1622de8995SAndre Fischer * KIND, either express or implied. See the License for the 1722de8995SAndre Fischer * specific language governing permissions and limitations 1822de8995SAndre Fischer * under the License. 1922de8995SAndre Fischer * 2022de8995SAndre Fischer *************************************************************/ 2122de8995SAndre Fischer 227a32b0c8SAndre Fischer #ifndef SD_SIDEBAR_CUSTOM_ANIMATION_PANEL_HXX 237a32b0c8SAndre Fischer #define SD_SIDEBAR_CUSTOM_ANIMATION_PANEL_HXX 2422de8995SAndre Fischer 257a32b0c8SAndre Fischer #include "PanelBase.hxx" 2622de8995SAndre Fischer 2722de8995SAndre Fischer 287a32b0c8SAndre Fischer namespace sd { namespace sidebar { 2922de8995SAndre Fischer 307a32b0c8SAndre Fischer class CustomAnimationPanel 317a32b0c8SAndre Fischer : public PanelBase 3222de8995SAndre Fischer { 3322de8995SAndre Fischer public: 347a32b0c8SAndre Fischer CustomAnimationPanel ( 357a32b0c8SAndre Fischer ::Window* pParentWindow, 367a32b0c8SAndre Fischer ViewShellBase& rViewShellBase); 377a32b0c8SAndre Fischer virtual ~CustomAnimationPanel (void); 387a32b0c8SAndre Fischer 397a32b0c8SAndre Fischer // ILayoutableWindow 407a32b0c8SAndre Fischer virtual css::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth); 417a32b0c8SAndre Fischer 427a32b0c8SAndre Fischer protected: 437a32b0c8SAndre Fischer virtual ::Window* CreateWrappedControl ( 447a32b0c8SAndre Fischer ::Window* pParentWindow, 457a32b0c8SAndre Fischer ViewShellBase& rViewShellBase); 4622de8995SAndre Fischer }; 4722de8995SAndre Fischer 487a32b0c8SAndre Fischer } } // end of namespace sd::sidebar 4922de8995SAndre Fischer 5022de8995SAndre Fischer #endif 51