From 7f6394478af425c12482a7011a1ebe9a80b70953 Mon Sep 17 00:00:00 2001 From: jules Date: Sat, 24 Aug 2013 11:45:55 +0100 Subject: [PATCH] Stripped out some unnecessary boilerplate includes from juce_gui_basics. --- modules/juce_core/misc/juce_WindowsRegistry.h | 1 + modules/juce_cryptography/hashing/juce_MD5.h | 1 + .../buttons/juce_ArrowButton.h | 2 - modules/juce_gui_basics/buttons/juce_Button.h | 4 - .../buttons/juce_DrawableButton.h | 3 - .../buttons/juce_HyperlinkButton.h | 2 - .../buttons/juce_ImageButton.h | 2 - .../buttons/juce_ShapeButton.h | 2 - .../juce_gui_basics/buttons/juce_TextButton.h | 2 - .../buttons/juce_ToggleButton.h | 2 - .../buttons/juce_ToolbarButton.h | 2 - .../commands/juce_ApplicationCommandInfo.h | 3 - .../commands/juce_ApplicationCommandManager.h | 5 - .../commands/juce_ApplicationCommandTarget.h | 3 - .../commands/juce_KeyPressMappingSet.h | 3 - .../components/juce_CachedComponentImage.h | 2 - .../components/juce_Component.h | 16 -- .../components/juce_ComponentListener.h | 2 - .../juce_gui_basics/components/juce_Desktop.h | 6 - .../juce_gui_basics/drawables/juce_Drawable.h | 6 - .../drawables/juce_DrawableComposite.h | 5 - .../drawables/juce_DrawableImage.h | 3 - .../drawables/juce_DrawablePath.h | 3 - .../drawables/juce_DrawableRectangle.h | 3 - .../drawables/juce_DrawableShape.h | 3 - .../drawables/juce_DrawableText.h | 3 - .../juce_DirectoryContentsDisplayComponent.h | 4 - .../filebrowser/juce_DirectoryContentsList.h | 2 - .../filebrowser/juce_FileBrowserComponent.h | 6 - .../filebrowser/juce_FileBrowserListener.h | 2 - .../filebrowser/juce_FileChooser.h | 2 - .../filebrowser/juce_FileChooserDialogBox.h | 5 - .../filebrowser/juce_FileListComponent.h | 5 - .../filebrowser/juce_FilePreviewComponent.h | 2 - .../juce_FileSearchPathListComponent.h | 5 - .../filebrowser/juce_FileTreeComponent.h | 3 - .../filebrowser/juce_FilenameComponent.h | 5 - .../filebrowser/juce_ImagePreviewComponent.h | 2 - .../filebrowser/juce_WildcardFileFilter.h | 2 - modules/juce_gui_basics/juce_gui_basics.h | 168 +++++++++++------- .../keyboard/juce_CaretComponent.h | 2 - .../keyboard/juce_KeyListener.h | 3 - .../juce_gui_basics/keyboard/juce_KeyPress.h | 2 - .../keyboard/juce_KeyboardFocusTraverser.h | 2 - .../keyboard/juce_TextEditorKeyMapper.h | 2 - .../layout/juce_AnimatedPosition.h | 1 + .../layout/juce_ComponentAnimator.h | 2 - .../layout/juce_ComponentBoundsConstrainer.h | 2 - .../layout/juce_ComponentBuilder.h | 2 - .../layout/juce_ComponentMovementWatcher.h | 2 - .../layout/juce_ConcertinaPanel.h | 1 + .../layout/juce_GroupComponent.h | 2 - .../layout/juce_MultiDocumentPanel.h | 2 - .../layout/juce_ResizableBorderComponent.h | 2 - .../layout/juce_ResizableCornerComponent.h | 2 - .../layout/juce_ResizableEdgeComponent.h | 2 - .../juce_gui_basics/layout/juce_ScrollBar.h | 2 - .../layout/juce_StretchableLayoutManager.h | 2 - .../layout/juce_StretchableLayoutResizerBar.h | 3 - .../layout/juce_TabbedButtonBar.h | 1 - .../layout/juce_TabbedComponent.h | 2 - .../juce_gui_basics/layout/juce_Viewport.h | 2 - .../lookandfeel/juce_LookAndFeel.h | 32 ---- .../menus/juce_MenuBarComponent.h | 2 - .../juce_gui_basics/menus/juce_MenuBarModel.h | 2 - .../juce_gui_basics/misc/juce_DropShadower.h | 2 - .../mouse/juce_ComponentDragger.h | 3 - .../mouse/juce_DragAndDropContainer.h | 2 - .../mouse/juce_DragAndDropTarget.h | 2 - .../mouse/juce_LassoComponent.h | 3 - .../juce_gui_basics/mouse/juce_MouseCursor.h | 4 - .../juce_gui_basics/mouse/juce_MouseEvent.h | 4 - .../mouse/juce_MouseInactivityDetector.h | 1 + .../mouse/juce_MouseInputSource.h | 4 - .../mouse/juce_MouseListener.h | 2 - .../mouse/juce_TextDragAndDropTarget.h | 2 + .../positioning/juce_MarkerList.h | 3 - .../juce_RelativeCoordinatePositioner.h | 4 - .../positioning/juce_RelativeParallelogram.h | 2 - .../positioning/juce_RelativePoint.h | 2 - .../positioning/juce_RelativePointPath.h | 2 - .../positioning/juce_RelativeRectangle.h | 2 - .../juce_BooleanPropertyComponent.h | 3 - .../properties/juce_ButtonPropertyComponent.h | 3 - .../properties/juce_ChoicePropertyComponent.h | 3 - .../properties/juce_PropertyComponent.h | 4 - .../properties/juce_PropertyPanel.h | 3 - .../properties/juce_SliderPropertyComponent.h | 3 - .../properties/juce_TextPropertyComponent.h | 3 - .../juce_gui_basics/widgets/juce_ComboBox.h | 2 - .../widgets/juce_ImageComponent.h | 3 - modules/juce_gui_basics/widgets/juce_Label.h | 2 - .../juce_gui_basics/widgets/juce_ListBox.h | 2 - .../widgets/juce_ProgressBar.h | 2 - modules/juce_gui_basics/widgets/juce_Slider.h | 2 - .../widgets/juce_TableHeaderComponent.h | 2 - .../widgets/juce_TableListBox.h | 3 - .../juce_gui_basics/widgets/juce_TextEditor.h | 6 - .../juce_gui_basics/widgets/juce_Toolbar.h | 3 - .../widgets/juce_ToolbarItemComponent.h | 4 - .../widgets/juce_ToolbarItemFactory.h | 2 - .../widgets/juce_ToolbarItemPalette.h | 3 - .../juce_gui_basics/widgets/juce_TreeView.h | 3 - .../windows/juce_AlertWindow.h | 7 - .../juce_gui_basics/windows/juce_CallOutBox.h | 2 - .../windows/juce_ComponentPeer.h | 6 - .../windows/juce_DialogWindow.h | 2 - .../windows/juce_DocumentWindow.h | 4 - .../windows/juce_NativeMessageBox.h | 5 + .../windows/juce_ResizableWindow.h | 5 - .../windows/juce_ThreadWithProgressWindow.h | 2 - .../windows/juce_TooltipWindow.h | 3 - .../windows/juce_TopLevelWindow.h | 5 +- 113 files changed, 116 insertions(+), 411 deletions(-) diff --git a/modules/juce_core/misc/juce_WindowsRegistry.h b/modules/juce_core/misc/juce_WindowsRegistry.h index 1c3893083e..716c1a198b 100644 --- a/modules/juce_core/misc/juce_WindowsRegistry.h +++ b/modules/juce_core/misc/juce_WindowsRegistry.h @@ -117,6 +117,7 @@ public: for all users (you might not have permission to do this unless running in an installer). If true, it will register the association in HKEY_CURRENT_USER. + @param mode the WoW64 mode to use for choosing the database */ static bool registerFileAssociation (const String& fileExtension, const String& symbolicDescription, diff --git a/modules/juce_cryptography/hashing/juce_MD5.h b/modules/juce_cryptography/hashing/juce_MD5.h index f74585b2d9..2eb7ae9e68 100644 --- a/modules/juce_cryptography/hashing/juce_MD5.h +++ b/modules/juce_cryptography/hashing/juce_MD5.h @@ -25,6 +25,7 @@ #ifndef JUCE_MD5_H_INCLUDED #define JUCE_MD5_H_INCLUDED + //============================================================================== /** MD5 checksum class. diff --git a/modules/juce_gui_basics/buttons/juce_ArrowButton.h b/modules/juce_gui_basics/buttons/juce_ArrowButton.h index ec1e3831a6..5d64123ab5 100644 --- a/modules/juce_gui_basics/buttons/juce_ArrowButton.h +++ b/modules/juce_gui_basics/buttons/juce_ArrowButton.h @@ -25,8 +25,6 @@ #ifndef JUCE_ARROWBUTTON_H_INCLUDED #define JUCE_ARROWBUTTON_H_INCLUDED -#include "juce_Button.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/buttons/juce_Button.h b/modules/juce_gui_basics/buttons/juce_Button.h index a8729b1598..50fc54227e 100644 --- a/modules/juce_gui_basics/buttons/juce_Button.h +++ b/modules/juce_gui_basics/buttons/juce_Button.h @@ -25,10 +25,6 @@ #ifndef JUCE_BUTTON_H_INCLUDED #define JUCE_BUTTON_H_INCLUDED -#include "../components/juce_Component.h" -#include "../keyboard/juce_KeyListener.h" -#include "../commands/juce_ApplicationCommandManager.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/buttons/juce_DrawableButton.h b/modules/juce_gui_basics/buttons/juce_DrawableButton.h index 34a286202d..7f9116a6d7 100644 --- a/modules/juce_gui_basics/buttons/juce_DrawableButton.h +++ b/modules/juce_gui_basics/buttons/juce_DrawableButton.h @@ -25,9 +25,6 @@ #ifndef JUCE_DRAWABLEBUTTON_H_INCLUDED #define JUCE_DRAWABLEBUTTON_H_INCLUDED -#include "juce_Button.h" -#include "../drawables/juce_Drawable.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/buttons/juce_HyperlinkButton.h b/modules/juce_gui_basics/buttons/juce_HyperlinkButton.h index 263950f7d7..4cd3f52920 100644 --- a/modules/juce_gui_basics/buttons/juce_HyperlinkButton.h +++ b/modules/juce_gui_basics/buttons/juce_HyperlinkButton.h @@ -25,8 +25,6 @@ #ifndef JUCE_HYPERLINKBUTTON_H_INCLUDED #define JUCE_HYPERLINKBUTTON_H_INCLUDED -#include "juce_Button.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/buttons/juce_ImageButton.h b/modules/juce_gui_basics/buttons/juce_ImageButton.h index 7997249b52..dd39e62094 100644 --- a/modules/juce_gui_basics/buttons/juce_ImageButton.h +++ b/modules/juce_gui_basics/buttons/juce_ImageButton.h @@ -25,8 +25,6 @@ #ifndef JUCE_IMAGEBUTTON_H_INCLUDED #define JUCE_IMAGEBUTTON_H_INCLUDED -#include "juce_Button.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/buttons/juce_ShapeButton.h b/modules/juce_gui_basics/buttons/juce_ShapeButton.h index 7e3e12011e..b797fffb53 100644 --- a/modules/juce_gui_basics/buttons/juce_ShapeButton.h +++ b/modules/juce_gui_basics/buttons/juce_ShapeButton.h @@ -25,8 +25,6 @@ #ifndef JUCE_SHAPEBUTTON_H_INCLUDED #define JUCE_SHAPEBUTTON_H_INCLUDED -#include "juce_Button.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/buttons/juce_TextButton.h b/modules/juce_gui_basics/buttons/juce_TextButton.h index e0a9334ba5..67c0ae48eb 100644 --- a/modules/juce_gui_basics/buttons/juce_TextButton.h +++ b/modules/juce_gui_basics/buttons/juce_TextButton.h @@ -25,8 +25,6 @@ #ifndef JUCE_TEXTBUTTON_H_INCLUDED #define JUCE_TEXTBUTTON_H_INCLUDED -#include "juce_Button.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/buttons/juce_ToggleButton.h b/modules/juce_gui_basics/buttons/juce_ToggleButton.h index 81c2c04a03..911bc5991b 100644 --- a/modules/juce_gui_basics/buttons/juce_ToggleButton.h +++ b/modules/juce_gui_basics/buttons/juce_ToggleButton.h @@ -25,8 +25,6 @@ #ifndef JUCE_TOGGLEBUTTON_H_INCLUDED #define JUCE_TOGGLEBUTTON_H_INCLUDED -#include "juce_Button.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/buttons/juce_ToolbarButton.h b/modules/juce_gui_basics/buttons/juce_ToolbarButton.h index 54efb87ef0..1f2548f071 100644 --- a/modules/juce_gui_basics/buttons/juce_ToolbarButton.h +++ b/modules/juce_gui_basics/buttons/juce_ToolbarButton.h @@ -25,8 +25,6 @@ #ifndef JUCE_TOOLBARBUTTON_H_INCLUDED #define JUCE_TOOLBARBUTTON_H_INCLUDED -#include "../widgets/juce_ToolbarItemComponent.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h b/modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h index 68bb39bca9..3df3610c94 100644 --- a/modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h +++ b/modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h @@ -25,9 +25,6 @@ #ifndef JUCE_APPLICATIONCOMMANDINFO_H_INCLUDED #define JUCE_APPLICATIONCOMMANDINFO_H_INCLUDED -#include "../keyboard/juce_KeyPress.h" -#include "juce_ApplicationCommandID.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h b/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h index 8f7af95815..7aab09a6c1 100644 --- a/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h +++ b/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h @@ -25,11 +25,6 @@ #ifndef JUCE_APPLICATIONCOMMANDMANAGER_H_INCLUDED #define JUCE_APPLICATIONCOMMANDMANAGER_H_INCLUDED -#include "juce_ApplicationCommandTarget.h" -class KeyPressMappingSet; -class ApplicationCommandManagerListener; -class Desktop; - //============================================================================== /** diff --git a/modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h b/modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h index 772bdcfcca..474c4ed44e 100644 --- a/modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h +++ b/modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h @@ -25,9 +25,6 @@ #ifndef JUCE_APPLICATIONCOMMANDTARGET_H_INCLUDED #define JUCE_APPLICATIONCOMMANDTARGET_H_INCLUDED -#include "juce_ApplicationCommandInfo.h" -class Component; - //============================================================================== /** diff --git a/modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h b/modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h index 6e8d9e5f82..f14cd109eb 100644 --- a/modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h +++ b/modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h @@ -25,9 +25,6 @@ #ifndef JUCE_KEYPRESSMAPPINGSET_H_INCLUDED #define JUCE_KEYPRESSMAPPINGSET_H_INCLUDED -#include "../keyboard/juce_KeyListener.h" -#include "../commands/juce_ApplicationCommandManager.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/components/juce_CachedComponentImage.h b/modules/juce_gui_basics/components/juce_CachedComponentImage.h index 1eb71abe0b..3f273cba07 100644 --- a/modules/juce_gui_basics/components/juce_CachedComponentImage.h +++ b/modules/juce_gui_basics/components/juce_CachedComponentImage.h @@ -25,8 +25,6 @@ #ifndef JUCE_CACHEDCOMPONENTIMAGE_H_INCLUDED #define JUCE_CACHEDCOMPONENTIMAGE_H_INCLUDED -class Component; - //============================================================================== /** diff --git a/modules/juce_gui_basics/components/juce_Component.h b/modules/juce_gui_basics/components/juce_Component.h index 8205afd028..9a699a0d84 100644 --- a/modules/juce_gui_basics/components/juce_Component.h +++ b/modules/juce_gui_basics/components/juce_Component.h @@ -25,22 +25,6 @@ #ifndef JUCE_COMPONENT_H_INCLUDED #define JUCE_COMPONENT_H_INCLUDED -#include "../mouse/juce_MouseCursor.h" -#include "../mouse/juce_MouseListener.h" -#include "../mouse/juce_MouseEvent.h" -#include "juce_ComponentListener.h" -#include "../keyboard/juce_KeyListener.h" -#include "../keyboard/juce_KeyboardFocusTraverser.h" -#include "juce_ModalComponentManager.h" - -class LookAndFeel; -class MouseInputSource; -class MouseInputSourceInternal; -class ComponentPeer; -class MarkerList; -class RelativeRectangle; -class CachedComponentImage; - //============================================================================== /** diff --git a/modules/juce_gui_basics/components/juce_ComponentListener.h b/modules/juce_gui_basics/components/juce_ComponentListener.h index d3e548e9a1..56c06311b8 100644 --- a/modules/juce_gui_basics/components/juce_ComponentListener.h +++ b/modules/juce_gui_basics/components/juce_ComponentListener.h @@ -25,8 +25,6 @@ #ifndef JUCE_COMPONENTLISTENER_H_INCLUDED #define JUCE_COMPONENTLISTENER_H_INCLUDED -class Component; - //============================================================================== /** diff --git a/modules/juce_gui_basics/components/juce_Desktop.h b/modules/juce_gui_basics/components/juce_Desktop.h index 06407b2f49..40494826f6 100644 --- a/modules/juce_gui_basics/components/juce_Desktop.h +++ b/modules/juce_gui_basics/components/juce_Desktop.h @@ -25,12 +25,6 @@ #ifndef JUCE_DESKTOP_H_INCLUDED #define JUCE_DESKTOP_H_INCLUDED -#include "juce_Component.h" -#include "../layout/juce_ComponentAnimator.h" -class MouseInputSource; -class MouseInputSourceInternal; -class MouseListener; - //============================================================================== /** diff --git a/modules/juce_gui_basics/drawables/juce_Drawable.h b/modules/juce_gui_basics/drawables/juce_Drawable.h index 911fc161ef..da67b22cea 100644 --- a/modules/juce_gui_basics/drawables/juce_Drawable.h +++ b/modules/juce_gui_basics/drawables/juce_Drawable.h @@ -25,12 +25,6 @@ #ifndef JUCE_DRAWABLE_H_INCLUDED #define JUCE_DRAWABLE_H_INCLUDED -#include "../components/juce_Component.h" -#include "../positioning/juce_RelativeCoordinate.h" -#include "../positioning/juce_RelativeCoordinatePositioner.h" -#include "../layout/juce_ComponentBuilder.h" -class DrawableComposite; - //============================================================================== /** diff --git a/modules/juce_gui_basics/drawables/juce_DrawableComposite.h b/modules/juce_gui_basics/drawables/juce_DrawableComposite.h index 786d23b10b..508919878b 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableComposite.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableComposite.h @@ -25,11 +25,6 @@ #ifndef JUCE_DRAWABLECOMPOSITE_H_INCLUDED #define JUCE_DRAWABLECOMPOSITE_H_INCLUDED -#include "juce_Drawable.h" -#include "../positioning/juce_MarkerList.h" -#include "../positioning/juce_RelativeParallelogram.h" -#include "../positioning/juce_RelativeRectangle.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/drawables/juce_DrawableImage.h b/modules/juce_gui_basics/drawables/juce_DrawableImage.h index 178f2454fe..2ca0a35695 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableImage.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableImage.h @@ -25,9 +25,6 @@ #ifndef JUCE_DRAWABLEIMAGE_H_INCLUDED #define JUCE_DRAWABLEIMAGE_H_INCLUDED -#include "juce_Drawable.h" -#include "../positioning/juce_RelativeParallelogram.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/drawables/juce_DrawablePath.h b/modules/juce_gui_basics/drawables/juce_DrawablePath.h index 826fb57edd..89a6fd3e74 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawablePath.h +++ b/modules/juce_gui_basics/drawables/juce_DrawablePath.h @@ -25,9 +25,6 @@ #ifndef JUCE_DRAWABLEPATH_H_INCLUDED #define JUCE_DRAWABLEPATH_H_INCLUDED -#include "juce_DrawableShape.h" -#include "../positioning/juce_RelativePointPath.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h b/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h index 87b63f6425..8e9b799a90 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h @@ -25,9 +25,6 @@ #ifndef JUCE_DRAWABLERECTANGLE_H_INCLUDED #define JUCE_DRAWABLERECTANGLE_H_INCLUDED -#include "juce_DrawableShape.h" -#include "../positioning/juce_RelativeParallelogram.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/drawables/juce_DrawableShape.h b/modules/juce_gui_basics/drawables/juce_DrawableShape.h index 3fe80cfe87..14278d2dd2 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableShape.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableShape.h @@ -25,9 +25,6 @@ #ifndef JUCE_DRAWABLESHAPE_H_INCLUDED #define JUCE_DRAWABLESHAPE_H_INCLUDED -#include "juce_Drawable.h" -#include "../positioning/juce_RelativeCoordinatePositioner.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/drawables/juce_DrawableText.h b/modules/juce_gui_basics/drawables/juce_DrawableText.h index 7b442ae771..b5e829b23c 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableText.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableText.h @@ -25,9 +25,6 @@ #ifndef JUCE_DRAWABLETEXT_H_INCLUDED #define JUCE_DRAWABLETEXT_H_INCLUDED -#include "juce_Drawable.h" -#include "../positioning/juce_RelativeParallelogram.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h b/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h index 6ec489d097..ebe16805f2 100644 --- a/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h @@ -25,10 +25,6 @@ #ifndef JUCE_DIRECTORYCONTENTSDISPLAYCOMPONENT_H_INCLUDED #define JUCE_DIRECTORYCONTENTSDISPLAYCOMPONENT_H_INCLUDED -#include "../components/juce_Component.h" -#include "juce_DirectoryContentsList.h" -#include "juce_FileBrowserListener.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h b/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h index 4604e34c62..80394d5108 100644 --- a/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h +++ b/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h @@ -25,8 +25,6 @@ #ifndef JUCE_DIRECTORYCONTENTSLIST_H_INCLUDED #define JUCE_DIRECTORYCONTENTSLIST_H_INCLUDED -#include "juce_FileFilter.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h b/modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h index 941c0fac5d..ef78e4eb8f 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h @@ -25,12 +25,6 @@ #ifndef JUCE_FILEBROWSERCOMPONENT_H_INCLUDED #define JUCE_FILEBROWSERCOMPONENT_H_INCLUDED -#include "juce_DirectoryContentsDisplayComponent.h" -#include "juce_FilePreviewComponent.h" -#include "../widgets/juce_TextEditor.h" -#include "../widgets/juce_ComboBox.h" -#include "../buttons/juce_DrawableButton.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h b/modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h index 1bd74167d2..bd206ae515 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h @@ -25,8 +25,6 @@ #ifndef JUCE_FILEBROWSERLISTENER_H_INCLUDED #define JUCE_FILEBROWSERLISTENER_H_INCLUDED -#include "../mouse/juce_MouseEvent.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FileChooser.h b/modules/juce_gui_basics/filebrowser/juce_FileChooser.h index 30cf910bbf..7c6b69f4f1 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileChooser.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileChooser.h @@ -25,8 +25,6 @@ #ifndef JUCE_FILECHOOSER_H_INCLUDED #define JUCE_FILECHOOSER_H_INCLUDED -#include "juce_FilePreviewComponent.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h b/modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h index 45c3ea46e2..f63632ea67 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h @@ -25,11 +25,6 @@ #ifndef JUCE_FILECHOOSERDIALOGBOX_H_INCLUDED #define JUCE_FILECHOOSERDIALOGBOX_H_INCLUDED -#include "juce_FileBrowserComponent.h" -#include "../windows/juce_ResizableWindow.h" -#include "../buttons/juce_TextButton.h" -#include "../windows/juce_AlertWindow.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FileListComponent.h b/modules/juce_gui_basics/filebrowser/juce_FileListComponent.h index 76ec88a1a9..7f074d2c6a 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileListComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileListComponent.h @@ -25,11 +25,6 @@ #ifndef JUCE_FILELISTCOMPONENT_H_INCLUDED #define JUCE_FILELISTCOMPONENT_H_INCLUDED -#include "juce_DirectoryContentsDisplayComponent.h" -#include "juce_FileBrowserListener.h" -#include "../widgets/juce_ListBox.h" -#include "../widgets/juce_TreeView.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h b/modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h index befc127210..727f4209d2 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_FILEPREVIEWCOMPONENT_H_INCLUDED #define JUCE_FILEPREVIEWCOMPONENT_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h b/modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h index 6e4549b3f8..25ffef72e8 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h @@ -25,11 +25,6 @@ #ifndef JUCE_FILESEARCHPATHLISTCOMPONENT_H_INCLUDED #define JUCE_FILESEARCHPATHLISTCOMPONENT_H_INCLUDED -#include "../widgets/juce_ListBox.h" -#include "../buttons/juce_DrawableButton.h" -#include "../buttons/juce_TextButton.h" -#include "../mouse/juce_FileDragAndDropTarget.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h b/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h index 841498a46c..cf5915183f 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h @@ -25,9 +25,6 @@ #ifndef JUCE_FILETREECOMPONENT_H_INCLUDED #define JUCE_FILETREECOMPONENT_H_INCLUDED -#include "juce_DirectoryContentsDisplayComponent.h" -#include "../widgets/juce_TreeView.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h b/modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h index de6197e3e5..83b6ae0d41 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h @@ -25,11 +25,6 @@ #ifndef JUCE_FILENAMECOMPONENT_H_INCLUDED #define JUCE_FILENAMECOMPONENT_H_INCLUDED -#include "../widgets/juce_ComboBox.h" -#include "../buttons/juce_TextButton.h" -#include "../mouse/juce_FileDragAndDropTarget.h" -class FilenameComponent; - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h b/modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h index 76c5505b83..6887a7835b 100644 --- a/modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_IMAGEPREVIEWCOMPONENT_H_INCLUDED #define JUCE_IMAGEPREVIEWCOMPONENT_H_INCLUDED -#include "juce_FilePreviewComponent.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/filebrowser/juce_WildcardFileFilter.h b/modules/juce_gui_basics/filebrowser/juce_WildcardFileFilter.h index b13c608bfb..045c753949 100644 --- a/modules/juce_gui_basics/filebrowser/juce_WildcardFileFilter.h +++ b/modules/juce_gui_basics/filebrowser/juce_WildcardFileFilter.h @@ -25,8 +25,6 @@ #ifndef JUCE_WILDCARDFILEFILTER_H_INCLUDED #define JUCE_WILDCARDFILEFILTER_H_INCLUDED -#include "juce_FileFilter.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/juce_gui_basics.h b/modules/juce_gui_basics/juce_gui_basics.h index 33540b332b..82787e9e93 100644 --- a/modules/juce_gui_basics/juce_gui_basics.h +++ b/modules/juce_gui_basics/juce_gui_basics.h @@ -72,74 +72,95 @@ namespace juce { -// START_AUTOINCLUDE components, mouse, keyboard, buttons, drawables, -// filebrowser, layout, lookandfeel, menus, positioning, properties, -// widgets, windows, commands, application, misc +class Component; +class LookAndFeel; +class MouseInputSource; +class MouseInputSourceInternal; +class ComponentPeer; +class MarkerList; +class RelativeRectangle; +class MouseEvent; +struct MouseWheelDetails; +class ToggleButton; +class TextButton; +class AlertWindow; +class TextLayout; +class ScrollBar; +class ComboBox; +class Button; +class FilenameComponent; +class DocumentWindow; +class ResizableWindow; +class GroupComponent; +class MenuBarComponent; +class DropShadower; +class GlyphArrangement; +class PropertyComponent; +class TableHeaderComponent; +class Toolbar; +class ToolbarItemComponent; +class PopupMenu; +class ProgressBar; +class FileBrowserComponent; +class DirectoryContentsDisplayComponent; +class FilePreviewComponent; +class ImageButton; +class CallOutBox; +class Drawable; +class DrawablePath; +class DrawableComposite; +class CaretComponent; +class BubbleComponent; +class KeyPressMappingSet; +class ApplicationCommandManagerListener; + +#include "mouse/juce_MouseCursor.h" +#include "mouse/juce_MouseListener.h" +#include "keyboard/juce_ModifierKeys.h" +#include "mouse/juce_MouseEvent.h" +#include "keyboard/juce_KeyPress.h" +#include "keyboard/juce_KeyListener.h" +#include "keyboard/juce_KeyboardFocusTraverser.h" +#include "components/juce_ModalComponentManager.h" +#include "components/juce_ComponentListener.h" #include "components/juce_CachedComponentImage.h" #include "components/juce_Component.h" -#include "components/juce_ComponentListener.h" +#include "layout/juce_ComponentAnimator.h" #include "components/juce_Desktop.h" -#include "components/juce_ModalComponentManager.h" +#include "layout/juce_ComponentBoundsConstrainer.h" #include "mouse/juce_ComponentDragger.h" -#include "mouse/juce_DragAndDropContainer.h" #include "mouse/juce_DragAndDropTarget.h" +#include "mouse/juce_DragAndDropContainer.h" #include "mouse/juce_FileDragAndDropTarget.h" +#include "mouse/juce_SelectedItemSet.h" #include "mouse/juce_LassoComponent.h" -#include "mouse/juce_MouseCursor.h" -#include "mouse/juce_MouseEvent.h" #include "mouse/juce_MouseInactivityDetector.h" #include "mouse/juce_MouseInputSource.h" -#include "mouse/juce_MouseListener.h" -#include "mouse/juce_SelectedItemSet.h" #include "mouse/juce_TextDragAndDropTarget.h" #include "mouse/juce_TooltipClient.h" #include "keyboard/juce_CaretComponent.h" -#include "keyboard/juce_KeyboardFocusTraverser.h" -#include "keyboard/juce_KeyListener.h" -#include "keyboard/juce_KeyPress.h" -#include "keyboard/juce_ModifierKeys.h" #include "keyboard/juce_SystemClipboard.h" #include "keyboard/juce_TextEditorKeyMapper.h" #include "keyboard/juce_TextInputTarget.h" -#include "buttons/juce_ArrowButton.h" +#include "commands/juce_ApplicationCommandID.h" +#include "commands/juce_ApplicationCommandInfo.h" +#include "commands/juce_ApplicationCommandTarget.h" +#include "commands/juce_ApplicationCommandManager.h" +#include "commands/juce_KeyPressMappingSet.h" #include "buttons/juce_Button.h" +#include "buttons/juce_ArrowButton.h" #include "buttons/juce_DrawableButton.h" #include "buttons/juce_HyperlinkButton.h" #include "buttons/juce_ImageButton.h" #include "buttons/juce_ShapeButton.h" #include "buttons/juce_TextButton.h" #include "buttons/juce_ToggleButton.h" -#include "buttons/juce_ToolbarButton.h" -#include "drawables/juce_Drawable.h" -#include "drawables/juce_DrawableComposite.h" -#include "drawables/juce_DrawableImage.h" -#include "drawables/juce_DrawablePath.h" -#include "drawables/juce_DrawableRectangle.h" -#include "drawables/juce_DrawableShape.h" -#include "drawables/juce_DrawableText.h" -#include "filebrowser/juce_DirectoryContentsDisplayComponent.h" -#include "filebrowser/juce_DirectoryContentsList.h" -#include "filebrowser/juce_FileBrowserComponent.h" -#include "filebrowser/juce_FileBrowserListener.h" -#include "filebrowser/juce_FileChooser.h" -#include "filebrowser/juce_FileChooserDialogBox.h" -#include "filebrowser/juce_FileFilter.h" -#include "filebrowser/juce_FileListComponent.h" -#include "filebrowser/juce_FilenameComponent.h" -#include "filebrowser/juce_FilePreviewComponent.h" -#include "filebrowser/juce_FileSearchPathListComponent.h" -#include "filebrowser/juce_FileTreeComponent.h" -#include "filebrowser/juce_ImagePreviewComponent.h" -#include "filebrowser/juce_WildcardFileFilter.h" #include "layout/juce_AnimatedPosition.h" #include "layout/juce_AnimatedPositionBehaviours.h" -#include "layout/juce_ComponentAnimator.h" -#include "layout/juce_ComponentBoundsConstrainer.h" #include "layout/juce_ComponentBuilder.h" #include "layout/juce_ComponentMovementWatcher.h" #include "layout/juce_ConcertinaPanel.h" #include "layout/juce_GroupComponent.h" -#include "layout/juce_MultiDocumentPanel.h" #include "layout/juce_ResizableBorderComponent.h" #include "layout/juce_ResizableCornerComponent.h" #include "layout/juce_ResizableEdgeComponent.h" @@ -150,58 +171,75 @@ namespace juce #include "layout/juce_TabbedButtonBar.h" #include "layout/juce_TabbedComponent.h" #include "layout/juce_Viewport.h" -#include "lookandfeel/juce_LookAndFeel.h" -#include "menus/juce_MenuBarComponent.h" -#include "menus/juce_MenuBarModel.h" #include "menus/juce_PopupMenu.h" -#include "positioning/juce_MarkerList.h" +#include "menus/juce_MenuBarModel.h" +#include "menus/juce_MenuBarComponent.h" #include "positioning/juce_RelativeCoordinate.h" +#include "positioning/juce_MarkerList.h" +#include "positioning/juce_RelativePoint.h" +#include "positioning/juce_RelativeRectangle.h" #include "positioning/juce_RelativeCoordinatePositioner.h" #include "positioning/juce_RelativeParallelogram.h" -#include "positioning/juce_RelativePoint.h" #include "positioning/juce_RelativePointPath.h" -#include "positioning/juce_RelativeRectangle.h" -#include "properties/juce_BooleanPropertyComponent.h" -#include "properties/juce_ButtonPropertyComponent.h" -#include "properties/juce_ChoicePropertyComponent.h" -#include "properties/juce_PropertyComponent.h" -#include "properties/juce_PropertyPanel.h" -#include "properties/juce_SliderPropertyComponent.h" -#include "properties/juce_TextPropertyComponent.h" +#include "drawables/juce_Drawable.h" +#include "drawables/juce_DrawableShape.h" +#include "drawables/juce_DrawableComposite.h" +#include "drawables/juce_DrawableImage.h" +#include "drawables/juce_DrawablePath.h" +#include "drawables/juce_DrawableRectangle.h" +#include "drawables/juce_DrawableText.h" +#include "widgets/juce_TextEditor.h" +#include "widgets/juce_Label.h" #include "widgets/juce_ComboBox.h" #include "widgets/juce_ImageComponent.h" -#include "widgets/juce_Label.h" #include "widgets/juce_ListBox.h" #include "widgets/juce_ProgressBar.h" #include "widgets/juce_Slider.h" #include "widgets/juce_TableHeaderComponent.h" #include "widgets/juce_TableListBox.h" -#include "widgets/juce_TextEditor.h" #include "widgets/juce_Toolbar.h" #include "widgets/juce_ToolbarItemComponent.h" #include "widgets/juce_ToolbarItemFactory.h" #include "widgets/juce_ToolbarItemPalette.h" +#include "buttons/juce_ToolbarButton.h" +#include "misc/juce_DropShadower.h" #include "widgets/juce_TreeView.h" +#include "windows/juce_TopLevelWindow.h" #include "windows/juce_AlertWindow.h" #include "windows/juce_CallOutBox.h" #include "windows/juce_ComponentPeer.h" -#include "windows/juce_DialogWindow.h" +#include "windows/juce_ResizableWindow.h" #include "windows/juce_DocumentWindow.h" +#include "windows/juce_DialogWindow.h" #include "windows/juce_NativeMessageBox.h" -#include "windows/juce_ResizableWindow.h" #include "windows/juce_ThreadWithProgressWindow.h" #include "windows/juce_TooltipWindow.h" -#include "windows/juce_TopLevelWindow.h" -#include "commands/juce_ApplicationCommandID.h" -#include "commands/juce_ApplicationCommandInfo.h" -#include "commands/juce_ApplicationCommandManager.h" -#include "commands/juce_ApplicationCommandTarget.h" -#include "commands/juce_KeyPressMappingSet.h" +#include "layout/juce_MultiDocumentPanel.h" +#include "lookandfeel/juce_LookAndFeel.h" +#include "filebrowser/juce_FileFilter.h" +#include "filebrowser/juce_WildcardFileFilter.h" +#include "filebrowser/juce_FileBrowserListener.h" +#include "filebrowser/juce_DirectoryContentsList.h" +#include "filebrowser/juce_DirectoryContentsDisplayComponent.h" +#include "filebrowser/juce_FileBrowserComponent.h" +#include "filebrowser/juce_FileChooser.h" +#include "filebrowser/juce_FileChooserDialogBox.h" +#include "filebrowser/juce_FileListComponent.h" +#include "filebrowser/juce_FilenameComponent.h" +#include "filebrowser/juce_FilePreviewComponent.h" +#include "filebrowser/juce_FileSearchPathListComponent.h" +#include "filebrowser/juce_FileTreeComponent.h" +#include "filebrowser/juce_ImagePreviewComponent.h" +#include "properties/juce_PropertyComponent.h" +#include "properties/juce_BooleanPropertyComponent.h" +#include "properties/juce_ButtonPropertyComponent.h" +#include "properties/juce_ChoicePropertyComponent.h" +#include "properties/juce_PropertyPanel.h" +#include "properties/juce_SliderPropertyComponent.h" +#include "properties/juce_TextPropertyComponent.h" #include "application/juce_Application.h" #include "application/juce_Initialisation.h" #include "misc/juce_BubbleComponent.h" -#include "misc/juce_DropShadower.h" -// END_AUTOINCLUDE } diff --git a/modules/juce_gui_basics/keyboard/juce_CaretComponent.h b/modules/juce_gui_basics/keyboard/juce_CaretComponent.h index 08512c421e..2ae0ec15e9 100644 --- a/modules/juce_gui_basics/keyboard/juce_CaretComponent.h +++ b/modules/juce_gui_basics/keyboard/juce_CaretComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_CARETCOMPONENT_H_INCLUDED #define JUCE_CARETCOMPONENT_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/keyboard/juce_KeyListener.h b/modules/juce_gui_basics/keyboard/juce_KeyListener.h index 7fb39ca44b..fb30138192 100644 --- a/modules/juce_gui_basics/keyboard/juce_KeyListener.h +++ b/modules/juce_gui_basics/keyboard/juce_KeyListener.h @@ -25,9 +25,6 @@ #ifndef JUCE_KEYLISTENER_H_INCLUDED #define JUCE_KEYLISTENER_H_INCLUDED -#include "juce_KeyPress.h" -class Component; - //============================================================================== /** diff --git a/modules/juce_gui_basics/keyboard/juce_KeyPress.h b/modules/juce_gui_basics/keyboard/juce_KeyPress.h index acc4f80690..1269b38902 100644 --- a/modules/juce_gui_basics/keyboard/juce_KeyPress.h +++ b/modules/juce_gui_basics/keyboard/juce_KeyPress.h @@ -25,8 +25,6 @@ #ifndef JUCE_KEYPRESS_H_INCLUDED #define JUCE_KEYPRESS_H_INCLUDED -#include "juce_ModifierKeys.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h b/modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h index dad642a331..a22311d567 100644 --- a/modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h +++ b/modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h @@ -25,8 +25,6 @@ #ifndef JUCE_KEYBOARDFOCUSTRAVERSER_H_INCLUDED #define JUCE_KEYBOARDFOCUSTRAVERSER_H_INCLUDED -class Component; - //============================================================================== /** diff --git a/modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h b/modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h index 9588a87ed6..f09dc9b9bd 100644 --- a/modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h +++ b/modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h @@ -25,8 +25,6 @@ #ifndef JUCE_TEXTEDITORKEYMAPPER_H_INCLUDED #define JUCE_TEXTEDITORKEYMAPPER_H_INCLUDED -#include "juce_KeyPress.h" - //============================================================================== /** This class is used to invoke a range of text-editor navigation methods on diff --git a/modules/juce_gui_basics/layout/juce_AnimatedPosition.h b/modules/juce_gui_basics/layout/juce_AnimatedPosition.h index 1335c19b51..dac6ce174f 100644 --- a/modules/juce_gui_basics/layout/juce_AnimatedPosition.h +++ b/modules/juce_gui_basics/layout/juce_AnimatedPosition.h @@ -25,6 +25,7 @@ #ifndef JUCE_ANIMATEDPOSITION_H_INCLUDED #define JUCE_ANIMATEDPOSITION_H_INCLUDED + //============================================================================== /** Models a 1-dimensional position that can be dragged around by the user, and which diff --git a/modules/juce_gui_basics/layout/juce_ComponentAnimator.h b/modules/juce_gui_basics/layout/juce_ComponentAnimator.h index 660f533ce9..f8ef6c6858 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentAnimator.h +++ b/modules/juce_gui_basics/layout/juce_ComponentAnimator.h @@ -25,8 +25,6 @@ #ifndef JUCE_COMPONENTANIMATOR_H_INCLUDED #define JUCE_COMPONENTANIMATOR_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h b/modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h index b3428949d8..65f5ee420b 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h +++ b/modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h @@ -25,8 +25,6 @@ #ifndef JUCE_COMPONENTBOUNDSCONSTRAINER_H_INCLUDED #define JUCE_COMPONENTBOUNDSCONSTRAINER_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_ComponentBuilder.h b/modules/juce_gui_basics/layout/juce_ComponentBuilder.h index 11b11de6de..9a4e0cbf59 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentBuilder.h +++ b/modules/juce_gui_basics/layout/juce_ComponentBuilder.h @@ -25,8 +25,6 @@ #ifndef JUCE_COMPONENTBUILDER_H_INCLUDED #define JUCE_COMPONENTBUILDER_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h b/modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h index d9ea5c0c97..c2ca30ee80 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h +++ b/modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h @@ -25,8 +25,6 @@ #ifndef JUCE_COMPONENTMOVEMENTWATCHER_H_INCLUDED #define JUCE_COMPONENTMOVEMENTWATCHER_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** An object that watches for any movement of a component or any of its parent components. diff --git a/modules/juce_gui_basics/layout/juce_ConcertinaPanel.h b/modules/juce_gui_basics/layout/juce_ConcertinaPanel.h index d350b2706a..919e72d92f 100644 --- a/modules/juce_gui_basics/layout/juce_ConcertinaPanel.h +++ b/modules/juce_gui_basics/layout/juce_ConcertinaPanel.h @@ -25,6 +25,7 @@ #ifndef JUCE_CONCERTINAPANEL_H_INCLUDED #define JUCE_CONCERTINAPANEL_H_INCLUDED + //============================================================================== /** A panel which holds a vertical stack of components which can be expanded diff --git a/modules/juce_gui_basics/layout/juce_GroupComponent.h b/modules/juce_gui_basics/layout/juce_GroupComponent.h index 83147960f7..066c00501b 100644 --- a/modules/juce_gui_basics/layout/juce_GroupComponent.h +++ b/modules/juce_gui_basics/layout/juce_GroupComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_GROUPCOMPONENT_H_INCLUDED #define JUCE_GROUPCOMPONENT_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h b/modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h index 1559debaa3..959e3fbe95 100644 --- a/modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h +++ b/modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h @@ -25,8 +25,6 @@ #ifndef JUCE_MULTIDOCUMENTPANEL_H_INCLUDED #define JUCE_MULTIDOCUMENTPANEL_H_INCLUDED -#include "juce_TabbedComponent.h" -#include "../windows/juce_DocumentWindow.h" class MultiDocumentPanel; diff --git a/modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h b/modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h index 61636d10ab..3aa7e55a04 100644 --- a/modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h +++ b/modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_RESIZABLEBORDERCOMPONENT_H_INCLUDED #define JUCE_RESIZABLEBORDERCOMPONENT_H_INCLUDED -#include "juce_ComponentBoundsConstrainer.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h b/modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h index b01fde27f5..f5e87ebd54 100644 --- a/modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h +++ b/modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_RESIZABLECORNERCOMPONENT_H_INCLUDED #define JUCE_RESIZABLECORNERCOMPONENT_H_INCLUDED -#include "juce_ComponentBoundsConstrainer.h" - //============================================================================== /** A component that resizes a parent component when dragged. diff --git a/modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h b/modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h index 57769ab6b6..db9c494880 100644 --- a/modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h +++ b/modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_RESIZABLEEDGECOMPONENT_H_INCLUDED #define JUCE_RESIZABLEEDGECOMPONENT_H_INCLUDED -#include "juce_ComponentBoundsConstrainer.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_ScrollBar.h b/modules/juce_gui_basics/layout/juce_ScrollBar.h index 72fe5e7786..1a73e35e8b 100644 --- a/modules/juce_gui_basics/layout/juce_ScrollBar.h +++ b/modules/juce_gui_basics/layout/juce_ScrollBar.h @@ -25,8 +25,6 @@ #ifndef JUCE_SCROLLBAR_H_INCLUDED #define JUCE_SCROLLBAR_H_INCLUDED -#include "../buttons/juce_Button.h" -class Viewport; //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h b/modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h index fca671f7b1..318a5cb0c1 100644 --- a/modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h +++ b/modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h @@ -25,8 +25,6 @@ #ifndef JUCE_STRETCHABLELAYOUTMANAGER_H_INCLUDED #define JUCE_STRETCHABLELAYOUTMANAGER_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h b/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h index 180ae8fd99..926dd195b5 100644 --- a/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h +++ b/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h @@ -25,9 +25,6 @@ #ifndef JUCE_STRETCHABLELAYOUTRESIZERBAR_H_INCLUDED #define JUCE_STRETCHABLELAYOUTRESIZERBAR_H_INCLUDED -#include "../components/juce_Component.h" -#include "juce_StretchableLayoutManager.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_TabbedButtonBar.h b/modules/juce_gui_basics/layout/juce_TabbedButtonBar.h index 52bcb2c88d..9638dfbe21 100644 --- a/modules/juce_gui_basics/layout/juce_TabbedButtonBar.h +++ b/modules/juce_gui_basics/layout/juce_TabbedButtonBar.h @@ -25,7 +25,6 @@ #ifndef JUCE_TABBEDBUTTONBAR_H_INCLUDED #define JUCE_TABBEDBUTTONBAR_H_INCLUDED -#include "../buttons/juce_Button.h" class TabbedButtonBar; diff --git a/modules/juce_gui_basics/layout/juce_TabbedComponent.h b/modules/juce_gui_basics/layout/juce_TabbedComponent.h index a909bf9c8c..b7bc85aaac 100644 --- a/modules/juce_gui_basics/layout/juce_TabbedComponent.h +++ b/modules/juce_gui_basics/layout/juce_TabbedComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_TABBEDCOMPONENT_H_INCLUDED #define JUCE_TABBEDCOMPONENT_H_INCLUDED -#include "juce_TabbedButtonBar.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/layout/juce_Viewport.h b/modules/juce_gui_basics/layout/juce_Viewport.h index ccd393bf15..8ac0f4690c 100644 --- a/modules/juce_gui_basics/layout/juce_Viewport.h +++ b/modules/juce_gui_basics/layout/juce_Viewport.h @@ -25,8 +25,6 @@ #ifndef JUCE_VIEWPORT_H_INCLUDED #define JUCE_VIEWPORT_H_INCLUDED -#include "juce_ScrollBar.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h index 2c2c5f9609..4d02c6f6f3 100644 --- a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h +++ b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h @@ -25,38 +25,6 @@ #ifndef JUCE_LOOKANDFEEL_H_INCLUDED #define JUCE_LOOKANDFEEL_H_INCLUDED -#include "../widgets/juce_Slider.h" -#include "../layout/juce_TabbedComponent.h" -#include "../windows/juce_AlertWindow.h" - -class ToggleButton; -class TextButton; -class AlertWindow; -class TextLayout; -class ScrollBar; -class ComboBox; -class Button; -class FilenameComponent; -class DocumentWindow; -class ResizableWindow; -class GroupComponent; -class MenuBarComponent; -class DropShadower; -class GlyphArrangement; -class PropertyComponent; -class TableHeaderComponent; -class Toolbar; -class ToolbarItemComponent; -class PopupMenu; -class ProgressBar; -class FileBrowserComponent; -class DirectoryContentsDisplayComponent; -class FilePreviewComponent; -class ImageButton; -class CallOutBox; -class Drawable; -class CaretComponent; -class BubbleComponent; //============================================================================== /** diff --git a/modules/juce_gui_basics/menus/juce_MenuBarComponent.h b/modules/juce_gui_basics/menus/juce_MenuBarComponent.h index 88eb744744..b8fc2c315a 100644 --- a/modules/juce_gui_basics/menus/juce_MenuBarComponent.h +++ b/modules/juce_gui_basics/menus/juce_MenuBarComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_MENUBARCOMPONENT_H_INCLUDED #define JUCE_MENUBARCOMPONENT_H_INCLUDED -#include "juce_MenuBarModel.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/menus/juce_MenuBarModel.h b/modules/juce_gui_basics/menus/juce_MenuBarModel.h index fe7b48e1f6..ceac89a3ae 100644 --- a/modules/juce_gui_basics/menus/juce_MenuBarModel.h +++ b/modules/juce_gui_basics/menus/juce_MenuBarModel.h @@ -25,8 +25,6 @@ #ifndef JUCE_MENUBARMODEL_H_INCLUDED #define JUCE_MENUBARMODEL_H_INCLUDED -#include "juce_PopupMenu.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/misc/juce_DropShadower.h b/modules/juce_gui_basics/misc/juce_DropShadower.h index e50f83124b..484ed631c3 100644 --- a/modules/juce_gui_basics/misc/juce_DropShadower.h +++ b/modules/juce_gui_basics/misc/juce_DropShadower.h @@ -25,8 +25,6 @@ #ifndef JUCE_DROPSHADOWER_H_INCLUDED #define JUCE_DROPSHADOWER_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_ComponentDragger.h b/modules/juce_gui_basics/mouse/juce_ComponentDragger.h index 5ab022da73..f6c3147009 100644 --- a/modules/juce_gui_basics/mouse/juce_ComponentDragger.h +++ b/modules/juce_gui_basics/mouse/juce_ComponentDragger.h @@ -25,9 +25,6 @@ #ifndef JUCE_COMPONENTDRAGGER_H_INCLUDED #define JUCE_COMPONENTDRAGGER_H_INCLUDED -#include "juce_MouseEvent.h" -#include "../layout/juce_ComponentBoundsConstrainer.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h b/modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h index 78ebf9f4bb..70873780ed 100644 --- a/modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h +++ b/modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h @@ -25,8 +25,6 @@ #ifndef JUCE_DRAGANDDROPCONTAINER_H_INCLUDED #define JUCE_DRAGANDDROPCONTAINER_H_INCLUDED -#include "juce_DragAndDropTarget.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h b/modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h index 7f702bc203..d08b085145 100644 --- a/modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h +++ b/modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h @@ -25,8 +25,6 @@ #ifndef JUCE_DRAGANDDROPTARGET_H_INCLUDED #define JUCE_DRAGANDDROPTARGET_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_LassoComponent.h b/modules/juce_gui_basics/mouse/juce_LassoComponent.h index fe22c0eb44..07aa8d24d9 100644 --- a/modules/juce_gui_basics/mouse/juce_LassoComponent.h +++ b/modules/juce_gui_basics/mouse/juce_LassoComponent.h @@ -25,9 +25,6 @@ #ifndef JUCE_LASSOCOMPONENT_H_INCLUDED #define JUCE_LASSOCOMPONENT_H_INCLUDED -#include "../components/juce_Component.h" -#include "juce_SelectedItemSet.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_MouseCursor.h b/modules/juce_gui_basics/mouse/juce_MouseCursor.h index 7365e246f2..45bf3a66de 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseCursor.h +++ b/modules/juce_gui_basics/mouse/juce_MouseCursor.h @@ -25,10 +25,6 @@ #ifndef JUCE_MOUSECURSOR_H_INCLUDED #define JUCE_MOUSECURSOR_H_INCLUDED -class Image; -class ComponentPeer; -class Component; - //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_MouseEvent.h b/modules/juce_gui_basics/mouse/juce_MouseEvent.h index fa72af9820..6256a66ed2 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseEvent.h +++ b/modules/juce_gui_basics/mouse/juce_MouseEvent.h @@ -25,10 +25,6 @@ #ifndef JUCE_MOUSEEVENT_H_INCLUDED #define JUCE_MOUSEEVENT_H_INCLUDED -class Component; -class MouseInputSource; -#include "../keyboard/juce_ModifierKeys.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h b/modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h index 9817959610..a2f6533d02 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h +++ b/modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h @@ -25,6 +25,7 @@ #ifndef JUCE_MOUSEINACTIVITYDETECTOR_H_INCLUDED #define JUCE_MOUSEINACTIVITYDETECTOR_H_INCLUDED + //============================================================================== /** This object watches for mouse-events happening within a component, and if diff --git a/modules/juce_gui_basics/mouse/juce_MouseInputSource.h b/modules/juce_gui_basics/mouse/juce_MouseInputSource.h index 8643066075..e443342862 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseInputSource.h +++ b/modules/juce_gui_basics/mouse/juce_MouseInputSource.h @@ -25,10 +25,6 @@ #ifndef JUCE_MOUSEINPUTSOURCE_H_INCLUDED #define JUCE_MOUSEINPUTSOURCE_H_INCLUDED -#include "../keyboard/juce_ModifierKeys.h" -#include "../components/juce_Desktop.h" -class MouseInputSourceInternal; - //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_MouseListener.h b/modules/juce_gui_basics/mouse/juce_MouseListener.h index 06835aa1e2..54069c5c16 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseListener.h +++ b/modules/juce_gui_basics/mouse/juce_MouseListener.h @@ -25,8 +25,6 @@ #ifndef JUCE_MOUSELISTENER_H_INCLUDED #define JUCE_MOUSELISTENER_H_INCLUDED -class MouseEvent; -struct MouseWheelDetails; //============================================================================== /** diff --git a/modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h b/modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h index 21f75a00f8..60fa491f65 100644 --- a/modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h +++ b/modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h @@ -25,6 +25,8 @@ #ifndef JUCE_TEXTDRAGANDDROPTARGET_H_INCLUDED #define JUCE_TEXTDRAGANDDROPTARGET_H_INCLUDED + +//============================================================================== /** Components derived from this class can have text dropped onto them by an external application. diff --git a/modules/juce_gui_basics/positioning/juce_MarkerList.h b/modules/juce_gui_basics/positioning/juce_MarkerList.h index a33dc90e73..348c1b8ee2 100644 --- a/modules/juce_gui_basics/positioning/juce_MarkerList.h +++ b/modules/juce_gui_basics/positioning/juce_MarkerList.h @@ -25,9 +25,6 @@ #ifndef JUCE_MARKERLIST_H_INCLUDED #define JUCE_MARKERLIST_H_INCLUDED -#include "../positioning/juce_RelativeCoordinate.h" -class Component; - //============================================================================== /** diff --git a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h index af5ca92e4c..35213e9fe0 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h @@ -25,10 +25,6 @@ #ifndef JUCE_RELATIVECOORDINATEPOSITIONER_H_INCLUDED #define JUCE_RELATIVECOORDINATEPOSITIONER_H_INCLUDED -#include "juce_RelativePoint.h" -#include "juce_MarkerList.h" -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h b/modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h index f4445b7b59..3e78b4aeb4 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h @@ -25,8 +25,6 @@ #ifndef JUCE_RELATIVEPARALLELOGRAM_H_INCLUDED #define JUCE_RELATIVEPARALLELOGRAM_H_INCLUDED -#include "juce_RelativePoint.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/positioning/juce_RelativePoint.h b/modules/juce_gui_basics/positioning/juce_RelativePoint.h index 1d8b49bb67..78c971a25a 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativePoint.h +++ b/modules/juce_gui_basics/positioning/juce_RelativePoint.h @@ -25,8 +25,6 @@ #ifndef JUCE_RELATIVEPOINT_H_INCLUDED #define JUCE_RELATIVEPOINT_H_INCLUDED -#include "juce_RelativeCoordinate.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/positioning/juce_RelativePointPath.h b/modules/juce_gui_basics/positioning/juce_RelativePointPath.h index c30f0643bd..8514ec2b76 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativePointPath.h +++ b/modules/juce_gui_basics/positioning/juce_RelativePointPath.h @@ -25,8 +25,6 @@ #ifndef JUCE_RELATIVEPOINTPATH_H_INCLUDED #define JUCE_RELATIVEPOINTPATH_H_INCLUDED -#include "juce_RelativePoint.h" -class DrawablePath; //============================================================================== /** diff --git a/modules/juce_gui_basics/positioning/juce_RelativeRectangle.h b/modules/juce_gui_basics/positioning/juce_RelativeRectangle.h index 5d6dbcca16..5d210b845b 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeRectangle.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeRectangle.h @@ -25,8 +25,6 @@ #ifndef JUCE_RELATIVERECTANGLE_H_INCLUDED #define JUCE_RELATIVERECTANGLE_H_INCLUDED -#include "juce_RelativeCoordinate.h" -class Component; //============================================================================== /** diff --git a/modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h b/modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h index 3c636f87d0..958428faac 100644 --- a/modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h @@ -25,9 +25,6 @@ #ifndef JUCE_BOOLEANPROPERTYCOMPONENT_H_INCLUDED #define JUCE_BOOLEANPROPERTYCOMPONENT_H_INCLUDED -#include "juce_PropertyComponent.h" -#include "../buttons/juce_ToggleButton.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h b/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h index 90d5926c35..5f70def6cb 100644 --- a/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h @@ -25,9 +25,6 @@ #ifndef JUCE_BUTTONPROPERTYCOMPONENT_H_INCLUDED #define JUCE_BUTTONPROPERTYCOMPONENT_H_INCLUDED -#include "juce_PropertyComponent.h" -#include "../buttons/juce_TextButton.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h b/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h index 81fdc10ccb..be01bac99a 100644 --- a/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h @@ -25,9 +25,6 @@ #ifndef JUCE_CHOICEPROPERTYCOMPONENT_H_INCLUDED #define JUCE_CHOICEPROPERTYCOMPONENT_H_INCLUDED -#include "juce_PropertyComponent.h" -#include "../widgets/juce_ComboBox.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/properties/juce_PropertyComponent.h b/modules/juce_gui_basics/properties/juce_PropertyComponent.h index 2aee7401d4..9914ea5ccd 100644 --- a/modules/juce_gui_basics/properties/juce_PropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_PropertyComponent.h @@ -25,10 +25,6 @@ #ifndef JUCE_PROPERTYCOMPONENT_H_INCLUDED #define JUCE_PROPERTYCOMPONENT_H_INCLUDED -class EditableProperty; - -#include "../components/juce_Component.h" -#include "../mouse/juce_TooltipClient.h" //============================================================================== /** diff --git a/modules/juce_gui_basics/properties/juce_PropertyPanel.h b/modules/juce_gui_basics/properties/juce_PropertyPanel.h index 6a5d81b04f..394921f434 100644 --- a/modules/juce_gui_basics/properties/juce_PropertyPanel.h +++ b/modules/juce_gui_basics/properties/juce_PropertyPanel.h @@ -25,9 +25,6 @@ #ifndef JUCE_PROPERTYPANEL_H_INCLUDED #define JUCE_PROPERTYPANEL_H_INCLUDED -#include "juce_PropertyComponent.h" -#include "../layout/juce_Viewport.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h b/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h index 53adbb64cf..99d85e3fec 100644 --- a/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h @@ -25,9 +25,6 @@ #ifndef JUCE_SLIDERPROPERTYCOMPONENT_H_INCLUDED #define JUCE_SLIDERPROPERTYCOMPONENT_H_INCLUDED -#include "juce_PropertyComponent.h" -#include "../widgets/juce_Slider.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/properties/juce_TextPropertyComponent.h b/modules/juce_gui_basics/properties/juce_TextPropertyComponent.h index 4c57348d5c..2b484966ac 100644 --- a/modules/juce_gui_basics/properties/juce_TextPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_TextPropertyComponent.h @@ -25,9 +25,6 @@ #ifndef JUCE_TEXTPROPERTYCOMPONENT_H_INCLUDED #define JUCE_TEXTPROPERTYCOMPONENT_H_INCLUDED -#include "juce_PropertyComponent.h" -#include "../widgets/juce_Label.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_ComboBox.h b/modules/juce_gui_basics/widgets/juce_ComboBox.h index be225f91c7..a3871f2a84 100644 --- a/modules/juce_gui_basics/widgets/juce_ComboBox.h +++ b/modules/juce_gui_basics/widgets/juce_ComboBox.h @@ -25,8 +25,6 @@ #ifndef JUCE_COMBOBOX_H_INCLUDED #define JUCE_COMBOBOX_H_INCLUDED -#include "juce_Label.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_ImageComponent.h b/modules/juce_gui_basics/widgets/juce_ImageComponent.h index c6221fb63f..817dfa75cf 100644 --- a/modules/juce_gui_basics/widgets/juce_ImageComponent.h +++ b/modules/juce_gui_basics/widgets/juce_ImageComponent.h @@ -25,9 +25,6 @@ #ifndef JUCE_IMAGECOMPONENT_H_INCLUDED #define JUCE_IMAGECOMPONENT_H_INCLUDED -#include "../components/juce_Component.h" -#include "../mouse/juce_TooltipClient.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_Label.h b/modules/juce_gui_basics/widgets/juce_Label.h index c0394424d1..017bd898a4 100644 --- a/modules/juce_gui_basics/widgets/juce_Label.h +++ b/modules/juce_gui_basics/widgets/juce_Label.h @@ -25,8 +25,6 @@ #ifndef JUCE_LABEL_H_INCLUDED #define JUCE_LABEL_H_INCLUDED -#include "juce_TextEditor.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_ListBox.h b/modules/juce_gui_basics/widgets/juce_ListBox.h index e1453345e5..e2f78e52d7 100644 --- a/modules/juce_gui_basics/widgets/juce_ListBox.h +++ b/modules/juce_gui_basics/widgets/juce_ListBox.h @@ -25,8 +25,6 @@ #ifndef JUCE_LISTBOX_H_INCLUDED #define JUCE_LISTBOX_H_INCLUDED -#include "../layout/juce_Viewport.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_ProgressBar.h b/modules/juce_gui_basics/widgets/juce_ProgressBar.h index 73d824099d..da7db46429 100644 --- a/modules/juce_gui_basics/widgets/juce_ProgressBar.h +++ b/modules/juce_gui_basics/widgets/juce_ProgressBar.h @@ -25,8 +25,6 @@ #ifndef JUCE_PROGRESSBAR_H_INCLUDED #define JUCE_PROGRESSBAR_H_INCLUDED -#include "../components/juce_Component.h" -#include "../mouse/juce_TooltipClient.h" //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_Slider.h b/modules/juce_gui_basics/widgets/juce_Slider.h index 1ab952b069..6660c2c9d1 100644 --- a/modules/juce_gui_basics/widgets/juce_Slider.h +++ b/modules/juce_gui_basics/widgets/juce_Slider.h @@ -25,8 +25,6 @@ #ifndef JUCE_SLIDER_H_INCLUDED #define JUCE_SLIDER_H_INCLUDED -#include "juce_Label.h" -#include "../buttons/juce_Button.h" //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h b/modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h index 7834cc2c31..914e018422 100644 --- a/modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h +++ b/modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h @@ -25,8 +25,6 @@ #ifndef JUCE_TABLEHEADERCOMPONENT_H_INCLUDED #define JUCE_TABLEHEADERCOMPONENT_H_INCLUDED -#include "../menus/juce_PopupMenu.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_TableListBox.h b/modules/juce_gui_basics/widgets/juce_TableListBox.h index a45f2af515..883aca1af4 100644 --- a/modules/juce_gui_basics/widgets/juce_TableListBox.h +++ b/modules/juce_gui_basics/widgets/juce_TableListBox.h @@ -25,9 +25,6 @@ #ifndef JUCE_TABLELISTBOX_H_INCLUDED #define JUCE_TABLELISTBOX_H_INCLUDED -#include "juce_TableHeaderComponent.h" -#include "juce_ListBox.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_TextEditor.h b/modules/juce_gui_basics/widgets/juce_TextEditor.h index d409427b29..f77f7f8197 100644 --- a/modules/juce_gui_basics/widgets/juce_TextEditor.h +++ b/modules/juce_gui_basics/widgets/juce_TextEditor.h @@ -25,12 +25,6 @@ #ifndef JUCE_TEXTEDITOR_H_INCLUDED #define JUCE_TEXTEDITOR_H_INCLUDED -#include "../components/juce_Component.h" -#include "../layout/juce_Viewport.h" -#include "../menus/juce_PopupMenu.h" -#include "../keyboard/juce_TextInputTarget.h" -#include "../keyboard/juce_CaretComponent.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_Toolbar.h b/modules/juce_gui_basics/widgets/juce_Toolbar.h index ac8c2108c6..e0eeb81e77 100644 --- a/modules/juce_gui_basics/widgets/juce_Toolbar.h +++ b/modules/juce_gui_basics/widgets/juce_Toolbar.h @@ -25,9 +25,6 @@ #ifndef JUCE_TOOLBAR_H_INCLUDED #define JUCE_TOOLBAR_H_INCLUDED -#include "../mouse/juce_DragAndDropContainer.h" -#include "../layout/juce_ComponentAnimator.h" -#include "../buttons/juce_Button.h" class ToolbarItemComponent; class ToolbarItemFactory; diff --git a/modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h b/modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h index 404c1bf2f4..15c0b927f7 100644 --- a/modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h +++ b/modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h @@ -25,10 +25,6 @@ #ifndef JUCE_TOOLBARITEMCOMPONENT_H_INCLUDED #define JUCE_TOOLBARITEMCOMPONENT_H_INCLUDED -#include "../buttons/juce_Button.h" -#include "../drawables/juce_Drawable.h" -#include "juce_Toolbar.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h b/modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h index 738613b350..315993302f 100644 --- a/modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h +++ b/modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h @@ -25,8 +25,6 @@ #ifndef JUCE_TOOLBARITEMFACTORY_H_INCLUDED #define JUCE_TOOLBARITEMFACTORY_H_INCLUDED -#include "juce_ToolbarItemComponent.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h b/modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h index 7c6b29fe79..8885971847 100644 --- a/modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h +++ b/modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h @@ -25,9 +25,6 @@ #ifndef JUCE_TOOLBARITEMPALETTE_H_INCLUDED #define JUCE_TOOLBARITEMPALETTE_H_INCLUDED -#include "juce_Toolbar.h" -#include "../layout/juce_Viewport.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/widgets/juce_TreeView.h b/modules/juce_gui_basics/widgets/juce_TreeView.h index 07f737cdac..5e75046666 100644 --- a/modules/juce_gui_basics/widgets/juce_TreeView.h +++ b/modules/juce_gui_basics/widgets/juce_TreeView.h @@ -25,9 +25,6 @@ #ifndef JUCE_TREEVIEW_H_INCLUDED #define JUCE_TREEVIEW_H_INCLUDED -#include "../layout/juce_Viewport.h" -#include "../mouse/juce_FileDragAndDropTarget.h" -#include "../mouse/juce_DragAndDropTarget.h" class TreeView; diff --git a/modules/juce_gui_basics/windows/juce_AlertWindow.h b/modules/juce_gui_basics/windows/juce_AlertWindow.h index 2deae9c051..7180ab7eea 100644 --- a/modules/juce_gui_basics/windows/juce_AlertWindow.h +++ b/modules/juce_gui_basics/windows/juce_AlertWindow.h @@ -25,13 +25,6 @@ #ifndef JUCE_ALERTWINDOW_H_INCLUDED #define JUCE_ALERTWINDOW_H_INCLUDED -#include "juce_TopLevelWindow.h" -#include "../buttons/juce_TextButton.h" -#include "../widgets/juce_ComboBox.h" -#include "../widgets/juce_TextEditor.h" -#include "../widgets/juce_ProgressBar.h" -#include "../mouse/juce_ComponentDragger.h" - //============================================================================== /** A window that displays a message and has buttons for the user to react to it. diff --git a/modules/juce_gui_basics/windows/juce_CallOutBox.h b/modules/juce_gui_basics/windows/juce_CallOutBox.h index f68d5e0b9f..22a9612b61 100644 --- a/modules/juce_gui_basics/windows/juce_CallOutBox.h +++ b/modules/juce_gui_basics/windows/juce_CallOutBox.h @@ -25,8 +25,6 @@ #ifndef JUCE_CALLOUTBOX_H_INCLUDED #define JUCE_CALLOUTBOX_H_INCLUDED -#include "../components/juce_Component.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/windows/juce_ComponentPeer.h b/modules/juce_gui_basics/windows/juce_ComponentPeer.h index c47343ea53..4a4b51581b 100644 --- a/modules/juce_gui_basics/windows/juce_ComponentPeer.h +++ b/modules/juce_gui_basics/windows/juce_ComponentPeer.h @@ -25,12 +25,6 @@ #ifndef JUCE_COMPONENTPEER_H_INCLUDED #define JUCE_COMPONENTPEER_H_INCLUDED -#include "../components/juce_Component.h" -#include "../mouse/juce_MouseCursor.h" -#include "../keyboard/juce_TextInputTarget.h" - -class ComponentBoundsConstrainer; - //============================================================================== /** diff --git a/modules/juce_gui_basics/windows/juce_DialogWindow.h b/modules/juce_gui_basics/windows/juce_DialogWindow.h index 35cff5392b..11e0697c42 100644 --- a/modules/juce_gui_basics/windows/juce_DialogWindow.h +++ b/modules/juce_gui_basics/windows/juce_DialogWindow.h @@ -25,8 +25,6 @@ #ifndef JUCE_DIALOGWINDOW_H_INCLUDED #define JUCE_DIALOGWINDOW_H_INCLUDED -#include "juce_DocumentWindow.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/windows/juce_DocumentWindow.h b/modules/juce_gui_basics/windows/juce_DocumentWindow.h index a39a6720e0..8f2783fb27 100644 --- a/modules/juce_gui_basics/windows/juce_DocumentWindow.h +++ b/modules/juce_gui_basics/windows/juce_DocumentWindow.h @@ -25,10 +25,6 @@ #ifndef JUCE_DOCUMENTWINDOW_H_INCLUDED #define JUCE_DOCUMENTWINDOW_H_INCLUDED -#include "juce_ResizableWindow.h" -#include "../buttons/juce_Button.h" -#include "../menus/juce_MenuBarModel.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/windows/juce_NativeMessageBox.h b/modules/juce_gui_basics/windows/juce_NativeMessageBox.h index 51eecfc9e5..d43738a267 100644 --- a/modules/juce_gui_basics/windows/juce_NativeMessageBox.h +++ b/modules/juce_gui_basics/windows/juce_NativeMessageBox.h @@ -25,6 +25,7 @@ #ifndef JUCE_NATIVEMESSAGEBOX_H_INCLUDED #define JUCE_NATIVEMESSAGEBOX_H_INCLUDED +//============================================================================== /** This class contains some static methods for showing native alert windows. */ @@ -154,6 +155,10 @@ public: Component* associatedComponent, ModalComponentManager::Callback* callback); #endif + +private: + NativeMessageBox() JUCE_DELETED_FUNCTION; + JUCE_DECLARE_NON_COPYABLE (NativeMessageBox) }; #endif // JUCE_NATIVEMESSAGEBOX_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_ResizableWindow.h b/modules/juce_gui_basics/windows/juce_ResizableWindow.h index 964d68ed9a..a2a765c2f7 100644 --- a/modules/juce_gui_basics/windows/juce_ResizableWindow.h +++ b/modules/juce_gui_basics/windows/juce_ResizableWindow.h @@ -25,11 +25,6 @@ #ifndef JUCE_RESIZABLEWINDOW_H_INCLUDED #define JUCE_RESIZABLEWINDOW_H_INCLUDED -#include "juce_TopLevelWindow.h" -#include "../mouse/juce_ComponentDragger.h" -#include "../layout/juce_ResizableBorderComponent.h" -#include "../layout/juce_ResizableCornerComponent.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h b/modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h index 8897a67de7..862d6d0596 100644 --- a/modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h +++ b/modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h @@ -25,8 +25,6 @@ #ifndef JUCE_THREADWITHPROGRESSWINDOW_H_INCLUDED #define JUCE_THREADWITHPROGRESSWINDOW_H_INCLUDED -#include "../windows/juce_AlertWindow.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/windows/juce_TooltipWindow.h b/modules/juce_gui_basics/windows/juce_TooltipWindow.h index c6a14b4197..73ec295a2d 100644 --- a/modules/juce_gui_basics/windows/juce_TooltipWindow.h +++ b/modules/juce_gui_basics/windows/juce_TooltipWindow.h @@ -25,9 +25,6 @@ #ifndef JUCE_TOOLTIPWINDOW_H_INCLUDED #define JUCE_TOOLTIPWINDOW_H_INCLUDED -#include "../components/juce_Component.h" -#include "../mouse/juce_TooltipClient.h" - //============================================================================== /** diff --git a/modules/juce_gui_basics/windows/juce_TopLevelWindow.h b/modules/juce_gui_basics/windows/juce_TopLevelWindow.h index b6e2320b02..02e7bcb899 100644 --- a/modules/juce_gui_basics/windows/juce_TopLevelWindow.h +++ b/modules/juce_gui_basics/windows/juce_TopLevelWindow.h @@ -25,9 +25,6 @@ #ifndef JUCE_TOPLEVELWINDOW_H_INCLUDED #define JUCE_TOPLEVELWINDOW_H_INCLUDED -#include "../components/juce_Component.h" -#include "../misc/juce_DropShadower.h" - //============================================================================== /** @@ -153,7 +150,7 @@ protected: private: friend class TopLevelWindowManager; bool useDropShadow, useNativeTitleBar, isCurrentlyActive; - ScopedPointer shadower; + ScopedPointer shadower; void setWindowActive (bool isNowActive);