1*721f296aSOliver-Rainer Wittmann /**************************************************************
2*721f296aSOliver-Rainer Wittmann  *
3*721f296aSOliver-Rainer Wittmann  * Licensed to the Apache Software Foundation (ASF) under one
4*721f296aSOliver-Rainer Wittmann  * or more contributor license agreements.  See the NOTICE file
5*721f296aSOliver-Rainer Wittmann  * distributed with this work for additional information
6*721f296aSOliver-Rainer Wittmann  * regarding copyright ownership.  The ASF licenses this file
7*721f296aSOliver-Rainer Wittmann  * to you under the Apache License, Version 2.0 (the
8*721f296aSOliver-Rainer Wittmann  * "License"); you may not use this file except in compliance
9*721f296aSOliver-Rainer Wittmann  * with the License.  You may obtain a copy of the License at
10*721f296aSOliver-Rainer Wittmann  *
11*721f296aSOliver-Rainer Wittmann  *   http://www.apache.org/licenses/LICENSE-2.0
12*721f296aSOliver-Rainer Wittmann  *
13*721f296aSOliver-Rainer Wittmann  * Unless required by applicable law or agreed to in writing,
14*721f296aSOliver-Rainer Wittmann  * software distributed under the License is distributed on an
15*721f296aSOliver-Rainer Wittmann  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*721f296aSOliver-Rainer Wittmann  * KIND, either express or implied.  See the License for the
17*721f296aSOliver-Rainer Wittmann  * specific language governing permissions and limitations
18*721f296aSOliver-Rainer Wittmann  * under the License.
19*721f296aSOliver-Rainer Wittmann  *
20*721f296aSOliver-Rainer Wittmann  *************************************************************/
21*721f296aSOliver-Rainer Wittmann 
22*721f296aSOliver-Rainer Wittmann #ifndef SFX_SIDEBAR_CUSTOM_IMAGE_RADIO_BUTTON_HXX
23*721f296aSOliver-Rainer Wittmann #define SFX_SIDEBAR_CUSTOM_IMAGE_RADIO_BUTTON_HXX
24*721f296aSOliver-Rainer Wittmann 
25*721f296aSOliver-Rainer Wittmann #include "vcl/button.hxx"
26*721f296aSOliver-Rainer Wittmann 
27*721f296aSOliver-Rainer Wittmann #include "sfx2/sidebar/Theme.hxx"
28*721f296aSOliver-Rainer Wittmann 
29*721f296aSOliver-Rainer Wittmann namespace sfx2 { namespace sidebar {
30*721f296aSOliver-Rainer Wittmann 
31*721f296aSOliver-Rainer Wittmann /** A custom image radion button with more control over used colors for sidebar
32*721f296aSOliver-Rainer Wittmann */
33*721f296aSOliver-Rainer Wittmann class CustomImageRadioButton
34*721f296aSOliver-Rainer Wittmann     : public ImageRadioButton
35*721f296aSOliver-Rainer Wittmann {
36*721f296aSOliver-Rainer Wittmann public:
37*721f296aSOliver-Rainer Wittmann     CustomImageRadioButton(
38*721f296aSOliver-Rainer Wittmann         Window* pParentWindow,
39*721f296aSOliver-Rainer Wittmann         const ResId& rResId );
40*721f296aSOliver-Rainer Wittmann 
41*721f296aSOliver-Rainer Wittmann     virtual ~CustomImageRadioButton(void);
42*721f296aSOliver-Rainer Wittmann 
43*721f296aSOliver-Rainer Wittmann     virtual void Paint( const Rectangle& rUpdateArea );
44*721f296aSOliver-Rainer Wittmann };
45*721f296aSOliver-Rainer Wittmann 
46*721f296aSOliver-Rainer Wittmann 
47*721f296aSOliver-Rainer Wittmann } } // end of namespace sfx2::sidebar
48*721f296aSOliver-Rainer Wittmann 
49*721f296aSOliver-Rainer Wittmann #endif
50