MenuButton.hxx (ff12d537) MenuButton.hxx (95a18594)
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

--- 25 unchanged lines hidden (view full) ---

34 MenuButton (Window* pParentWindow);
35 virtual ~MenuButton (void);
36
37 virtual void Paint (const Rectangle& rUpdateArea);
38 virtual void MouseMove (const MouseEvent& rEvent);
39 virtual void MouseButtonDown (const MouseEvent& rMouseEvent);
40 virtual void MouseButtonUp (const MouseEvent& rMouseEvent);
41
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

--- 25 unchanged lines hidden (view full) ---

34 MenuButton (Window* pParentWindow);
35 virtual ~MenuButton (void);
36
37 virtual void Paint (const Rectangle& rUpdateArea);
38 virtual void MouseMove (const MouseEvent& rEvent);
39 virtual void MouseButtonDown (const MouseEvent& rMouseEvent);
40 virtual void MouseButtonUp (const MouseEvent& rMouseEvent);
41
42protected:
43 using CheckBox::FillLayoutData;
44
42private:
43 bool mbIsLeftButtonDown;
44 enum PaintType {
45 PT_Native,
46 PT_Theme
47 } mePaintType;
48};
49
50
51} } // end of namespace sfx2::sidebar
52
53#endif
45private:
46 bool mbIsLeftButtonDown;
47 enum PaintType {
48 PT_Native,
49 PT_Theme
50 } mePaintType;
51};
52
53
54} } // end of namespace sfx2::sidebar
55
56#endif