- updated

git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@117 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2015-01-05 13:35:46 +00:00
parent 3b38c6a587
commit 6e5aa7a991
156 changed files with 2332 additions and 1370 deletions
@@ -784,6 +784,7 @@ public:
validArea.clear();
}
if (! validArea.containsRectangle (compBounds))
{
Graphics imG (image);
LowLevelGraphicsContext& lg = imG.getInternalContext();
@@ -791,18 +792,15 @@ public:
for (const Rectangle<int>* i = validArea.begin(), * const e = validArea.end(); i != e; ++i)
lg.excludeClipRectangle (*i);
if (! lg.isClipEmpty())
if (! owner.isOpaque())
{
if (! owner.isOpaque())
{
lg.setFill (Colours::transparentBlack);
lg.fillRect (imageBounds, true);
lg.setFill (Colours::black);
}
lg.addTransform (AffineTransform::scale (scale));
owner.paintEntireComponent (imG, true);
lg.setFill (Colours::transparentBlack);
lg.fillRect (imageBounds, true);
lg.setFill (Colours::black);
}
lg.addTransform (AffineTransform::scale (scale));
owner.paintEntireComponent (imG, true);
}
validArea = imageBounds;
@@ -89,7 +89,7 @@ ModalComponentManager::~ModalComponentManager()
clearSingletonInstance();
}
juce_ImplementSingleton_SingleThreaded (ModalComponentManager);
juce_ImplementSingleton_SingleThreaded (ModalComponentManager)
//==============================================================================
@@ -120,7 +120,7 @@ public:
#endif
//==============================================================================
juce_DeclareSingleton_SingleThreaded_Minimal (ModalComponentManager);
juce_DeclareSingleton_SingleThreaded_Minimal (ModalComponentManager)
protected:
/** Creates a ModalComponentManager.