mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DocumentWindow: Ensure button callbacks are called on Windows
This commit is contained in:
parent
1798b12d4b
commit
c02ec2e3d5
4 changed files with 63 additions and 3 deletions
|
|
@ -925,9 +925,32 @@ public:
|
|||
window's caption area to the edge of the screen), double-clicking a horizontal border to
|
||||
stretch a window vertically, and the window tiling flyout that appears when hovering the
|
||||
mouse over the maximise button.
|
||||
|
||||
This is called by the peer. Component subclasses may override this but should not call it directly.
|
||||
*/
|
||||
virtual WindowControlKind findControlAtPoint (Point<float>) const { return WindowControlKind::client; }
|
||||
|
||||
/** For components that are added to the desktop, this may be called to indicate that the mouse
|
||||
was clicked inside the area of the "close" control. This is currently only called on Windows.
|
||||
|
||||
This is called by the peer. Component subclasses may override this but should not call it directly.
|
||||
*/
|
||||
virtual void windowControlClickedClose() {}
|
||||
|
||||
/** For components that are added to the desktop, this may be called to indicate that the mouse
|
||||
was clicked inside the area of the "minimise" control. This is currently only called on Windows.
|
||||
|
||||
This is called by the peer. Component subclasses may override this but should not call it directly.
|
||||
*/
|
||||
virtual void windowControlClickedMinimise() {}
|
||||
|
||||
/** For components that are added to the desktop, this may be called to indicate that the mouse
|
||||
was clicked inside the area of the "maximise" control. This is currently only called on Windows.
|
||||
|
||||
This is called by the peer. Component subclasses may override this but should not call it directly.
|
||||
*/
|
||||
virtual void windowControlClickedMaximise() {}
|
||||
|
||||
/** Changes the default return value for the hitTest() method.
|
||||
|
||||
Setting this to false is an easy way to make a component pass all its mouse events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue