openshot-audio  0.1.6
Classes | Public Member Functions | Static Public Member Functions | List of all members
juce::LookAndFeel_V2 Class Reference

#include <juce_gui_basics.h>

Inheritance diagram for juce::LookAndFeel_V2:
juce::LookAndFeel juce::ExtraLookAndFeelBaseClasses::LassoComponentMethods juce::ExtraLookAndFeelBaseClasses::AudioDeviceSelectorComponentMethods juce::ExtraLookAndFeelBaseClasses::KeyMappingEditorComponentMethods juce::StretchableLayoutResizerBar::LookAndFeelMethods juce::ProgressBar::LookAndFeelMethods juce::ConcertinaPanel::LookAndFeelMethods juce::Toolbar::LookAndFeelMethods juce::CallOutBox::LookAndFeelMethods juce::TableHeaderComponent::LookAndFeelMethods juce::GroupComponent::LookAndFeelMethods juce::FilenameComponent::LookAndFeelMethods juce::PropertyComponent::LookAndFeelMethods juce::TabbedButtonBar::LookAndFeelMethods juce::TooltipWindow::LookAndFeelMethods juce::DocumentWindow::LookAndFeelMethods juce::ResizableWindow::LookAndFeelMethods juce::Slider::LookAndFeelMethods juce::Label::LookAndFeelMethods juce::ComboBox::LookAndFeelMethods juce::PopupMenu::LookAndFeelMethods juce::AlertWindow::LookAndFeelMethods juce::BubbleComponent::LookAndFeelMethods juce::TreeView::LookAndFeelMethods juce::FileBrowserComponent::LookAndFeelMethods juce::TextEditor::LookAndFeelMethods juce::ImageButton::LookAndFeelMethods juce::Button::LookAndFeelMethods juce::ScrollBar::LookAndFeelMethods juce::LookAndFeel_V1 juce::LookAndFeel_V3

Classes

class  GlassWindowButton
 
class  SliderLabelComp
 

Public Member Functions

 LookAndFeel_V2 ()
 
 ~LookAndFeel_V2 ()
 
void drawButtonBackground (Graphics &, Button &, const Colour &backgroundColour, bool isMouseOverButton, bool isButtonDown) override
 
Font getTextButtonFont (TextButton &, int buttonHeight) override
 
void drawButtonText (Graphics &, TextButton &, bool isMouseOverButton, bool isButtonDown) override
 
int getTextButtonWidthToFitText (TextButton &, int buttonHeight) override
 
void drawToggleButton (Graphics &, ToggleButton &, bool isMouseOverButton, bool isButtonDown) override
 
void changeToggleButtonWidthToFitText (ToggleButton &) override
 
void drawTickBox (Graphics &, Component &, float x, float y, float w, float h, bool ticked, bool isEnabled, bool isMouseOverButton, bool isButtonDown) override
 
void drawDrawableButton (Graphics &, DrawableButton &, bool isMouseOverButton, bool isButtonDown) override
 
AlertWindowcreateAlertWindow (const String &title, const String &message, const String &button1, const String &button2, const String &button3, AlertWindow::AlertIconType iconType, int numButtons, Component *associatedComponent) override
 
void drawAlertBox (Graphics &, AlertWindow &, const Rectangle< int > &textArea, TextLayout &) override
 
int getAlertBoxWindowFlags () override
 
int getAlertWindowButtonHeight () override
 
Font getAlertWindowTitleFont () override
 
Font getAlertWindowMessageFont () override
 
Font getAlertWindowFont () override
 
void drawProgressBar (Graphics &, ProgressBar &, int width, int height, double progress, const String &textToShow) override
 
void drawSpinningWaitAnimation (Graphics &, const Colour &colour, int x, int y, int w, int h) override
 
bool areScrollbarButtonsVisible () override
 
void drawScrollbarButton (Graphics &, ScrollBar &, int width, int height, int buttonDirection, bool isScrollbarVertical, bool isMouseOverButton, bool isButtonDown) override
 
void drawScrollbar (Graphics &, ScrollBar &, int x, int y, int width, int height, bool isScrollbarVertical, int thumbStartPosition, int thumbSize, bool isMouseOver, bool isMouseDown) override
 
ImageEffectFiltergetScrollbarEffect () override
 
int getMinimumScrollbarThumbSize (ScrollBar &) override
 
int getDefaultScrollbarWidth () override
 
int getScrollbarButtonSize (ScrollBar &) override
 
Path getTickShape (float height) override
 
Path getCrossShape (float height) override
 
void drawTreeviewPlusMinusBox (Graphics &, const Rectangle< float > &area, Colour backgroundColour, bool isOpen, bool isMouseOver) override
 
bool areLinesDrawnForTreeView (TreeView &) override
 
int getTreeViewIndentSize (TreeView &) override
 
void fillTextEditorBackground (Graphics &, int width, int height, TextEditor &) override
 
void drawTextEditorOutline (Graphics &, int width, int height, TextEditor &) override
 
CaretComponentcreateCaretComponent (Component *keyFocusOwner) override
 
const DrawablegetDefaultFolderImage () override
 
const DrawablegetDefaultDocumentFileImage () override
 
AttributedString createFileChooserHeaderText (const String &title, const String &instructions) override
 
void drawFileBrowserRow (Graphics &, int width, int height, const String &filename, Image *icon, const String &fileSizeDescription, const String &fileTimeDescription, bool isDirectory, bool isItemSelected, int itemIndex, DirectoryContentsDisplayComponent &) override
 
ButtoncreateFileBrowserGoUpButton () override
 
void layoutFileBrowserComponent (FileBrowserComponent &, DirectoryContentsDisplayComponent *, FilePreviewComponent *, ComboBox *currentPathBox, TextEditor *filenameBox, Button *goUpButton) override
 
void drawBubble (Graphics &, BubbleComponent &, const Point< float > &tip, const Rectangle< float > &body) override
 
void drawLasso (Graphics &, Component &) override
 
void drawPopupMenuBackground (Graphics &, int width, int height) override
 
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
 
void drawPopupMenuSectionHeader (Graphics &, const Rectangle< int > &area, const String &sectionName) override
 
Font getPopupMenuFont () override
 
void drawPopupMenuUpDownArrow (Graphics &, int width, int height, bool isScrollUpArrow) override
 
void getIdealPopupMenuItemSize (const String &text, bool isSeparator, int standardMenuItemHeight, int &idealWidth, int &idealHeight) override
 
int getMenuWindowFlags () override
 
void drawMenuBarBackground (Graphics &, int width, int height, bool isMouseOverBar, MenuBarComponent &) override
 
int getMenuBarItemWidth (MenuBarComponent &, int itemIndex, const String &itemText) override
 
Font getMenuBarFont (MenuBarComponent &, int itemIndex, const String &itemText) override
 
int getDefaultMenuBarHeight () override
 
void drawMenuBarItem (Graphics &, int width, int height, int itemIndex, const String &itemText, bool isMouseOverItem, bool isMenuOpen, bool isMouseOverBar, MenuBarComponent &) override
 
void drawComboBox (Graphics &, int width, int height, bool isButtonDown, int buttonX, int buttonY, int buttonW, int buttonH, ComboBox &) override
 
Font getComboBoxFont (ComboBox &) override
 
LabelcreateComboBoxTextBox (ComboBox &) override
 
void positionComboBoxText (ComboBox &, Label &) override
 
void drawLabel (Graphics &, Label &) override
 
Font getLabelFont (Label &) override
 
void drawLinearSlider (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &) override
 
void drawLinearSliderBackground (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &) override
 
void drawLinearSliderThumb (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &) override
 
void drawRotarySlider (Graphics &, int x, int y, int width, int height, float sliderPosProportional, float rotaryStartAngle, float rotaryEndAngle, Slider &) override
 
int getSliderThumbRadius (Slider &) override
 
ButtoncreateSliderButton (Slider &, bool isIncrement) override
 
LabelcreateSliderTextBox (Slider &) override
 
ImageEffectFiltergetSliderEffect (Slider &) override
 
Font getSliderPopupFont (Slider &) override
 
int getSliderPopupPlacement (Slider &) override
 
Slider::SliderLayout getSliderLayout (Slider &) override
 
Rectangle< intgetTooltipBounds (const String &tipText, Point< int > screenPos, Rectangle< int > parentArea) override
 
void drawTooltip (Graphics &, const String &text, int width, int height) override
 
ButtoncreateFilenameComponentBrowseButton (const String &text) override
 
void layoutFilenameComponent (FilenameComponent &, ComboBox *filenameBox, Button *browseButton) override
 
void drawConcertinaPanelHeader (Graphics &, const Rectangle< int > &area, bool isMouseOver, bool isMouseDown, ConcertinaPanel &, Component &panel) override
 
void drawCornerResizer (Graphics &, int w, int h, bool isMouseOver, bool isMouseDragging) override
 
void drawResizableFrame (Graphics &, int w, int h, const BorderSize< int > &) override
 
void fillResizableWindowBackground (Graphics &, int w, int h, const BorderSize< int > &, ResizableWindow &) override
 
void drawResizableWindowBorder (Graphics &, int w, int h, const BorderSize< int > &border, ResizableWindow &) override
 
void drawDocumentWindowTitleBar (DocumentWindow &, Graphics &, int w, int h, int titleSpaceX, int titleSpaceW, const Image *icon, bool drawTitleTextOnLeft) override
 
ButtoncreateDocumentWindowButton (int buttonType) override
 
void positionDocumentWindowButtons (DocumentWindow &, int titleBarX, int titleBarY, int titleBarW, int titleBarH, Button *minimiseButton, Button *maximiseButton, Button *closeButton, bool positionTitleBarButtonsOnLeft) override
 
DropShadowercreateDropShadowerForComponent (Component *) override
 
void drawStretchableLayoutResizerBar (Graphics &, int w, int h, bool isVerticalBar, bool isMouseOver, bool isMouseDragging) override
 
void drawGroupComponentOutline (Graphics &, int w, int h, const String &text, const Justification &, GroupComponent &) override
 
int getTabButtonSpaceAroundImage () override
 
int getTabButtonOverlap (int tabDepth) override
 
int getTabButtonBestWidth (TabBarButton &, int tabDepth) override
 
Rectangle< intgetTabButtonExtraComponentBounds (const TabBarButton &, Rectangle< int > &textArea, Component &extraComp) override
 
void drawTabButton (TabBarButton &, Graphics &, bool isMouseOver, bool isMouseDown) override
 
void drawTabButtonText (TabBarButton &, Graphics &, bool isMouseOver, bool isMouseDown) override
 
void drawTabbedButtonBarBackground (TabbedButtonBar &, Graphics &) override
 
void drawTabAreaBehindFrontButton (TabbedButtonBar &, Graphics &, int w, int h) override
 
void createTabButtonShape (TabBarButton &, Path &, bool isMouseOver, bool isMouseDown) override
 
void fillTabButtonShape (TabBarButton &, Graphics &, const Path &, bool isMouseOver, bool isMouseDown) override
 
ButtoncreateTabBarExtrasButton () override
 
void drawImageButton (Graphics &, Image *, int imageX, int imageY, int imageW, int imageH, const Colour &overlayColour, float imageOpacity, ImageButton &) override
 
void drawTableHeaderBackground (Graphics &, TableHeaderComponent &) override
 
void drawTableHeaderColumn (Graphics &, const String &columnName, int columnId, int width, int height, bool isMouseOver, bool isMouseDown, int columnFlags) override
 
void paintToolbarBackground (Graphics &, int width, int height, Toolbar &) override
 
ButtoncreateToolbarMissingItemsButton (Toolbar &) override
 
void paintToolbarButtonBackground (Graphics &, int width, int height, bool isMouseOver, bool isMouseDown, ToolbarItemComponent &) override
 
void paintToolbarButtonLabel (Graphics &, int x, int y, int width, int height, const String &text, ToolbarItemComponent &) override
 
void drawPropertyPanelSectionHeader (Graphics &, const String &name, bool isOpen, int width, int height) override
 
void drawPropertyComponentBackground (Graphics &, int width, int height, PropertyComponent &) override
 
void drawPropertyComponentLabel (Graphics &, int width, int height, PropertyComponent &) override
 
Rectangle< intgetPropertyComponentContentPosition (PropertyComponent &) override
 
void drawCallOutBoxBackground (CallOutBox &, Graphics &, const Path &path, Image &cachedImage) override
 
int getCallOutBoxBorderSize (const CallOutBox &) override
 
void drawLevelMeter (Graphics &, int width, int height, float level) override
 
void drawKeymapChangeButton (Graphics &, int width, int height, Button &, const String &keyDescription) override
 
- Public Member Functions inherited from juce::LookAndFeel
 LookAndFeel ()
 
virtual ~LookAndFeel ()
 
Colour findColour (int colourId) const noexcept
 
void setColour (int colourId, Colour colour) noexcept
 
bool isColourSpecified (int colourId) const noexcept
 
virtual Typeface::Ptr getTypefaceForFont (const Font &)
 
void setDefaultSansSerifTypefaceName (const String &newName)
 
virtual MouseCursor getMouseCursorFor (Component &)
 
virtual LowLevelGraphicsContextcreateGraphicsContext (const Image &imageToRenderOn, const Point< int > &origin, const RectangleList< int > &initialClip)
 
void setUsingNativeAlertWindows (bool shouldUseNativeAlerts)
 
bool isUsingNativeAlertWindows ()
 
virtual void playAlertSound ()
 
- Public Member Functions inherited from juce::ScrollBar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::Button::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::ImageButton::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::TextEditor::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::FileBrowserComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::TreeView::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::BubbleComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::AlertWindow::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::PopupMenu::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::ComboBox::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::Label::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::Slider::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::ResizableWindow::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::DocumentWindow::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::TooltipWindow::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::TabbedButtonBar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::PropertyComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::FilenameComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::GroupComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::TableHeaderComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::CallOutBox::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::Toolbar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::ConcertinaPanel::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::ProgressBar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::StretchableLayoutResizerBar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()
 
- Public Member Functions inherited from juce::ExtraLookAndFeelBaseClasses::KeyMappingEditorComponentMethods
virtual ~KeyMappingEditorComponentMethods ()
 
- Public Member Functions inherited from juce::ExtraLookAndFeelBaseClasses::AudioDeviceSelectorComponentMethods
virtual ~AudioDeviceSelectorComponentMethods ()
 
- Public Member Functions inherited from juce::ExtraLookAndFeelBaseClasses::LassoComponentMethods
virtual ~LassoComponentMethods ()
 

Static Public Member Functions

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)
 
static void drawGlassSphere (Graphics &, float x, float y, float diameter, const Colour &, float outlineThickness) noexcept
 
static void drawGlassPointer (Graphics &, float x, float y, float diameter, const Colour &, float outlineThickness, int direction) noexcept
 
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
 
- Static Public Member Functions inherited from juce::LookAndFeel
static LookAndFeelgetDefaultLookAndFeel () noexcept
 
static void setDefaultLookAndFeel (LookAndFeel *newDefaultLookAndFeel) noexcept
 

Detailed Description

This LookAndFeel subclass implements the juce style from around 2008-12.

See also
LookAndFeel, LookAndFeel_V1, LookAndFeel_V3

Constructor & Destructor Documentation

LookAndFeel_V2::LookAndFeel_V2 ( )
LookAndFeel_V2::~LookAndFeel_V2 ( )

Member Function Documentation

bool LookAndFeel_V2::areLinesDrawnForTreeView ( TreeView )
overridevirtual
bool LookAndFeel_V2::areScrollbarButtonsVisible ( )
overridevirtual
void LookAndFeel_V2::changeToggleButtonWidthToFitText ( ToggleButton button)
overridevirtual
AlertWindow * LookAndFeel_V2::createAlertWindow ( const String title,
const String message,
const String button1,
const String button2,
const String button3,
AlertWindow::AlertIconType  iconType,
int  numButtons,
Component associatedComponent 
)
overridevirtual
CaretComponent * LookAndFeel_V2::createCaretComponent ( Component keyFocusOwner)
overridevirtual
Label * LookAndFeel_V2::createComboBoxTextBox ( ComboBox )
overridevirtual
Button * LookAndFeel_V2::createDocumentWindowButton ( int  buttonType)
overridevirtual
DropShadower * LookAndFeel_V2::createDropShadowerForComponent ( Component )
overridevirtual

Implements juce::LookAndFeel.

Button * LookAndFeel_V2::createFileBrowserGoUpButton ( )
overridevirtual
AttributedString LookAndFeel_V2::createFileChooserHeaderText ( const String title,
const String instructions 
)
overridevirtual
Button * LookAndFeel_V2::createFilenameComponentBrowseButton ( const String text)
overridevirtual
Button * LookAndFeel_V2::createSliderButton ( Slider ,
bool  isIncrement 
)
overridevirtual
Label * LookAndFeel_V2::createSliderTextBox ( Slider slider)
overridevirtual
Button * LookAndFeel_V2::createTabBarExtrasButton ( )
overridevirtual
void LookAndFeel_V2::createTabButtonShape ( TabBarButton button,
Path p,
bool  isMouseOver,
bool  isMouseDown 
)
overridevirtual
Button * LookAndFeel_V2::createToolbarMissingItemsButton ( Toolbar )
overridevirtual
void LookAndFeel_V2::drawAlertBox ( Graphics g,
AlertWindow alert,
const Rectangle< int > &  textArea,
TextLayout textLayout 
)
overridevirtual
void LookAndFeel_V2::drawBevel ( Graphics g,
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 
)
static

Draws a 3D raised (or indented) bevel using two colours.

The bevel is drawn inside the given rectangle, and greater bevel thicknesses extend inwards.

The top-left colour is used for the top- and left-hand edges of the bevel; the bottom-right colour is used for the bottom- and right-hand edges.

If useGradient is true, then the bevel fades out to make it look more curved and less angular. If sharpEdgeOnOutside is true, the outside of the bevel is sharp, and it fades towards the centre; if sharpEdgeOnOutside is false, then the centre edges are sharp and it fades towards the outside.

void LookAndFeel_V2::drawBubble ( Graphics g,
BubbleComponent comp,
const Point< float > &  tip,
const Rectangle< float > &  body 
)
overridevirtual
void LookAndFeel_V2::drawButtonBackground ( Graphics g,
Button button,
const Colour backgroundColour,
bool  isMouseOverButton,
bool  isButtonDown 
)
overridevirtual
void LookAndFeel_V2::drawButtonText ( Graphics ,
TextButton ,
bool  isMouseOverButton,
bool  isButtonDown 
)
overridevirtual

Draws the text for a TextButton.

Implements juce::Button::LookAndFeelMethods.

void LookAndFeel_V2::drawCallOutBoxBackground ( CallOutBox box,
Graphics g,
const Path path,
Image cachedImage 
)
overridevirtual
void LookAndFeel_V2::drawComboBox ( Graphics g,
int  width,
int  height,
bool  isButtonDown,
int  buttonX,
int  buttonY,
int  buttonW,
int  buttonH,
ComboBox box 
)
overridevirtual
void LookAndFeel_V2::drawConcertinaPanelHeader ( Graphics g,
const Rectangle< int > &  area,
bool  isMouseOver,
bool  isMouseDown,
ConcertinaPanel ,
Component panel 
)
overridevirtual
void LookAndFeel_V2::drawCornerResizer ( Graphics g,
int  w,
int  h,
bool  isMouseOver,
bool  isMouseDragging 
)
overridevirtual
void LookAndFeel_V2::drawDocumentWindowTitleBar ( DocumentWindow window,
Graphics g,
int  w,
int  h,
int  titleSpaceX,
int  titleSpaceW,
const Image icon,
bool  drawTitleTextOnLeft 
)
overridevirtual
void LookAndFeel_V2::drawDrawableButton ( Graphics g,
DrawableButton button,
bool  isMouseOverButton,
bool  isButtonDown 
)
overridevirtual
void LookAndFeel_V2::drawFileBrowserRow ( Graphics g,
int  width,
int  height,
const String filename,
Image icon,
const String fileSizeDescription,
const String fileTimeDescription,
bool  isDirectory,
bool  isItemSelected,
int  itemIndex,
DirectoryContentsDisplayComponent dcc 
)
overridevirtual
void LookAndFeel_V2::drawGlassLozenge ( Graphics g,
float  x,
float  y,
float  width,
float  height,
const Colour colour,
float  outlineThickness,
float  cornerSize,
bool  flatOnLeft,
bool  flatOnRight,
bool  flatOnTop,
bool  flatOnBottom 
)
staticnoexcept

Utility function to draw a shiny, glassy oblong (for text buttons).

void LookAndFeel_V2::drawGlassPointer ( Graphics g,
float  x,
float  y,
float  diameter,
const Colour colour,
float  outlineThickness,
int  direction 
)
staticnoexcept
void LookAndFeel_V2::drawGlassSphere ( Graphics g,
float  x,
float  y,
float  diameter,
const Colour colour,
float  outlineThickness 
)
staticnoexcept

Utility function to draw a shiny, glassy circle (for round LED-type buttons).

void LookAndFeel_V2::drawGroupComponentOutline ( Graphics g,
int  w,
int  h,
const String text,
const Justification position,
GroupComponent group 
)
overridevirtual
void LookAndFeel_V2::drawImageButton ( Graphics g,
Image image,
int  imageX,
int  imageY,
int  imageW,
int  imageH,
const Colour overlayColour,
float  imageOpacity,
ImageButton button 
)
overridevirtual
void LookAndFeel_V2::drawKeymapChangeButton ( Graphics g,
int  width,
int  height,
Button button,
const String keyDescription 
)
overridevirtual
void LookAndFeel_V2::drawLabel ( Graphics g,
Label label 
)
overridevirtual
void LookAndFeel_V2::drawLasso ( Graphics g,
Component lassoComp 
)
overridevirtual
void LookAndFeel_V2::drawLevelMeter ( Graphics g,
int  width,
int  height,
float  level 
)
overridevirtual
void LookAndFeel_V2::drawLinearSlider ( Graphics g,
int  x,
int  y,
int  width,
int  height,
float  sliderPos,
float  minSliderPos,
float  maxSliderPos,
const Slider::SliderStyle  style,
Slider slider 
)
overridevirtual
void LookAndFeel_V2::drawLinearSliderBackground ( Graphics g,
int  x,
int  y,
int  width,
int  height,
float  sliderPos,
float  minSliderPos,
float  maxSliderPos,
const Slider::SliderStyle  ,
Slider slider 
)
overridevirtual
void LookAndFeel_V2::drawLinearSliderThumb ( Graphics g,
int  x,
int  y,
int  width,
int  height,
float  sliderPos,
float  minSliderPos,
float  maxSliderPos,
const Slider::SliderStyle  style,
Slider slider 
)
overridevirtual
void LookAndFeel_V2::drawMenuBarBackground ( Graphics g,
int  width,
int  height,
bool  isMouseOverBar,
MenuBarComponent menuBar 
)
overridevirtual
void LookAndFeel_V2::drawMenuBarItem ( Graphics g,
int  width,
int  height,
int  itemIndex,
const String itemText,
bool  isMouseOverItem,
bool  isMenuOpen,
bool  isMouseOverBar,
MenuBarComponent menuBar 
)
overridevirtual
void LookAndFeel_V2::drawPopupMenuBackground ( Graphics ,
int  width,
int  height 
)
overridevirtual

Fills the background of a popup menu component.

Implements juce::PopupMenu::LookAndFeelMethods.

Reimplemented in juce::LookAndFeel_V1, and juce::LookAndFeel_V3.

void LookAndFeel_V2::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 
)
overridevirtual

Draws one of the items in a popup menu.

Implements juce::PopupMenu::LookAndFeelMethods.

void LookAndFeel_V2::drawPopupMenuSectionHeader ( Graphics g,
const Rectangle< int > &  area,
const String sectionName 
)
overridevirtual
void LookAndFeel_V2::drawPopupMenuUpDownArrow ( Graphics g,
int  width,
int  height,
bool  isScrollUpArrow 
)
overridevirtual
void LookAndFeel_V2::drawProgressBar ( Graphics ,
ProgressBar ,
int  width,
int  height,
double  progress,
const String textToShow 
)
overridevirtual

Draws a progress bar.

If the progress value is less than 0 or greater than 1.0, this should draw a spinning bar that fills the whole space (i.e. to say that the app is still busy but the progress isn't known). It can use the current time as a basis for playing an animation.

(Used by progress bars in AlertWindow).

Implements juce::ProgressBar::LookAndFeelMethods.

Reimplemented in juce::LookAndFeel_V1.

void LookAndFeel_V2::drawPropertyComponentBackground ( Graphics g,
int  width,
int  height,
PropertyComponent component 
)
overridevirtual
void LookAndFeel_V2::drawPropertyComponentLabel ( Graphics g,
int  width,
int  height,
PropertyComponent component 
)
overridevirtual
void LookAndFeel_V2::drawPropertyPanelSectionHeader ( Graphics g,
const String name,
bool  isOpen,
int  width,
int  height 
)
overridevirtual
void LookAndFeel_V2::drawResizableFrame ( Graphics g,
int  w,
int  h,
const BorderSize< int > &  border 
)
overridevirtual
void LookAndFeel_V2::drawResizableWindowBorder ( Graphics ,
int  w,
int  h,
const BorderSize< int > &  border,
ResizableWindow  
)
overridevirtual
void LookAndFeel_V2::drawRotarySlider ( Graphics g,
int  x,
int  y,
int  width,
int  height,
float  sliderPosProportional,
float  rotaryStartAngle,
float  rotaryEndAngle,
Slider slider 
)
overridevirtual
void LookAndFeel_V2::drawScrollbar ( Graphics g,
ScrollBar scrollbar,
int  x,
int  y,
int  width,
int  height,
bool  isScrollbarVertical,
int  thumbStartPosition,
int  thumbSize,
bool  isMouseOver,
bool  isMouseDown 
)
overridevirtual

Draws the thumb area of a scrollbar.

Parameters
gthe context to draw into
scrollbarthe bar itself
xthe x position of the left edge of the thumb area to draw in
ythe y position of the top edge of the thumb area to draw in
widththe width of the thumb area to draw in
heightthe height of the thumb area to draw in
isScrollbarVerticaltrue if it's a vertical bar, false if horizontal
thumbStartPositionfor vertical bars, the y coordinate of the top of the thumb, or its x position for horizontal bars
thumbSizefor vertical bars, the height of the thumb, or its width for horizontal bars. This may be 0 if the thumb shouldn't be drawn.
isMouseOverwhether the mouse is over the thumb area, also true if the mouse is currently dragging the thumb
isMouseDownwhether the mouse is currently dragging the scrollbar

Implements juce::ScrollBar::LookAndFeelMethods.

Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V1.

void LookAndFeel_V2::drawScrollbarButton ( Graphics g,
ScrollBar scrollbar,
int  width,
int  height,
int  buttonDirection,
bool  isScrollbarVertical,
bool  isMouseOverButton,
bool  isButtonDown 
)
overridevirtual

Draws one of the buttons on a scrollbar.

Parameters
gthe context to draw into
scrollbarthe bar itself
widththe width of the button
heightthe height of the button
buttonDirectionthe direction of the button, where 0 = up, 1 = right, 2 = down, 3 = left
isScrollbarVerticaltrue if it's a vertical bar, false if horizontal
isMouseOverButtonwhether the mouse is currently over the button (also true if it's held down)
isButtonDownwhether the mouse button's held down

Implements juce::ScrollBar::LookAndFeelMethods.

Reimplemented in juce::LookAndFeel_V1.

void LookAndFeel_V2::drawSpinningWaitAnimation ( Graphics ,
const Colour colour,
int  x,
int  y,
int  w,
int  h 
)
overridevirtual

Draws a small image that spins to indicate that something's happening. This method should use the current time to animate itself, so just keep repainting it every so often.

Implements juce::LookAndFeel.

void LookAndFeel_V2::drawStretchableLayoutResizerBar ( Graphics g,
int  w,
int  h,
bool  isVerticalBar,
bool  isMouseOver,
bool  isMouseDragging 
)
overridevirtual
void LookAndFeel_V2::drawTabAreaBehindFrontButton ( TabbedButtonBar bar,
Graphics g,
int  w,
int  h 
)
overridevirtual
void LookAndFeel_V2::drawTabbedButtonBarBackground ( TabbedButtonBar ,
Graphics  
)
overridevirtual
void LookAndFeel_V2::drawTabButton ( TabBarButton button,
Graphics g,
bool  isMouseOver,
bool  isMouseDown 
)
overridevirtual
void LookAndFeel_V2::drawTabButtonText ( TabBarButton button,
Graphics g,
bool  isMouseOver,
bool  isMouseDown 
)
overridevirtual
void LookAndFeel_V2::drawTableHeaderBackground ( Graphics g,
TableHeaderComponent header 
)
overridevirtual
void LookAndFeel_V2::drawTableHeaderColumn ( Graphics g,
const String columnName,
int  columnId,
int  width,
int  height,
bool  isMouseOver,
bool  isMouseDown,
int  columnFlags 
)
overridevirtual
void LookAndFeel_V2::drawTextEditorOutline ( Graphics g,
int  width,
int  height,
TextEditor textEditor 
)
overridevirtual
void LookAndFeel_V2::drawTickBox ( Graphics g,
Component component,
float  x,
float  y,
float  w,
float  h,
bool  ticked,
bool  isEnabled,
bool  isMouseOverButton,
bool  isButtonDown 
)
overridevirtual
void LookAndFeel_V2::drawToggleButton ( Graphics ,
ToggleButton ,
bool  isMouseOverButton,
bool  isButtonDown 
)
overridevirtual

Draws the contents of a standard ToggleButton.

Implements juce::Button::LookAndFeelMethods.

Reimplemented in juce::LookAndFeel_V1.

void LookAndFeel_V2::drawTooltip ( Graphics g,
const String text,
int  width,
int  height 
)
overridevirtual
void LookAndFeel_V2::drawTreeviewPlusMinusBox ( Graphics g,
const Rectangle< float > &  area,
Colour  backgroundColour,
bool  isOpen,
bool  isMouseOver 
)
overridevirtual
void LookAndFeel_V2::fillResizableWindowBackground ( Graphics g,
int  w,
int  h,
const BorderSize< int > &  ,
ResizableWindow window 
)
overridevirtual
void LookAndFeel_V2::fillTabButtonShape ( TabBarButton button,
Graphics g,
const Path path,
bool  isMouseOver,
bool  isMouseDown 
)
overridevirtual
void LookAndFeel_V2::fillTextEditorBackground ( Graphics g,
int  width,
int  height,
TextEditor textEditor 
)
overridevirtual
int LookAndFeel_V2::getAlertBoxWindowFlags ( )
overridevirtual
int LookAndFeel_V2::getAlertWindowButtonHeight ( )
overridevirtual
Font LookAndFeel_V2::getAlertWindowFont ( )
overridevirtual
Font LookAndFeel_V2::getAlertWindowMessageFont ( )
overridevirtual

Override this function to supply a custom font for the alert window message. This default implementation will use the default font with height set to 15.0f.

See also
getAlertWindowTitleFont

Implements juce::AlertWindow::LookAndFeelMethods.

Font LookAndFeel_V2::getAlertWindowTitleFont ( )
overridevirtual

Override this function to supply a custom font for the alert window title. This default implementation will use a boldened and slightly larger version of the alert window message font.

See also
getAlertWindowMessageFont.

Implements juce::AlertWindow::LookAndFeelMethods.

int LookAndFeel_V2::getCallOutBoxBorderSize ( const CallOutBox )
overridevirtual
Font LookAndFeel_V2::getComboBoxFont ( ComboBox box)
overridevirtual
Path LookAndFeel_V2::getCrossShape ( float  height)
overridevirtual

Returns a cross shape for use in yes/no boxes, etc.

Implements juce::LookAndFeel.

Reimplemented in juce::LookAndFeel_V3.

const Drawable * LookAndFeel_V2::getDefaultDocumentFileImage ( )
overridevirtual
const Drawable * LookAndFeel_V2::getDefaultFolderImage ( )
overridevirtual
int LookAndFeel_V2::getDefaultMenuBarHeight ( )
overridevirtual
int LookAndFeel_V2::getDefaultScrollbarWidth ( )
overridevirtual

Returns the default thickness to use for a scrollbar.

Implements juce::ScrollBar::LookAndFeelMethods.

void LookAndFeel_V2::getIdealPopupMenuItemSize ( const String text,
bool  isSeparator,
int  standardMenuItemHeight,
int idealWidth,
int idealHeight 
)
overridevirtual

Finds the best size for an item in a popup menu.

Implements juce::PopupMenu::LookAndFeelMethods.

Font LookAndFeel_V2::getLabelFont ( Label label)
overridevirtual
Font LookAndFeel_V2::getMenuBarFont ( MenuBarComponent menuBar,
int  itemIndex,
const String itemText 
)
overridevirtual
int LookAndFeel_V2::getMenuBarItemWidth ( MenuBarComponent menuBar,
int  itemIndex,
const String itemText 
)
overridevirtual
int LookAndFeel_V2::getMenuWindowFlags ( )
overridevirtual
int LookAndFeel_V2::getMinimumScrollbarThumbSize ( ScrollBar )
overridevirtual

Returns the minimum length in pixels to use for a scrollbar thumb.

Implements juce::ScrollBar::LookAndFeelMethods.

Font LookAndFeel_V2::getPopupMenuFont ( )
overridevirtual

Returns the size and style of font to use in popup menus.

Implements juce::PopupMenu::LookAndFeelMethods.

Rectangle< int > LookAndFeel_V2::getPropertyComponentContentPosition ( PropertyComponent component)
overridevirtual
int LookAndFeel_V2::getScrollbarButtonSize ( ScrollBar )
overridevirtual

Returns the length in pixels to use for a scrollbar button.

Implements juce::ScrollBar::LookAndFeelMethods.

ImageEffectFilter * LookAndFeel_V2::getScrollbarEffect ( )
overridevirtual

Returns the component effect to use for a scrollbar

Implements juce::ScrollBar::LookAndFeelMethods.

Reimplemented in juce::LookAndFeel_V1.

ImageEffectFilter * LookAndFeel_V2::getSliderEffect ( Slider )
overridevirtual
Slider::SliderLayout LookAndFeel_V2::getSliderLayout ( Slider slider)
overridevirtual
Font LookAndFeel_V2::getSliderPopupFont ( Slider )
overridevirtual
int LookAndFeel_V2::getSliderPopupPlacement ( Slider )
overridevirtual
int LookAndFeel_V2::getSliderThumbRadius ( Slider slider)
overridevirtual
int LookAndFeel_V2::getTabButtonBestWidth ( TabBarButton button,
int  tabDepth 
)
overridevirtual
Rectangle< int > LookAndFeel_V2::getTabButtonExtraComponentBounds ( const TabBarButton button,
Rectangle< int > &  textArea,
Component extraComp 
)
overridevirtual
int LookAndFeel_V2::getTabButtonOverlap ( int  tabDepth)
overridevirtual
int LookAndFeel_V2::getTabButtonSpaceAroundImage ( )
overridevirtual
Font LookAndFeel_V2::getTextButtonFont ( TextButton ,
int  buttonHeight 
)
overridevirtual
int LookAndFeel_V2::getTextButtonWidthToFitText ( TextButton b,
int  buttonHeight 
)
overridevirtual
Path LookAndFeel_V2::getTickShape ( float  height)
overridevirtual

Returns a tick shape for use in yes/no boxes, etc.

Implements juce::LookAndFeel.

Reimplemented in juce::LookAndFeel_V3.

Rectangle< int > LookAndFeel_V2::getTooltipBounds ( const String tipText,
Point< int screenPos,
Rectangle< int parentArea 
)
overridevirtual

returns the bounds for a tooltip at the given screen coordinate, constrained within the given desktop area.

Implements juce::TooltipWindow::LookAndFeelMethods.

int LookAndFeel_V2::getTreeViewIndentSize ( TreeView )
overridevirtual
void LookAndFeel_V2::layoutFileBrowserComponent ( FileBrowserComponent browserComp,
DirectoryContentsDisplayComponent fileListComponent,
FilePreviewComponent previewComp,
ComboBox currentPathBox,
TextEditor filenameBox,
Button goUpButton 
)
overridevirtual
void LookAndFeel_V2::layoutFilenameComponent ( FilenameComponent filenameComp,
ComboBox filenameBox,
Button browseButton 
)
overridevirtual
void LookAndFeel_V2::paintToolbarBackground ( Graphics g,
int  width,
int  height,
Toolbar toolbar 
)
overridevirtual
void LookAndFeel_V2::paintToolbarButtonBackground ( Graphics g,
int  width,
int  height,
bool  isMouseOver,
bool  isMouseDown,
ToolbarItemComponent component 
)
overridevirtual
void LookAndFeel_V2::paintToolbarButtonLabel ( Graphics g,
int  x,
int  y,
int  width,
int  height,
const String text,
ToolbarItemComponent component 
)
overridevirtual
void LookAndFeel_V2::positionComboBoxText ( ComboBox box,
Label label 
)
overridevirtual
void LookAndFeel_V2::positionDocumentWindowButtons ( DocumentWindow ,
int  titleBarX,
int  titleBarY,
int  titleBarW,
int  titleBarH,
Button minimiseButton,
Button maximiseButton,
Button closeButton,
bool  positionTitleBarButtonsOnLeft 
)
overridevirtual

The documentation for this class was generated from the following files: