LMMS
Loading...
Searching...
No Matches
juce_LookAndFeel_V3.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//==============================================================================
37{
38public:
40 ~LookAndFeel_V3() override;
41
42 //==============================================================================
43 void drawButtonBackground (Graphics&, Button&, const Colour& backgroundColour,
44 bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
45
47
49 Colour backgroundColour, bool isOpen, bool isMouseOver) override;
50 bool areLinesDrawnForTreeView (TreeView&) override;
51 int getTreeViewIndentSize (TreeView&) override;
52
53 Button* createDocumentWindowButton (int buttonType) override;
54
55 void drawComboBox (Graphics&, int width, int height, bool isButtonDown,
56 int buttonX, int buttonY, int buttonW, int buttonH, ComboBox& box) override;
57
58 void drawKeymapChangeButton (Graphics&, int width, int height, Button& button, const String& keyDescription) override;
59
60 void drawPopupMenuBackground (Graphics&, int width, int height) override;
61 void drawMenuBarBackground (Graphics&, int width, int height, bool, MenuBarComponent&) override;
62
63 int getTabButtonOverlap (int tabDepth) override;
64 int getTabButtonSpaceAroundImage() override;
65 void drawTabButton (TabBarButton&, Graphics&, bool isMouseOver, bool isMouseDown) override;
66 void drawTabAreaBehindFrontButton (TabbedButtonBar& bar, Graphics& g, int w, int h) override;
67
68 void drawTextEditorOutline (Graphics&, int width, int height, TextEditor&) override;
69
70 void drawStretchableLayoutResizerBar (Graphics&, int w, int h, bool isVerticalBar, bool isMouseOver, bool isMouseDragging) override;
71
72 bool areScrollbarButtonsVisible() override;
73
74 void drawScrollbar (Graphics&, ScrollBar&, int x, int y, int width, int height, bool isScrollbarVertical,
75 int thumbStartPosition, int thumbSize, bool isMouseOver, bool isMouseDown) override;
76
77 void drawLinearSlider (Graphics&, int x, int y, int width, int height,
78 float sliderPos, float minSliderPos, float maxSliderPos,
79 const Slider::SliderStyle, Slider&) override;
80
81 void drawLinearSliderBackground (Graphics&, int x, int y, int width, int height,
82 float sliderPos, float minSliderPos, float maxSliderPos,
83 const Slider::SliderStyle, Slider&) override;
84
85 void drawConcertinaPanelHeader (Graphics&, const Rectangle<int>& area, bool isMouseOver, bool isMouseDown,
86 ConcertinaPanel&, Component&) override;
87
88 Path getTickShape (float height) override;
89 Path getCrossShape (float height) override;
90
91 static void createTabTextLayout (const TabBarButton& button, float length, float depth, Colour colour, TextLayout&);
92
93private:
96};
97
98} // namespace juce
Definition juce_Button.h:43
Definition juce_Colour.h:38
Definition juce_ComboBox.h:49
Definition juce_Component.h:36
Definition juce_ConcertinaPanel.h:40
Definition juce_GraphicsContext.h:45
Definition juce_Image.h:58
LookAndFeel_V2()
Definition juce_LookAndFeel_V2.cpp:61
void drawTextEditorOutline(Graphics &, int width, int height, TextEditor &) override
Definition juce_LookAndFeel_V3.cpp:318
void drawButtonBackground(Graphics &, Button &, const Colour &backgroundColour, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
Definition juce_LookAndFeel_V3.cpp:126
void drawConcertinaPanelHeader(Graphics &, const Rectangle< int > &area, bool isMouseOver, bool isMouseDown, ConcertinaPanel &, Component &) override
Definition juce_LookAndFeel_V3.cpp:90
void drawTreeviewPlusMinusBox(Graphics &, const Rectangle< float > &area, Colour backgroundColour, bool isOpen, bool isMouseOver) override
Definition juce_LookAndFeel_V3.cpp:335
void drawLinearSlider(Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &) override
Definition juce_LookAndFeel_V3.cpp:392
void drawMenuBarBackground(Graphics &, int width, int height, bool, MenuBarComponent &) override
Definition juce_LookAndFeel_V3.cpp:478
bool areLinesDrawnForTreeView(TreeView &) override
Definition juce_LookAndFeel_V3.cpp:345
void drawTabAreaBehindFrontButton(TabbedButtonBar &bar, Graphics &g, int w, int h) override
Definition juce_LookAndFeel_V3.cpp:272
bool areScrollbarButtonsVisible() override
Definition juce_LookAndFeel_V3.cpp:51
void drawLinearSliderBackground(Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &) override
Definition juce_LookAndFeel_V3.cpp:431
void drawTabButton(TabBarButton &, Graphics &, bool isMouseOver, bool isMouseDown) override
Definition juce_LookAndFeel_V3.cpp:191
void drawStretchableLayoutResizerBar(Graphics &, int w, int h, bool isVerticalBar, bool isMouseOver, bool isMouseDragging) override
Definition juce_LookAndFeel_V3.cpp:53
void drawComboBox(Graphics &, int width, int height, bool isButtonDown, int buttonX, int buttonY, int buttonW, int buttonH, ComboBox &box) override
Definition juce_LookAndFeel_V3.cpp:355
int getTreeViewIndentSize(TreeView &) override
Definition juce_LookAndFeel_V3.cpp:350
Image backgroundTexture
Definition juce_LookAndFeel_V3.h:94
int getTabButtonOverlap(int tabDepth) override
Definition juce_LookAndFeel_V3.cpp:175
Colour backgroundTextureBaseColour
Definition juce_LookAndFeel_V3.h:95
static void createTabTextLayout(const TabBarButton &button, float length, float depth, Colour colour, TextLayout &)
Definition juce_LookAndFeel_V3.cpp:178
void drawKeymapChangeButton(Graphics &, int width, int height, Button &button, const String &keyDescription) override
Definition juce_LookAndFeel_V3.cpp:493
void drawScrollbar(Graphics &, ScrollBar &, int x, int y, int width, int height, bool isScrollbarVertical, int thumbStartPosition, int thumbSize, bool isMouseOver, bool isMouseDown) override
Definition juce_LookAndFeel_V3.cpp:60
int getTabButtonSpaceAroundImage() override
Definition juce_LookAndFeel_V3.cpp:176
LookAndFeel_V3()
Definition juce_LookAndFeel_V3.cpp:29
Button * createDocumentWindowButton(int buttonType) override
Definition juce_LookAndFeel_V3.cpp:580
Path getTickShape(float height) override
Definition juce_LookAndFeel_V3.cpp:621
void drawPopupMenuBackground(Graphics &, int width, int height) override
Definition juce_LookAndFeel_V3.cpp:467
Path getCrossShape(float height) override
Definition juce_LookAndFeel_V3.cpp:633
void drawTableHeaderBackground(Graphics &, TableHeaderComponent &) override
Definition juce_LookAndFeel_V3.cpp:158
Definition juce_MenuBarComponent.h:40
Definition juce_Path.h:65
Definition juce_Rectangle.h:67
Definition juce_ScrollBar.h:54
Definition juce_Slider.h:54
SliderStyle
Definition juce_Slider.h:62
Definition juce_String.h:53
Definition juce_TabbedButtonBar.h:44
Definition juce_TabbedButtonBar.h:155
Definition juce_TableHeaderComponent.h:47
Definition juce_TextEditor.h:43
Definition juce_TextLayout.h:41
Definition juce_TreeView.h:657
UINT_D64 w
Definition inflate.c:942
int y
Definition inflate.c:1588
int g
Definition inflate.c:1573
unsigned x[BMAX+1]
Definition inflate.c:1586
static int int height
Definition pugl.h:1594
static int width
Definition pugl.h:1593
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
@ button
Definition juce_AccessibilityRole.h:38
png_uint_32 length
Definition png.c:2247
Definition jquant2.c:258
uch h[RAND_HEAD_LEN]
Definition crypt.c:459