LayoutMenu.hxx (02c50d82) LayoutMenu.hxx (65be1ea2)
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

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

100 // From ::Window
101 virtual void Paint (const Rectangle& rRect);
102 virtual void Resize (void);
103
104 /** Show a context menu when the right mouse button is pressed.
105 */
106 virtual void MouseButtonDown (const MouseEvent& rEvent);
107
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

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

100 // From ::Window
101 virtual void Paint (const Rectangle& rRect);
102 virtual void Resize (void);
103
104 /** Show a context menu when the right mouse button is pressed.
105 */
106 virtual void MouseButtonDown (const MouseEvent& rEvent);
107
108 /** The LayoutMenu does not support some main views. In this case the
109 LayoutMenu is disabled. This state is updated in this method.
110 @param eMode
111 On some occasions the edit mode is being switched when this
112 method is called can not (yet) be reliably detected. Luckily,
113 in these cases the new value is provided by some broadcaster.
114 On other occasions the edit mode is not modified and is also not
115 provided. Therefore the Unknown value.
116 */
117 enum MasterMode { MM_NORMAL, MM_MASTER, MM_UNKNOWN };
118 void UpdateEnabledState (const MasterMode eMode);
119
120 /** Call this method when the set of displayed layouts is not up-to-date
121 anymore. It will re-assemple this set according to the current
122 settings.
123 */
124 void InvalidateContent (void);
125
126 // DragSourceHelper
127 virtual void StartDrag (sal_Int8 nAction, const Point& rPosPixel);

--- 98 unchanged lines hidden ---
108 /** Call this method when the set of displayed layouts is not up-to-date
109 anymore. It will re-assemple this set according to the current
110 settings.
111 */
112 void InvalidateContent (void);
113
114 // DragSourceHelper
115 virtual void StartDrag (sal_Int8 nAction, const Point& rPosPixel);

--- 98 unchanged lines hidden ---