91 void centreAroundComponent (
Component* componentToCentreAround,
92 int width,
int height);
96 void setDropShadowEnabled (
bool useShadow);
104 void setUsingNativeTitleBar (
bool useNativeTitleBar);
109 bool isUsingNativeTitleBar() const noexcept;
115 static
int getNumTopLevelWindows() noexcept;
132 void addToDesktop (
int windowStyleFlags,
void* nativeWindowToAttachTo =
nullptr) override;
141 virtual
void activeWindowStatusChanged();
146 void focusOfChildComponentChanged (FocusChangeType) override;
148 void parentHierarchyChanged() override;
150 virtual
int getDesktopWindowStyleFlags() const;
152 void recreateDesktopWindow();
154 void visibilityChanged() override;
157 friend class detail::TopLevelWindowManager;
159 bool useDropShadow = true, useNativeTitleBar = false, isCurrentlyActive = false;
162 void setWindowActive (
bool);