JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
juce_LookAndFeel_V2.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
26namespace juce
27{
28
29//==============================================================================
37class JUCE_API LookAndFeel_V2 : public LookAndFeel
38{
39public:
41 ~LookAndFeel_V2() override;
42
43 //==============================================================================
44 void drawButtonBackground (Graphics&, Button&, const Colour& backgroundColour,
45 bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
46 Font getTextButtonFont (TextButton&, int buttonHeight) override;
47
49 bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
50 int getTextButtonWidthToFitText (TextButton&, int buttonHeight) override;
51
53 bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
54
55 void changeToggleButtonWidthToFitText (ToggleButton&) override;
56
57 void drawTickBox (Graphics&, Component&,
58 float x, float y, float w, float h,
59 bool ticked, bool isEnabled,
60 bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
61
62 void drawDrawableButton (Graphics&, DrawableButton&,
63 bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
64
65 //==============================================================================
66 AlertWindow* createAlertWindow (const String& title, const String& message,
67 const String& button1,
68 const String& button2,
69 const String& button3,
70 MessageBoxIconType iconType,
71 int numButtons, Component* associatedComponent) override;
72
73 void drawAlertBox (Graphics&, AlertWindow&, const Rectangle<int>& textArea, TextLayout&) override;
74 int getAlertBoxWindowFlags() override;
75
76 Array<int> getWidthsForTextButtons (AlertWindow&, const Array<TextButton*>&) override;
77 int getAlertWindowButtonHeight() override;
78
86
93
94 Font getAlertWindowFont() override;
95
96 //==============================================================================
97 void drawProgressBar (Graphics&, ProgressBar&, int width, int height, double progress, const String& textToShow) override;
98 void drawSpinningWaitAnimation (Graphics&, const Colour& colour, int x, int y, int w, int h) override;
99 bool isProgressBarOpaque (ProgressBar&) override;
101
102 //==============================================================================
103 bool areScrollbarButtonsVisible() override;
104 void drawScrollbarButton (Graphics&, ScrollBar&, int width, int height, int buttonDirection,
105 bool isScrollbarVertical, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
106
107 void drawScrollbar (Graphics&, ScrollBar&, int x, int y, int width, int height,
108 bool isScrollbarVertical, int thumbStartPosition, int thumbSize,
109 bool isMouseOver, bool isMouseDown) override;
110
115
116 //==============================================================================
117 Path getTickShape (float height) override;
118 Path getCrossShape (float height) override;
119
120 //==============================================================================
121 void drawTreeviewPlusMinusBox (Graphics&, const Rectangle<float>& area,
122 Colour backgroundColour, bool isOpen, bool isMouseOver) override;
123 bool areLinesDrawnForTreeView (TreeView&) override;
124 int getTreeViewIndentSize (TreeView&) override;
125
126 //==============================================================================
127 void fillTextEditorBackground (Graphics&, int width, int height, TextEditor&) override;
128 void drawTextEditorOutline (Graphics&, int width, int height, TextEditor&) override;
129 CaretComponent* createCaretComponent (Component* keyFocusOwner) override;
130
131 //==============================================================================
132 const Drawable* getDefaultFolderImage() override;
133 const Drawable* getDefaultDocumentFileImage() override;
134
135 AttributedString createFileChooserHeaderText (const String& title, const String& instructions) override;
136
137 void drawFileBrowserRow (Graphics&, int width, int height,
138 const File& file, const String& filename, Image* icon,
139 const String& fileSizeDescription, const String& fileTimeDescription,
140 bool isDirectory, bool isItemSelected, int itemIndex,
142
143 Button* createFileBrowserGoUpButton() override;
144
145 void layoutFileBrowserComponent (FileBrowserComponent&,
148 ComboBox* currentPathBox,
149 TextEditor* filenameBox,
150 Button* goUpButton) override;
151
152 //==============================================================================
153 void drawBubble (Graphics&, BubbleComponent&, const Point<float>& tip, const Rectangle<float>& body) override;
155
156 void drawLasso (Graphics&, Component&) override;
157
158 //==============================================================================
159 void drawPopupMenuBackground (Graphics&, int width, int height) override;
161 int width,
162 int height,
163 const PopupMenu::Options&) override;
164
166 bool isSeparator, bool isActive, bool isHighlighted, bool isTicked, bool hasSubMenu,
167 const String& text, const String& shortcutKeyText,
168 const Drawable* icon, const Colour* textColour) override;
169
171 bool isHighlighted,
172 const PopupMenu::Item& item,
173 const PopupMenu::Options&) override;
174
175 void drawPopupMenuSectionHeader (Graphics&, const Rectangle<int>& area,
176 const String& sectionName) override;
177
178 void drawPopupMenuSectionHeaderWithOptions (Graphics&, const Rectangle<int>& area,
179 const String& sectionName,
180 const PopupMenu::Options&) override;
181
183
184 void drawPopupMenuUpDownArrow (Graphics&, int width, int height, bool isScrollUpArrow) override;
185
186 void drawPopupMenuUpDownArrowWithOptions (Graphics&,
187 int width, int height,
188 bool isScrollUpArrow,
189 const PopupMenu::Options&) override;
190
191 void getIdealPopupMenuItemSize (const String& text, bool isSeparator, int standardMenuItemHeight,
192 int& idealWidth, int& idealHeight) override;
193
195 bool isSeparator,
196 int standardMenuItemHeight,
197 int& idealWidth,
198 int& idealHeight,
199 const PopupMenu::Options&) override;
200
201 int getMenuWindowFlags() override;
202 void preparePopupMenuWindow (Component&) override;
203
204 void drawMenuBarBackground (Graphics&, int width, int height, bool isMouseOverBar, MenuBarComponent&) override;
205 int getMenuBarItemWidth (MenuBarComponent&, int itemIndex, const String& itemText) override;
206 Font getMenuBarFont (MenuBarComponent&, int itemIndex, const String& itemText) override;
207 int getDefaultMenuBarHeight() override;
208
209 void drawMenuBarItem (Graphics&, int width, int height,
210 int itemIndex, const String& itemText,
211 bool isMouseOverItem, bool isMenuOpen, bool isMouseOverBar,
212 MenuBarComponent&) override;
213
214 Component* getParentComponentForMenuOptions (const PopupMenu::Options& options) override;
215
217
218 int getPopupMenuBorderSize() override;
219
220 int getPopupMenuBorderSizeWithOptions (const PopupMenu::Options&) override;
221
223 const Rectangle<int>& bounds,
224 const PopupMenu::Options&) override;
225
227
228 //==============================================================================
229 void drawComboBox (Graphics&, int width, int height, bool isMouseButtonDown,
230 int buttonX, int buttonY, int buttonW, int buttonH,
231 ComboBox&) override;
232 Font getComboBoxFont (ComboBox&) override;
233 Label* createComboBoxTextBox (ComboBox&) override;
234 void positionComboBoxText (ComboBox&, Label&) override;
235 PopupMenu::Options getOptionsForComboBoxPopupMenu (ComboBox&, Label&) override;
236 void drawComboBoxTextWhenNothingSelected (Graphics&, ComboBox&, Label&) override;
237
238 //==============================================================================
239 void drawLabel (Graphics&, Label&) override;
240 Font getLabelFont (Label&) override;
241 BorderSize<int> getLabelBorderSize (Label&) override;
242
243 //==============================================================================
244 void drawLinearSlider (Graphics&, int x, int y, int width, int height,
245 float sliderPos, float minSliderPos, float maxSliderPos,
246 Slider::SliderStyle, Slider&) override;
247
248 void drawLinearSliderBackground (Graphics&, int x, int y, int width, int height,
249 float sliderPos, float minSliderPos, float maxSliderPos,
250 Slider::SliderStyle, Slider&) override;
251
252 void drawLinearSliderOutline (Graphics&, int x, int y, int width, int height,
253 Slider::SliderStyle, Slider&) override;
254
255
256 void drawLinearSliderThumb (Graphics&, int x, int y, int width, int height,
257 float sliderPos, float minSliderPos, float maxSliderPos,
258 Slider::SliderStyle, Slider&) override;
259
260 void drawRotarySlider (Graphics&, int x, int y, int width, int height,
261 float sliderPosProportional, float rotaryStartAngle, float rotaryEndAngle,
262 Slider&) override;
263
264 int getSliderThumbRadius (Slider&) override;
265 Button* createSliderButton (Slider&, bool isIncrement) override;
266 Label* createSliderTextBox (Slider&) override;
267 ImageEffectFilter* getSliderEffect (Slider&) override;
268 Font getSliderPopupFont (Slider&) override;
269 int getSliderPopupPlacement (Slider&) override;
270 Slider::SliderLayout getSliderLayout (Slider&) override;
271
272 //==============================================================================
273 Rectangle<int> getTooltipBounds (const String& tipText, Point<int> screenPos, Rectangle<int> parentArea) override;
274 void drawTooltip (Graphics&, const String& text, int width, int height) override;
275
276 //==============================================================================
277 Button* createFilenameComponentBrowseButton (const String& text) override;
278 void layoutFilenameComponent (FilenameComponent&, ComboBox* filenameBox, Button* browseButton) override;
279
280 //==============================================================================
281 void drawConcertinaPanelHeader (Graphics&, const Rectangle<int>& area,
282 bool isMouseOver, bool isMouseDown,
283 ConcertinaPanel&, Component& panel) override;
284
285 //==============================================================================
286 void drawCornerResizer (Graphics&, int w, int h, bool isMouseOver, bool isMouseDragging) override;
287 void drawResizableFrame (Graphics&, int w, int h, const BorderSize<int>&) override;
288
289 //==============================================================================
290 void fillResizableWindowBackground (Graphics&, int w, int h, const BorderSize<int>&, ResizableWindow&) override;
291 void drawResizableWindowBorder (Graphics&, int w, int h, const BorderSize<int>& border, ResizableWindow&) override;
292
293 //==============================================================================
294 void drawDocumentWindowTitleBar (DocumentWindow&, Graphics&, int w, int h,
295 int titleSpaceX, int titleSpaceW,
296 const Image* icon, bool drawTitleTextOnLeft) override;
297
298 Button* createDocumentWindowButton (int buttonType) override;
299
300 void positionDocumentWindowButtons (DocumentWindow&,
301 int titleBarX, int titleBarY, int titleBarW, int titleBarH,
302 Button* minimiseButton,
303 Button* maximiseButton,
304 Button* closeButton,
305 bool positionTitleBarButtonsOnLeft) override;
306
307 //==============================================================================
310
311 //==============================================================================
312 void drawStretchableLayoutResizerBar (Graphics&, int w, int h, bool isVerticalBar,
313 bool isMouseOver, bool isMouseDragging) override;
314
315 //==============================================================================
316 void drawGroupComponentOutline (Graphics&, int w, int h, const String& text,
317 const Justification&, GroupComponent&) override;
318
319 //==============================================================================
320 int getTabButtonSpaceAroundImage() override;
321 int getTabButtonOverlap (int tabDepth) override;
322 int getTabButtonBestWidth (TabBarButton&, int tabDepth) override;
323 Rectangle<int> getTabButtonExtraComponentBounds (const TabBarButton&, Rectangle<int>& textArea, Component& extraComp) override;
324
325 void drawTabButton (TabBarButton&, Graphics&, bool isMouseOver, bool isMouseDown) override;
326 Font getTabButtonFont (TabBarButton&, float height) override;
327 void drawTabButtonText (TabBarButton&, Graphics&, bool isMouseOver, bool isMouseDown) override;
328 void drawTabbedButtonBarBackground (TabbedButtonBar&, Graphics&) override;
329 void drawTabAreaBehindFrontButton (TabbedButtonBar&, Graphics&, int w, int h) override;
330
331 void createTabButtonShape (TabBarButton&, Path&, bool isMouseOver, bool isMouseDown) override;
332 void fillTabButtonShape (TabBarButton&, Graphics&, const Path&, bool isMouseOver, bool isMouseDown) override;
333
334 Button* createTabBarExtrasButton() override;
335
336 //==============================================================================
337 void drawImageButton (Graphics&, Image*,
338 int imageX, int imageY, int imageW, int imageH,
339 const Colour& overlayColour, float imageOpacity, ImageButton&) override;
340
341 //==============================================================================
342 void drawTableHeaderBackground (Graphics&, TableHeaderComponent&) override;
343
344 void drawTableHeaderColumn (Graphics&, TableHeaderComponent&, const String& columnName,
345 int columnId, int width, int height, bool isMouseOver,
346 bool isMouseDown, int columnFlags) override;
347
348 //==============================================================================
349 void paintToolbarBackground (Graphics&, int width, int height, Toolbar&) override;
350
351 Button* createToolbarMissingItemsButton (Toolbar&) override;
352
353 void paintToolbarButtonBackground (Graphics&, int width, int height,
354 bool isMouseOver, bool isMouseDown,
355 ToolbarItemComponent&) override;
356
357 void paintToolbarButtonLabel (Graphics&, int x, int y, int width, int height,
358 const String& text, ToolbarItemComponent&) override;
359
360 //==============================================================================
361 void drawPropertyPanelSectionHeader (Graphics&, const String& name, bool isOpen, int width, int height) override;
362 void drawPropertyComponentBackground (Graphics&, int width, int height, PropertyComponent&) override;
363 void drawPropertyComponentLabel (Graphics&, int width, int height, PropertyComponent&) override;
364 Rectangle<int> getPropertyComponentContentPosition (PropertyComponent&) override;
365 int getPropertyPanelSectionHeaderHeight (const String& sectionTitle) override;
366
367 //==============================================================================
368 void drawCallOutBoxBackground (CallOutBox&, Graphics&, const Path& path, Image& cachedImage) override;
369 int getCallOutBoxBorderSize (const CallOutBox&) override;
370 float getCallOutBoxCornerSize (const CallOutBox&) override;
371
372 //==============================================================================
373 void drawLevelMeter (Graphics&, int width, int height, float level) override;
374
375 void drawKeymapChangeButton (Graphics&, int width, int height, Button&, const String& keyDescription) override;
376
377 //==============================================================================
378 Font getSidePanelTitleFont (SidePanel&) override;
379 Justification getSidePanelTitleJustification (SidePanel&) override;
380 Path getSidePanelDismissButtonShape (SidePanel&) override;
381
382 //==============================================================================
397 static void drawBevel (Graphics&,
398 int x, int y, int width, int height,
399 int bevelThickness,
400 const Colour& topLeftColour = Colours::white,
401 const Colour& bottomRightColour = Colours::black,
402 bool useGradient = true,
403 bool sharpEdgeOnOutside = true);
404
406 static void drawGlassSphere (Graphics&, float x, float y, float diameter,
407 const Colour&, float outlineThickness) noexcept;
408
409 static void drawGlassPointer (Graphics&, float x, float y, float diameter,
410 const Colour&, float outlineThickness, int direction) noexcept;
411
414 float x, float y, float width, float height,
415 const Colour&, float outlineThickness, float cornerSize,
416 bool flatOnLeft, bool flatOnRight, bool flatOnTop, bool flatOnBottom) noexcept;
417
418private:
419 //==============================================================================
420 std::unique_ptr<Drawable> folderImage, documentImage;
421 DropShadowEffect bubbleShadow;
422
423 void drawShinyButtonShape (Graphics&,
424 float x, float y, float w, float h, float maxCornerSize,
425 const Colour&, float strokeWidth,
426 bool flatOnLeft, bool flatOnRight, bool flatOnTop, bool flatOnBottom) noexcept;
427
428 class GlassWindowButton;
429 class SliderLabelComp;
430
432};
433
434} // namespace juce
A window that displays a message and has buttons for the user to react to it.
Holds a resizable array of primitive or copy-by-value objects.
Definition juce_Array.h:56
A text string with a set of colour/font settings that are associated with sub-ranges of the text.
Specifies a set of gaps to be left around the sides of a rectangle.
A component for showing a message or other graphics inside a speech-bubble-shaped outline,...
A base class for buttons.
Definition juce_Button.h:43
A box with a small arrow that can be used as a temporary pop-up window to show extra controls when a ...
Represents a colour, also including a transparency value.
Definition juce_Colour.h:38
A component that lets the user choose from a drop-down list of choices.
The base class for all JUCE user-interface objects.
A panel which holds a vertical stack of components which can be expanded and contracted.
A base class for components that display a list of the files in a directory.
A resizable window with a title bar and maximise, minimise and close buttons.
A button that displays a Drawable.
The base class for objects which can draw themselves, e.g.
An effect filter that adds a drop-shadow behind the image's content.
A component for browsing and selecting a file or directory to open or save.
Base class for components that live inside a file chooser dialog box and show previews of the files t...
Represents a local file or directory.
Definition juce_File.h:45
Shows a filename as an editable text box, with a 'browse' button and a drop-down list for recently se...
Represents a particular font, including its size, style, etc.
Definition juce_Font.h:42
A graphics context, used for drawing a component or image.
A component that draws an outline around itself and has an optional title at the top,...
As the title suggests, this is a button containing an image.
A graphical effect filter that can be applied to components.
Holds a fixed-size bitmap.
Definition juce_Image.h:58
Represents a type of justification to be used when positioning graphical items.
A component that displays a text string, and can optionally become a text editor when clicked.
Definition juce_Label.h:41
This LookAndFeel subclass implements the juce style from around 2008-12.
void drawSpinningWaitAnimation(Graphics &, const Colour &colour, int x, int y, int w, int h) override
Draws a small image that spins to indicate that something's happening.
std::unique_ptr< DropShadower > createDropShadowerForComponent(Component &) override
Creates a drop-shadower for a given component, if required.
void setComponentEffectForBubbleComponent(BubbleComponent &bubbleComponent) override
Override this method to set effects, such as a drop-shadow, on a BubbleComponent.
void drawProgressBar(Graphics &, ProgressBar &, int width, int height, double progress, const String &textToShow) override
Draws a progress bar.
void drawPopupMenuBackgroundWithOptions(Graphics &, int width, int height, const PopupMenu::Options &) override
Fills the background of a popup menu component.
void drawToggleButton(Graphics &, ToggleButton &, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
Draws the contents of a standard ToggleButton.
void drawScrollbar(Graphics &, ScrollBar &, int x, int y, int width, int height, bool isScrollbarVertical, int thumbStartPosition, int thumbSize, bool isMouseOver, bool isMouseDown) override
Draws the thumb area of a scrollbar.
bool shouldPopupMenuScaleWithTargetComponent(const PopupMenu::Options &options) override
Return true if you want your popup menus to scale with the target component's AffineTransform or scal...
void drawPopupMenuColumnSeparatorWithOptions(Graphics &g, const Rectangle< int > &bounds, const PopupMenu::Options &) override
Implement this to draw some custom decoration between the columns of the popup menu.
static void drawGlassSphere(Graphics &, float x, float y, float diameter, const Colour &, float outlineThickness) noexcept
Utility function to draw a shiny, glassy circle (for round LED-type buttons).
void getIdealPopupMenuItemSize(const String &text, bool isSeparator, int standardMenuItemHeight, int &idealWidth, int &idealHeight) override
Finds the best size for an item in a popup menu.
void drawPopupMenuBackground(Graphics &, int width, int height) override
Fills the background of a popup menu component.
void drawScrollbarButton(Graphics &, ScrollBar &, int width, int height, int buttonDirection, bool isScrollbarVertical, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
Draws one of the buttons on a scrollbar.
std::unique_ptr< FocusOutline > createFocusOutlineForComponent(Component &) override
Creates a focus outline for a given component, if required.
void drawButtonText(Graphics &, TextButton &, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
Draws the text for a TextButton.
void getIdealPopupMenuItemSizeWithOptions(const String &text, bool isSeparator, int standardMenuItemHeight, int &idealWidth, int &idealHeight, const PopupMenu::Options &) override
Finds the best size for an item in a popup menu.
Rectangle< int > getTooltipBounds(const String &tipText, Point< int > screenPos, Rectangle< int > parentArea) override
returns the bounds for a tooltip at the given screen coordinate, constrained within the given desktop...
Font getAlertWindowMessageFont() override
Override this function to supply a custom font for the alert window message.
void drawBubble(Graphics &, BubbleComponent &, const Point< float > &tip, const Rectangle< float > &body) override
Override this method to draw a speech-bubble pointing at a specific location on the screen.
ProgressBar::Style getDefaultProgressBarStyle(const ProgressBar &) override
Returns the default style a progress bar should use if one hasn't been set.
int getScrollbarButtonSize(ScrollBar &) override
Returns the length in pixels to use for a scrollbar button.
int getPopupMenuColumnSeparatorWidthWithOptions(const PopupMenu::Options &) override
Return the amount of space that should be left between popup menu columns.
ImageEffectFilter * getScrollbarEffect() override
Returns the component effect to use for a scrollbar.
Path getCrossShape(float height) override
Returns a cross shape for use in yes/no boxes, etc.
static void drawBevel(Graphics &, int x, int y, int width, int height, int bevelThickness, const Colour &topLeftColour=Colours::white, const Colour &bottomRightColour=Colours::black, bool useGradient=true, bool sharpEdgeOnOutside=true)
Draws a 3D raised (or indented) bevel using two colours.
void drawPopupMenuItemWithOptions(Graphics &, const Rectangle< int > &area, bool isHighlighted, const PopupMenu::Item &item, const PopupMenu::Options &) override
Draws one of the items in a popup menu.
int getMinimumScrollbarThumbSize(ScrollBar &) override
Returns the minimum length in pixels to use for a scrollbar thumb.
int getDefaultScrollbarWidth() override
Returns the default thickness to use for a scrollbar.
Path getTickShape(float height) override
Returns a tick shape for use in yes/no boxes, etc.
Font getAlertWindowTitleFont() override
Override this function to supply a custom font for the alert window title.
void drawPopupMenuItem(Graphics &, const Rectangle< int > &area, bool isSeparator, bool isActive, bool isHighlighted, bool isTicked, bool hasSubMenu, const String &text, const String &shortcutKeyText, const Drawable *icon, const Colour *textColour) override
Draws one of the items in a popup menu.
static void drawGlassLozenge(Graphics &, float x, float y, float width, float height, const Colour &, float outlineThickness, float cornerSize, bool flatOnLeft, bool flatOnRight, bool flatOnTop, bool flatOnBottom) noexcept
Utility function to draw a shiny, glassy oblong (for text buttons).
Font getPopupMenuFont() override
Returns the size and style of font to use in popup menus.
LookAndFeel objects define the appearance of all the JUCE widgets, and subclasses can be used to appl...
A menu bar component.
A path is a sequence of lines and curves that may either form a closed shape or be open-ended.
Definition juce_Path.h:65
A pair of (x, y) coordinates.
Definition juce_Point.h:42
Class used to create a set of options to pass to the show() method.
A progress bar component.
Style
The types of ProgressBar styles available.
A base class for a component that goes in a PropertyPanel and displays one of an item's properties.
Manages a rectangle and allows geometric operations to be performed on it.
A base class for top-level windows that can be dragged around and resized.
A scrollbar component.
A component that is positioned on either the left- or right-hand side of its parent,...
A slider control for changing a value.
Definition juce_Slider.h:54
SliderStyle
The types of slider available.
Definition juce_Slider.h:62
A struct defining the placement of the slider area and the text box area relative to the bounds of th...
The JUCE String class!
Definition juce_String.h:53
In a TabbedButtonBar, this component is used for each of the buttons.
A vertical or horizontal bar containing tabs that you can select.
A component that displays a strip of column headings for a table, and allows these to be resized,...
A button that uses the standard lozenge-shaped background with a line of text on it.
An editable text box.
A Pre-formatted piece of text, which may contain multiple fonts and colours.
A button that can be toggled on/off.
A component that can be used as one of the items in a Toolbar.
A toolbar component.
A tree-view component.
#define JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(className)
This is a shorthand way of writing both a JUCE_DECLARE_NON_COPYABLE and JUCE_LEAK_DETECTOR macro for ...
JUCE Namespace.
MessageBoxIconType
The type of icon to show in the dialog box.
Describes a popup menu item.