Skip to content

Commit

Permalink
Fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ffAudio committed Oct 30, 2023
1 parent 42043fe commit a619fb7
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 31 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,18 @@ Currently available Components
It is completely possible to register your own bespoke Components into the builder. These Components
are already available:
- Slider (attachable to parameters)
- ComboBox ( -"- )
- ToggleButton ( -"- )
- TextButton ( -"- )
- XYDragComponent (attachable to two parameters)
- Plot (displays various 2-d data)
- LevelMeter (displays different RMS / Max levels)
- Label
- MidiKeyboardComponent
- MidiLearn
- ListBox
- WebBrowserComponent
- Slider (attachable to parameters)
- ComboBox (attachable to parameters)
- ToggleButton (attachable to parameters)
- TextButton (attachable to parameters)
- XYDragComponent (attachable to two parameters)
- Plot (displays various 2-d data)
- LevelMeter (displays different RMS / Max levels)
- Label
- MidiKeyboardComponent
- MidiLearn
- ListBox
- WebBrowserComponent
All Components have the option to add margins/paddings and a border also with rounded corners.
The View component serves as container, that has the option to layer all child components on top of each other
Expand Down
2 changes: 1 addition & 1 deletion doxygen/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ EXCLUDE_SYMBOLS =
# that contain example code fragments that are included (see the \include
# command).

EXAMPLE_PATH =
EXAMPLE_PATH = ../Examples/

# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
Expand Down
14 changes: 2 additions & 12 deletions doxygen/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@
$mathjax
<link href="$relpath^$stylesheet" rel="stylesheet" type="text/css" />
$extrastylesheet
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-115384200-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-115384200-1');
</script>
<!-- END Global site tag - Google Analytics -->
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
Expand All @@ -37,11 +27,11 @@
<tbody>
<tr style="height: 56px;">
<!--BEGIN PROJECT_LOGO-->
<td id="projectlogo"><a href="https://foleysfinest.com"><img alt="Logo" src="$relpath^$projectlogo"/></a></td>
<td id="projectlogo"><a href="https://foleysfinest.com"><img alt="Foleys Logo - open foleysfinest.com" src="$relpath^$projectlogo"/></a></td>
<!--END PROJECT_LOGO-->
<!--BEGIN PROJECT_NAME-->
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">$projectname
<div id="projectname"><a href="https://github.com/ffAudio/$projectname/">$projectname</a>
<!--BEGIN PROJECT_NUMBER-->&#160;<span id="projectnumber">$projectnumber</span><!--END PROJECT_NUMBER-->
</div>
<!--BEGIN PROJECT_BRIEF--><div id="projectbrief">$projectbrief</div><!--END PROJECT_BRIEF-->
Expand Down
2 changes: 1 addition & 1 deletion modules/foleys_gui_magic/General/foleys_MagicGUIBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class MagicGUIBuilder : public juce::ChangeListener,
void updateStylesheet();

/**
Recreates all components from the <View/> tree.
Recreates all components from the `<View/>` tree.
If no div tree is found, createDefaultGUITree is called to give subclasses
a chance to create a suitable default.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class MagicPluginEditor : public juce::AudioProcessorEditor,
/**
Setup a GUI from a previously stored ValueTree
@param gui the ValueTree that defines the Stylesheet, colour palette and GUI components of the editor
@param config the ValueTree that defines the Stylesheet, colour palette and GUI components of the editor
*/
void setConfigTree (const juce::ValueTree& config);

Expand Down
4 changes: 2 additions & 2 deletions modules/foleys_gui_magic/Layout/foleys_Stylesheet.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ class Stylesheet : private juce::ValueTree::Listener

/**
Read the style classes and connect variables
@param builder is the managed builder instance, so the style class can connect to the variables
*/
void updateStyleClasses();

Expand All @@ -96,6 +94,8 @@ class Stylesheet : private juce::ValueTree::Listener
@param name the name of the property.
@param node is the node in the DOM. This is used for inheritance by traversing upwards.
@param inherit if this is true, it will impact child nodes as well
@param definedHere this is a hint for the editor where the property was actually set
*/
juce::var getStyleProperty (const juce::Identifier& name, const juce::ValueTree& node, bool inherit=true, juce::ValueTree* definedHere=nullptr) const;

Expand Down
2 changes: 0 additions & 2 deletions modules/foleys_gui_magic/Visualisers/foleys_MagicFilterPlot.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class MagicFilterPlot : public MagicPlotSource
Set new coefficients to calculate the frequency response from.
@param coefficients the coefficients to calculate the frequency response for
@param sampleRate is the sampleRate the processing is happening with
@param maxDB is the maximum level in dB, that the curve will display
*/
void setIIRCoefficients (juce::dsp::IIR::Coefficients<float>::Ptr coefficients, float maxDB);
Expand All @@ -63,7 +62,6 @@ class MagicFilterPlot : public MagicPlotSource
@param gain the overall added gain
@param coefficients a vector of coefficients to sum up (multiply) to calculate the frequency response for
@param sampleRate is the sampleRate the processing is happening with
@param maxDB is the maximum level in dB, that the curve will display
*/
void setIIRCoefficients (float gain, std::vector<juce::dsp::IIR::Coefficients<float>::Ptr> coefficients, float maxDB);
Expand Down

0 comments on commit a619fb7

Please sign in to comment.