1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
jules 2007-07-03 10:51:24 +00:00
parent 1a0387125c
commit 2e04bab207
74 changed files with 519 additions and 437 deletions

View file

@ -105,10 +105,11 @@ BEGIN_JUCE_NAMESPACE
extern void juce_macDoPendingRepaintsNow();
#elif JUCE_LINUX
extern Display* display;
extern bool juce_dispatchNextMessageOnSystemQueue (bool);
extern bool juce_postMessageToSystemQueue (void* message);
#endif
END_JUCE_NAMESPACE
//==============================================================================
#if JUCE_WIN32
@ -173,7 +174,7 @@ public:
const int quitMessageId = 0xfffff321;
Message* const m = new Message (quitMessageId, 1, 0, 0);
if (! juce_postMessageToSystemQueue (m, true))
if (! juce_postMessageToSystemQueue (m))
delete m;
clearSingletonInstance();
@ -325,6 +326,7 @@ public:
cEffect.flags |= effFlagsHasEditor;
setUniqueID ((int) (JucePlugin_VSTUniqueID));
getAeffect()->version = (long) (JucePlugin_VersionCode);
#if JucePlugin_WantsMidiInput && ! JUCE_USE_VSTSDK_2_4
wantEvents();
@ -541,7 +543,7 @@ public:
if (! isProcessing)
resume();
#if JUCE_DEBUG
#ifdef JUCE_DEBUG
const int numMidiEventsComingIn = midiEvents.getNumEvents();
#endif

View file

@ -432,7 +432,7 @@ public:
break;
case showOpenGL:
#ifdef JUCE_OPENGL
#if JUCE_OPENGL
showDemo (createOpenGLDemo(), BinaryData::opengldemo_cpp);
currentDemoId = showOpenGL;
#endif