xref: /AOO41X/main/reportdesign/source/ui/inc/EndMarker.hxx (revision 9ee13d1351a4b51ae8bed78e67629c7bd5f4481e)
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
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef RPTUI_ENDMARKER_HXX
24 #define RPTUI_ENDMARKER_HXX
25 
26 #include "ColorListener.hxx"
27 
28 namespace rptui
29 {
30     /** \class OEndMarker
31      *  \brief Defines the right side of a graphical section.
32      */
33     class OEndMarker : public OColorListener
34     {
35         OEndMarker(OEndMarker&);
36         void operator =(OEndMarker&);
37     protected:
38         virtual void ImplInitSettings();
39     public:
40         OEndMarker(Window* _pParent,const ::rtl::OUString& _sColorEntry);
41         virtual ~OEndMarker();
42 
43         // windows
44         virtual void    Paint( const Rectangle& rRect );
45         virtual void    MouseButtonDown( const MouseEvent& rMEvt );
46     };
47 }
48 #endif // RPTUI_ENDMARKER_HXX
49 
50