LMMS
Loading...
Searching...
No Matches
plugins
CarlaBase
carla
source
modules
juce_gui_basics
juce_gui_basics.h
Go to the documentation of this file.
1
/*
2
==============================================================================
3
4
This file is part of the JUCE library.
5
Copyright (c) 2022 - Raw Material Software Limited
6
7
JUCE is an open source library subject to commercial or open-source
8
licensing.
9
10
By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11
Agreement and JUCE Privacy Policy.
12
13
End User License Agreement: www.juce.com/juce-7-licence
14
Privacy Policy: www.juce.com/juce-privacy-policy
15
16
Or: You may also use this code under the terms of the GPL v3 (see
17
www.gnu.org/licenses).
18
19
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21
DISCLAIMED.
22
23
==============================================================================
24
*/
25
26
27
/*******************************************************************************
28
The block below describes the properties of this module, and is read by
29
the Projucer to automatically generate project code that uses it.
30
For details about the syntax and how to create or use a module, see the
31
JUCE Module Format.md file.
32
33
34
BEGIN_JUCE_MODULE_DECLARATION
35
36
ID: juce_gui_basics
37
vendor: juce
38
version: 7.0.1
39
name: JUCE GUI core classes
40
description: Basic user-interface components and related classes.
41
website: http://www.juce.com/juce
42
license: GPL/Commercial
43
minimumCppStandard: 14
44
45
dependencies: juce_graphics juce_data_structures
46
OSXFrameworks: Cocoa QuartzCore
47
WeakOSXFrameworks: Metal MetalKit
48
iOSFrameworks: CoreServices UIKit
49
WeakiOSFrameworks: Metal MetalKit
50
mingwLibs: dxgi
51
52
END_JUCE_MODULE_DECLARATION
53
54
*******************************************************************************/
55
56
57
#pragma once
58
#define JUCE_GUI_BASICS_H_INCLUDED
59
60
#include <
juce_graphics/juce_graphics.h
>
61
#include <
juce_data_structures/juce_data_structures.h
>
62
63
//==============================================================================
69
#ifndef JUCE_ENABLE_REPAINT_DEBUGGING
70
#define JUCE_ENABLE_REPAINT_DEBUGGING 0
71
#endif
72
79
#ifndef JUCE_USE_XRANDR
80
#define JUCE_USE_XRANDR 1
81
#endif
82
90
#ifndef JUCE_USE_XINERAMA
91
#define JUCE_USE_XINERAMA 1
92
#endif
93
98
#ifndef JUCE_USE_XSHM
99
#define JUCE_USE_XSHM 1
100
#endif
101
105
#ifndef JUCE_USE_XRENDER
106
#define JUCE_USE_XRENDER 0
107
#endif
108
113
#ifndef JUCE_USE_XCURSOR
114
#define JUCE_USE_XCURSOR 1
115
#endif
116
120
#ifndef JUCE_WIN_PER_MONITOR_DPI_AWARE
121
#define JUCE_WIN_PER_MONITOR_DPI_AWARE 1
122
#endif
123
124
//==============================================================================
125
namespace
juce
126
{
127
class
Component;
128
class
LookAndFeel;
129
class
MouseInputSource;
130
class
MouseInputSourceInternal;
131
class
ComponentPeer;
132
class
MouseEvent;
133
struct
MouseWheelDetails;
134
struct
PenDetails;
135
class
ToggleButton;
136
class
TextButton;
137
class
AlertWindow;
138
class
TextLayout;
139
class
ScrollBar;
140
class
ComboBox;
141
class
Button;
142
class
FilenameComponent;
143
class
ResizableWindow;
144
class
MenuBarComponent;
145
class
GlyphArrangement;
146
class
TableHeaderComponent;
147
class
Toolbar;
148
class
PopupMenu;
149
class
ProgressBar;
150
class
FileBrowserComponent;
151
class
DirectoryContentsDisplayComponent;
152
class
FilePreviewComponent;
153
class
CallOutBox;
154
class
Drawable;
155
class
DrawablePath;
156
class
DrawableComposite;
157
class
CaretComponent;
158
class
KeyPressMappingSet;
159
class
ApplicationCommandManagerListener;
160
class
DrawableButton;
161
class
Displays;
162
class
AccessibilityHandler;
163
class
KeyboardFocusTraverser;
164
class
PointerState;
165
166
class
FlexBox;
167
class
Grid;
168
class
FocusOutline;
169
170
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX
171
Image createSnapshotOfNativeWindow (
void
* nativeWindowHandle);
172
#endif
173
}
174
175
#include "
mouse/juce_MouseCursor.h
"
176
#include "
mouse/juce_MouseListener.h
"
177
#include "
keyboard/juce_ModifierKeys.h
"
178
#include "
mouse/juce_MouseInputSource.h
"
179
#include "
mouse/juce_MouseEvent.h
"
180
#include "
keyboard/juce_KeyPress.h
"
181
#include "
keyboard/juce_KeyListener.h
"
182
#include "
components/juce_ComponentTraverser.h
"
183
#include "
components/juce_FocusTraverser.h
"
184
#include "
components/juce_ModalComponentManager.h
"
185
#include "
components/juce_ComponentListener.h
"
186
#include "
components/juce_CachedComponentImage.h
"
187
#include "
components/juce_Component.h
"
188
#include "
layout/juce_ComponentAnimator.h
"
189
#include "
desktop/juce_Desktop.h
"
190
#include "
desktop/juce_Displays.h
"
191
#include "
layout/juce_ComponentBoundsConstrainer.h
"
192
#include "
mouse/juce_ComponentDragger.h
"
193
#include "
mouse/juce_DragAndDropTarget.h
"
194
#include "
mouse/juce_DragAndDropContainer.h
"
195
#include "
mouse/juce_FileDragAndDropTarget.h
"
196
#include "
mouse/juce_SelectedItemSet.h
"
197
#include "
mouse/juce_MouseInactivityDetector.h
"
198
#include "
mouse/juce_TextDragAndDropTarget.h
"
199
#include "
mouse/juce_TooltipClient.h
"
200
#include "
keyboard/juce_CaretComponent.h
"
201
#include "
keyboard/juce_KeyboardFocusTraverser.h
"
202
#include "
keyboard/juce_SystemClipboard.h
"
203
#include "
keyboard/juce_TextEditorKeyMapper.h
"
204
#include "
keyboard/juce_TextInputTarget.h
"
205
#include "
commands/juce_ApplicationCommandID.h
"
206
#include "
commands/juce_ApplicationCommandInfo.h
"
207
#include "
commands/juce_ApplicationCommandTarget.h
"
208
#include "
commands/juce_ApplicationCommandManager.h
"
209
#include "
commands/juce_KeyPressMappingSet.h
"
210
#include "
buttons/juce_Button.h
"
211
#include "
buttons/juce_ArrowButton.h
"
212
#include "
buttons/juce_DrawableButton.h
"
213
#include "
buttons/juce_HyperlinkButton.h
"
214
#include "
buttons/juce_ImageButton.h
"
215
#include "
buttons/juce_ShapeButton.h
"
216
#include "
buttons/juce_TextButton.h
"
217
#include "
buttons/juce_ToggleButton.h
"
218
#include "
layout/juce_AnimatedPosition.h
"
219
#include "
layout/juce_AnimatedPositionBehaviours.h
"
220
#include "
layout/juce_ComponentBuilder.h
"
221
#include "
layout/juce_ComponentMovementWatcher.h
"
222
#include "
layout/juce_ConcertinaPanel.h
"
223
#include "
layout/juce_GroupComponent.h
"
224
#include "
layout/juce_ResizableBorderComponent.h
"
225
#include "
layout/juce_ResizableCornerComponent.h
"
226
#include "
layout/juce_ResizableEdgeComponent.h
"
227
#include "
layout/juce_ScrollBar.h
"
228
#include "
layout/juce_StretchableLayoutManager.h
"
229
#include "
layout/juce_StretchableLayoutResizerBar.h
"
230
#include "
layout/juce_StretchableObjectResizer.h
"
231
#include "
layout/juce_TabbedButtonBar.h
"
232
#include "
layout/juce_TabbedComponent.h
"
233
#include "
layout/juce_Viewport.h
"
234
#include "
menus/juce_PopupMenu.h
"
235
#include "
menus/juce_MenuBarModel.h
"
236
#include "
menus/juce_MenuBarComponent.h
"
237
#include "
positioning/juce_RelativeCoordinate.h
"
238
#include "
positioning/juce_MarkerList.h
"
239
#include "
positioning/juce_RelativePoint.h
"
240
#include "
positioning/juce_RelativeRectangle.h
"
241
#include "
positioning/juce_RelativeCoordinatePositioner.h
"
242
#include "
positioning/juce_RelativeParallelogram.h
"
243
#include "
positioning/juce_RelativePointPath.h
"
244
#include "
drawables/juce_Drawable.h
"
245
#include "
drawables/juce_DrawableShape.h
"
246
#include "
drawables/juce_DrawableComposite.h
"
247
#include "
drawables/juce_DrawableImage.h
"
248
#include "
drawables/juce_DrawablePath.h
"
249
#include "
drawables/juce_DrawableRectangle.h
"
250
#include "
drawables/juce_DrawableText.h
"
251
#include "
widgets/juce_TextEditor.h
"
252
#include "
widgets/juce_Label.h
"
253
#include "
widgets/juce_ComboBox.h
"
254
#include "
widgets/juce_ImageComponent.h
"
255
#include "
widgets/juce_ListBox.h
"
256
#include "
widgets/juce_ProgressBar.h
"
257
#include "
widgets/juce_Slider.h
"
258
#include "
widgets/juce_TableHeaderComponent.h
"
259
#include "
widgets/juce_TableListBox.h
"
260
#include "
widgets/juce_Toolbar.h
"
261
#include "
widgets/juce_ToolbarItemComponent.h
"
262
#include "
widgets/juce_ToolbarItemFactory.h
"
263
#include "
widgets/juce_ToolbarItemPalette.h
"
264
#include "
menus/juce_BurgerMenuComponent.h
"
265
#include "
buttons/juce_ToolbarButton.h
"
266
#include "
misc/juce_DropShadower.h
"
267
#include "
misc/juce_FocusOutline.h
"
268
#include "
widgets/juce_TreeView.h
"
269
#include "
windows/juce_TopLevelWindow.h
"
270
#include "
windows/juce_MessageBoxOptions.h
"
271
#include "
windows/juce_AlertWindow.h
"
272
#include "
windows/juce_CallOutBox.h
"
273
#include "
windows/juce_ComponentPeer.h
"
274
#include "
windows/juce_ResizableWindow.h
"
275
#include "
windows/juce_DocumentWindow.h
"
276
#include "
windows/juce_DialogWindow.h
"
277
#include "
windows/juce_NativeMessageBox.h
"
278
#include "
windows/juce_ThreadWithProgressWindow.h
"
279
#include "
windows/juce_TooltipWindow.h
"
280
#include "
layout/juce_MultiDocumentPanel.h
"
281
#include "
layout/juce_SidePanel.h
"
282
#include "
filebrowser/juce_FileBrowserListener.h
"
283
#include "
filebrowser/juce_DirectoryContentsList.h
"
284
#include "
filebrowser/juce_DirectoryContentsDisplayComponent.h
"
285
#include "
filebrowser/juce_FileBrowserComponent.h
"
286
#include "
filebrowser/juce_FileChooser.h
"
287
#include "
filebrowser/juce_FileChooserDialogBox.h
"
288
#include "
filebrowser/juce_FileListComponent.h
"
289
#include "
filebrowser/juce_FilenameComponent.h
"
290
#include "
filebrowser/juce_FilePreviewComponent.h
"
291
#include "
filebrowser/juce_FileSearchPathListComponent.h
"
292
#include "
filebrowser/juce_FileTreeComponent.h
"
293
#include "
filebrowser/juce_ImagePreviewComponent.h
"
294
#include "
filebrowser/juce_ContentSharer.h
"
295
#include "
properties/juce_PropertyComponent.h
"
296
#include "
properties/juce_BooleanPropertyComponent.h
"
297
#include "
properties/juce_ButtonPropertyComponent.h
"
298
#include "
properties/juce_ChoicePropertyComponent.h
"
299
#include "
properties/juce_PropertyPanel.h
"
300
#include "
properties/juce_SliderPropertyComponent.h
"
301
#include "
properties/juce_TextPropertyComponent.h
"
302
#include "
properties/juce_MultiChoicePropertyComponent.h
"
303
#include "
application/juce_Application.h
"
304
#include "
misc/juce_BubbleComponent.h
"
305
#include "
lookandfeel/juce_LookAndFeel.h
"
306
#include "
lookandfeel/juce_LookAndFeel_V2.h
"
307
#include "
lookandfeel/juce_LookAndFeel_V1.h
"
308
#include "
lookandfeel/juce_LookAndFeel_V3.h
"
309
#include "
lookandfeel/juce_LookAndFeel_V4.h
"
310
#include "
mouse/juce_LassoComponent.h
"
311
#include "
accessibility/interfaces/juce_AccessibilityCellInterface.h
"
312
#include "
accessibility/interfaces/juce_AccessibilityTableInterface.h
"
313
#include "
accessibility/interfaces/juce_AccessibilityTextInterface.h
"
314
#include "
accessibility/interfaces/juce_AccessibilityValueInterface.h
"
315
#include "
accessibility/enums/juce_AccessibilityActions.h
"
316
#include "
accessibility/enums/juce_AccessibilityEvent.h
"
317
#include "
accessibility/enums/juce_AccessibilityRole.h
"
318
#include "
accessibility/juce_AccessibilityState.h
"
319
#include "
accessibility/juce_AccessibilityHandler.h
"
320
321
#if JUCE_LINUX || JUCE_BSD
322
#if JUCE_GUI_BASICS_INCLUDE_XHEADERS
323
// If you're missing these headers, you need to install the libx11-dev package
324
#include <X11/Xlib.h>
325
#include <X11/Xatom.h>
326
#include <X11/Xresource.h>
327
#include <X11/Xutil.h>
328
#include <X11/Xmd.h>
329
#include <X11/keysym.h>
330
#include <X11/XKBlib.h>
331
#include <X11/cursorfont.h>
332
#include <unistd.h>
333
334
#if JUCE_USE_XRANDR
335
// If you're missing this header, you need to install the libxrandr-dev package
336
#include <X11/extensions/Xrandr.h>
337
#endif
338
339
#if JUCE_USE_XINERAMA
340
// If you're missing this header, you need to install the libxinerama-dev package
341
#include <X11/extensions/Xinerama.h>
342
#endif
343
344
#if JUCE_USE_XSHM
345
#include <X11/extensions/XShm.h>
346
#include <sys/shm.h>
347
#include <sys/ipc.h>
348
#endif
349
350
#if JUCE_USE_XRENDER
351
// If you're missing these headers, you need to install the libxrender-dev and libxcomposite-dev packages
352
#include <X11/extensions/Xrender.h>
353
#include <X11/extensions/Xcomposite.h>
354
#endif
355
356
#if JUCE_USE_XCURSOR
357
// If you're missing this header, you need to install the libxcursor-dev package
358
#include <X11/Xcursor/Xcursor.h>
359
#endif
360
361
#undef SIZEOF
362
#undef KeyPress
363
364
#include "
native/x11/juce_linux_XWindowSystem.h
"
365
#include "
native/x11/juce_linux_X11_Symbols.h
"
366
#endif
367
#endif
368
369
#if JUCE_GUI_BASICS_INCLUDE_SCOPED_THREAD_DPI_AWARENESS_SETTER && JUCE_WINDOWS
370
#include "
native/juce_win32_ScopedThreadDPIAwarenessSetter.h
"
371
#endif
372
373
#include "
layout/juce_FlexItem.h
"
374
#include "
layout/juce_FlexBox.h
"
375
376
#include "
layout/juce_GridItem.h
"
377
#include "
layout/juce_Grid.h
"
378
#include "
native/juce_ScopedDPIAwarenessDisabler.h
"
juce_AccessibilityActions.h
juce_AccessibilityCellInterface.h
juce_AccessibilityEvent.h
juce_AccessibilityHandler.h
juce_AccessibilityRole.h
juce_AccessibilityState.h
juce_AccessibilityTableInterface.h
juce_AccessibilityTextInterface.h
juce_AccessibilityValueInterface.h
juce_AlertWindow.h
juce_AnimatedPosition.h
juce_AnimatedPositionBehaviours.h
juce_Application.h
juce_ApplicationCommandID.h
juce_ApplicationCommandInfo.h
juce_ApplicationCommandManager.h
juce_ApplicationCommandTarget.h
juce_ArrowButton.h
juce_BooleanPropertyComponent.h
juce_BubbleComponent.h
juce_BurgerMenuComponent.h
juce_Button.h
juce_ButtonPropertyComponent.h
juce_CachedComponentImage.h
juce_CallOutBox.h
juce_CaretComponent.h
juce_ChoicePropertyComponent.h
juce_ComboBox.h
juce_Component.h
juce_ComponentAnimator.h
juce_ComponentBoundsConstrainer.h
juce_ComponentBuilder.h
juce_ComponentDragger.h
juce_ComponentListener.h
juce_ComponentMovementWatcher.h
juce_ComponentPeer.h
juce_ComponentTraverser.h
juce_ConcertinaPanel.h
juce_ContentSharer.h
juce_Desktop.h
juce_DialogWindow.h
juce_DirectoryContentsDisplayComponent.h
juce_DirectoryContentsList.h
juce_Displays.h
juce_DocumentWindow.h
juce_DragAndDropContainer.h
juce_DragAndDropTarget.h
juce_Drawable.h
juce_DrawableButton.h
juce_DrawableComposite.h
juce_DrawableImage.h
juce_DrawablePath.h
juce_DrawableRectangle.h
juce_DrawableShape.h
juce_DrawableText.h
juce_DropShadower.h
juce_FileBrowserComponent.h
juce_FileBrowserListener.h
juce_FileChooser.h
juce_FileChooserDialogBox.h
juce_FileDragAndDropTarget.h
juce_FileListComponent.h
juce_FilePreviewComponent.h
juce_FileSearchPathListComponent.h
juce_FileTreeComponent.h
juce_FilenameComponent.h
juce_FlexBox.h
juce_FlexItem.h
juce_FocusOutline.h
juce_FocusTraverser.h
juce_Grid.h
juce_GridItem.h
juce_GroupComponent.h
juce_HyperlinkButton.h
juce_ImageButton.h
juce_ImageComponent.h
juce_ImagePreviewComponent.h
juce_KeyListener.h
juce_KeyPress.h
juce_KeyPressMappingSet.h
juce_KeyboardFocusTraverser.h
juce_Label.h
juce_LassoComponent.h
juce_ListBox.h
juce_LookAndFeel.h
juce_LookAndFeel_V1.h
juce_LookAndFeel_V2.h
juce_LookAndFeel_V3.h
juce_LookAndFeel_V4.h
juce_MarkerList.h
juce_MenuBarComponent.h
juce_MenuBarModel.h
juce_MessageBoxOptions.h
juce_ModalComponentManager.h
juce_ModifierKeys.h
juce_MouseCursor.h
juce_MouseEvent.h
juce_MouseInactivityDetector.h
juce_MouseInputSource.h
juce_MouseListener.h
juce_MultiChoicePropertyComponent.h
juce_MultiDocumentPanel.h
juce_NativeMessageBox.h
juce_PopupMenu.h
juce_ProgressBar.h
juce_PropertyComponent.h
juce_PropertyPanel.h
juce_RelativeCoordinate.h
juce_RelativeCoordinatePositioner.h
juce_RelativeParallelogram.h
juce_RelativePoint.h
juce_RelativePointPath.h
juce_RelativeRectangle.h
juce_ResizableBorderComponent.h
juce_ResizableCornerComponent.h
juce_ResizableEdgeComponent.h
juce_ResizableWindow.h
juce_ScopedDPIAwarenessDisabler.h
juce_ScrollBar.h
juce_SelectedItemSet.h
juce_ShapeButton.h
juce_SidePanel.h
juce_Slider.h
juce_SliderPropertyComponent.h
juce_StretchableLayoutManager.h
juce_StretchableLayoutResizerBar.h
juce_StretchableObjectResizer.h
juce_SystemClipboard.h
juce_TabbedButtonBar.h
juce_TabbedComponent.h
juce_TableHeaderComponent.h
juce_TableListBox.h
juce_TextButton.h
juce_TextDragAndDropTarget.h
juce_TextEditor.h
juce_TextEditorKeyMapper.h
juce_TextInputTarget.h
juce_TextPropertyComponent.h
juce_ThreadWithProgressWindow.h
juce_ToggleButton.h
juce_Toolbar.h
juce_ToolbarButton.h
juce_ToolbarItemComponent.h
juce_ToolbarItemFactory.h
juce_ToolbarItemPalette.h
juce_TooltipClient.h
juce_TooltipWindow.h
juce_TopLevelWindow.h
juce_TreeView.h
juce_Viewport.h
juce_data_structures.h
juce_graphics.h
juce_linux_X11_Symbols.h
juce_linux_XWindowSystem.h
juce_win32_ScopedThreadDPIAwarenessSetter.h
juce
Definition
carla_juce.cpp:31
Generated on
for LMMS by
1.16.1