mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Added a way to store a Font descriptor as a string. Tweaked sample-rate initialisation in the AU hosting wrapper. Gave default constructors to a few components.
This commit is contained in:
parent
5a9e18d3a5
commit
22e02cf791
13 changed files with 201 additions and 32 deletions
|
|
@ -49,7 +49,7 @@ public:
|
|||
|
||||
@see Button
|
||||
*/
|
||||
TextButton (const String& buttonName,
|
||||
TextButton (const String& buttonName = String::empty,
|
||||
const String& toolTip = String::empty);
|
||||
|
||||
/** Destructor. */
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public:
|
|||
initially set to this string, but these can be changed later
|
||||
using the setName() and setButtonText() methods)
|
||||
*/
|
||||
ToggleButton (const String& buttonText);
|
||||
explicit ToggleButton (const String& buttonText = String::empty);
|
||||
|
||||
/** Destructor. */
|
||||
~ToggleButton();
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ public:
|
|||
|
||||
@param componentName the name to set for the component (see Component::setName())
|
||||
*/
|
||||
explicit ComboBox (const String& componentName);
|
||||
explicit ComboBox (const String& componentName = String::empty);
|
||||
|
||||
/** Destructor. */
|
||||
~ComboBox();
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ public:
|
|||
@param componentName the name to give the component
|
||||
@param labelText the text to show in the label
|
||||
*/
|
||||
Label (const String& componentName,
|
||||
const String& labelText);
|
||||
Label (const String& componentName = String::empty,
|
||||
const String& labelText = String::empty);
|
||||
|
||||
/** Destructor. */
|
||||
~Label();
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ public:
|
|||
When created, you'll need to set up the slider's style and range with setSliderStyle(),
|
||||
setRange(), etc.
|
||||
*/
|
||||
explicit Slider (const String& componentName);
|
||||
explicit Slider (const String& componentName = String::empty);
|
||||
|
||||
/** Destructor. */
|
||||
~Slider();
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@ public:
|
|||
@param componentName the name to give the component
|
||||
@param labelText the text to show at the top of the outline
|
||||
*/
|
||||
GroupComponent (const String& componentName,
|
||||
const String& labelText);
|
||||
GroupComponent (const String& componentName = String::empty,
|
||||
const String& labelText = String::empty);
|
||||
|
||||
/** Destructor. */
|
||||
~GroupComponent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue