1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Fixed some errors when building the live-build engine dll

This commit is contained in:
ed 2020-06-23 10:08:18 +01:00
parent 5d9f9879c4
commit aa200ffeac
3 changed files with 7 additions and 5 deletions

View file

@ -390,7 +390,7 @@ int getIndexOfCommentBlockStart (const StringArray& lines, int endIndex)
return -1;
}
int findBestLineToScrollToForClass (StringArray lines, StringRef className, bool isPlugin)
int findBestLineToScrollToForClass (StringArray lines, const String& className, bool isPlugin)
{
for (auto line : lines)
{

View file

@ -55,7 +55,7 @@ StringArray getModulesRequiredForComponent() noexcept;
StringArray getModulesRequiredForAudioProcessor() noexcept;
bool isPIPFile (const File&) noexcept;
int findBestLineToScrollToForClass (StringArray, StringRef, bool isPlugin = false);
int findBestLineToScrollToForClass (StringArray, const String&, bool isPlugin = false);
bool isValidJUCEExamplesDirectory (const File&) noexcept;

View file

@ -18,8 +18,10 @@
#include "../../Application/jucer_Headers.h"
#include "jucer_ProjucerLookAndFeel.h"
#include "../../Application/jucer_Application.h"
#include "../../Project/UI/jucer_ProjectContentComponent.h"
#ifndef BUILDING_JUCE_COMPILEENGINE
#include "../../Project/UI/jucer_ProjectContentComponent.h"
#endif
//==============================================================================
ProjucerLookAndFeel::ProjucerLookAndFeel()
@ -39,9 +41,9 @@ void ProjucerLookAndFeel::drawTabButton (TabBarButton& button, Graphics& g, bool
g.fillRect (area);
const auto alpha = button.isEnabled() ? ((isMouseOver || isMouseDown) ? 1.0f : 0.8f) : 0.3f;
auto textColour = findColour (defaultTextColourId).withMultipliedAlpha (alpha);
#ifndef BUILDING_JUCE_COMPILEENGINE
auto textColour = findColour (defaultTextColourId).withMultipliedAlpha (alpha);
auto iconColour = findColour (button.isFrontTab() ? activeTabIconColourId
: inactiveTabIconColourId);