25 #ifndef JUCE_TOPLEVELWINDOW_H_INCLUDED
26 #define JUCE_TOPLEVELWINDOW_H_INCLUDED
89 void centreAroundComponent (
Component* componentToCentreAround,
90 int width,
int height);
94 void setDropShadowEnabled (
bool useShadow);
102 void setUsingNativeTitleBar (
bool useNativeTitleBar);
113 static
int getNumTopLevelWindows()
noexcept;
130 void addToDesktop (
int windowStyleFlags,
void* nativeWindowToAttachTo =
nullptr)
override;
137 virtual
void activeWindowStatusChanged();
142 void focusOfChildComponentChanged (FocusChangeType) override;
144 void parentHierarchyChanged() override;
146 virtual
int getDesktopWindowStyleFlags()
const;
148 void recreateDesktopWindow();
150 void visibilityChanged() override;
155 bool useDropShadow, useNativeTitleBar, isCurrentlyActive;
158 void setWindowActive (
bool);
164 #endif // JUCE_TOPLEVELWINDOW_H_INCLUDED
Definition: juce_ResizableWindow.h:49
bool isDropShadowEnabled() const noexcept
Definition: juce_TopLevelWindow.h:97
#define noexcept
Definition: juce_CompilerSupport.h:141
#define override
Definition: juce_CompilerSupport.h:156
Definition: juce_TopLevelWindow.h:51
Definition: juce_String.h:43
#define JUCE_API
Definition: juce_StandardHeader.h:139
Definition: juce_TopLevelWindow.cpp:26
Definition: juce_DropShadower.h:43
Definition: juce_Component.h:33
Definition: juce_ScopedPointer.h:70
png_const_structrp png_const_inforp int png_fixed_point * width
Definition: juce_PNGLoader.cpp:2339
bool isActiveWindow() const noexcept
Definition: juce_TopLevelWindow.h:75