mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-27 02:20:05 +00:00
Tidied up some doxygen comments.
This commit is contained in:
parent
7becff2aa4
commit
968d63bca6
16 changed files with 139 additions and 73 deletions
|
|
@ -896,12 +896,13 @@ private:
|
|||
uint8* data;
|
||||
int size;
|
||||
|
||||
#ifndef DOXYGEN
|
||||
union
|
||||
{
|
||||
uint8 asBytes[4];
|
||||
uint32 asInt32;
|
||||
} preallocatedData;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
#endif // __JUCE_MIDIMESSAGE_JUCEHEADER__
|
||||
|
|
|
|||
|
|
@ -30,8 +30,9 @@
|
|||
#include "../io/streams/juce_OutputStream.h"
|
||||
#include "../io/streams/juce_InputStream.h"
|
||||
|
||||
class JUCE_API DynamicObject;
|
||||
|
||||
#ifndef DOXYGEN
|
||||
class JUCE_API DynamicObject;
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ public:
|
|||
|
||||
private:
|
||||
//==============================================================================
|
||||
#ifndef DOXYGEN
|
||||
union
|
||||
{
|
||||
uint8 asBytes [16];
|
||||
|
|
@ -115,6 +116,7 @@ private:
|
|||
int64 asInt64[2];
|
||||
|
||||
} value;
|
||||
#endif
|
||||
|
||||
JUCE_LEAK_DETECTOR (Uuid);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -72,12 +72,14 @@ template <class ListenerClass,
|
|||
class ListenerList
|
||||
{
|
||||
// Horrible macros required to support VC6/7..
|
||||
#if JUCE_VC8_OR_EARLIER
|
||||
#define LL_TEMPLATE(a) typename P##a, typename Q##a
|
||||
#define LL_PARAM(a) Q##a& param##a
|
||||
#else
|
||||
#define LL_TEMPLATE(a) typename P##a
|
||||
#define LL_PARAM(a) PARAMETER_TYPE(P##a) param##a
|
||||
#ifndef DOXYGEN
|
||||
#if JUCE_VC8_OR_EARLIER
|
||||
#define LL_TEMPLATE(a) typename P##a, typename Q##a
|
||||
#define LL_PARAM(a) Q##a& param##a
|
||||
#else
|
||||
#define LL_TEMPLATE(a) typename P##a
|
||||
#define LL_PARAM(a) PARAMETER_TYPE(P##a) param##a
|
||||
#endif
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -2111,6 +2111,7 @@ private:
|
|||
friend class MouseInputSource;
|
||||
friend class MouseInputSourceInternal;
|
||||
|
||||
#ifndef DOXYGEN
|
||||
static Component* currentlyFocusedComponent;
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -2226,6 +2227,7 @@ protected:
|
|||
virtual void internalRepaint (int x, int y, int w, int h);
|
||||
/** @internal */
|
||||
virtual ComponentPeer* createNewPeer (int styleFlags, void* nativeWindowToAttachTo);
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -30,12 +30,14 @@
|
|||
|
||||
// (NB: This stuff mustn't go inside the "#if QUICKTIME" block, or it'll break the
|
||||
// amalgamated build)
|
||||
#if JUCE_WINDOWS
|
||||
#ifndef DOXYGEN
|
||||
#if JUCE_WINDOWS
|
||||
#include "juce_ActiveXControlComponent.h"
|
||||
typedef ActiveXControlComponent QTCompBaseClass;
|
||||
#elif JUCE_MAC
|
||||
#elif JUCE_MAC
|
||||
#include "juce_NSViewComponent.h"
|
||||
typedef NSViewComponent QTCompBaseClass;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// this is used to disable QuickTime, and is defined in juce_Config.h
|
||||
|
|
|
|||
|
|
@ -28,13 +28,15 @@
|
|||
|
||||
|
||||
//==============================================================================
|
||||
#if JUCE_MSVC
|
||||
#ifndef DOXYGEN
|
||||
#if JUCE_MSVC
|
||||
#pragma pack (push, 1)
|
||||
#define PACKED
|
||||
#elif JUCE_GCC
|
||||
#elif JUCE_GCC
|
||||
#define PACKED __attribute__((packed))
|
||||
#else
|
||||
#else
|
||||
#define PACKED
|
||||
#endif
|
||||
#endif
|
||||
|
||||
class PixelRGB;
|
||||
|
|
@ -258,15 +260,18 @@ private:
|
|||
|
||||
struct
|
||||
{
|
||||
#if JUCE_BIG_ENDIAN
|
||||
#if JUCE_BIG_ENDIAN
|
||||
uint8 a : 8, r : 8, g : 8, b : 8;
|
||||
#else
|
||||
#else
|
||||
uint8 b, g, r, a;
|
||||
#endif
|
||||
#endif
|
||||
} PACKED components;
|
||||
};
|
||||
|
||||
} PACKED;
|
||||
}
|
||||
#ifndef DOXYGEN
|
||||
PACKED
|
||||
#endif
|
||||
;
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -424,7 +429,11 @@ private:
|
|||
uint8 b, g, r;
|
||||
#endif
|
||||
|
||||
} PACKED;
|
||||
}
|
||||
#ifndef DOXYGEN
|
||||
PACKED
|
||||
#endif
|
||||
;
|
||||
|
||||
forcedinline void PixelARGB::blend (const PixelRGB& src) throw()
|
||||
{
|
||||
|
|
@ -553,7 +562,11 @@ public:
|
|||
private:
|
||||
//==============================================================================
|
||||
uint8 a : 8;
|
||||
} PACKED;
|
||||
}
|
||||
#ifndef DOXYGEN
|
||||
PACKED
|
||||
#endif
|
||||
;
|
||||
|
||||
forcedinline void PixelRGB::blend (const PixelAlpha& src) throw()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -79,11 +79,13 @@ public:
|
|||
|
||||
//==============================================================================
|
||||
private:
|
||||
#ifndef DOXYGEN
|
||||
union
|
||||
{
|
||||
uint64 asInt64;
|
||||
uint8 asBytes[6];
|
||||
};
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -323,9 +323,10 @@ private:
|
|||
OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const BigInteger& value);
|
||||
|
||||
//==============================================================================
|
||||
/** For backwards compatibility, BitArray is defined to be an alias for BigInteger.
|
||||
*/
|
||||
typedef BigInteger BitArray;
|
||||
#ifndef DOXYGEN
|
||||
// For backwards compatibility, BitArray is defined as an alias for BigInteger.
|
||||
typedef BigInteger BitArray;
|
||||
#endif
|
||||
|
||||
|
||||
#endif // __JUCE_BIGINTEGER_JUCEHEADER__
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
#include <GLUT/glut.h>
|
||||
#endif
|
||||
|
||||
#if ! CGFLOAT_DEFINED
|
||||
#if ! (CGFLOAT_DEFINED || defined (DOXYGEN))
|
||||
#define CGFloat float
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@
|
|||
#define JUCE_ObjCExtraSuffix 3
|
||||
#endif
|
||||
|
||||
#define appendMacro1(a, b, c, d, e) a ## _ ## b ## _ ## c ## _ ## d ## _ ## e
|
||||
#define appendMacro2(a, b, c, d, e) appendMacro1(a, b, c, d, e)
|
||||
#define MakeObjCClassName(rootName) appendMacro2 (rootName, JUCE_MAJOR_VERSION, JUCE_MINOR_VERSION, JUCE_BUILDNUMBER, JUCE_ObjCExtraSuffix)
|
||||
#ifndef DOXYGEN
|
||||
#define appendMacro1(a, b, c, d, e) a ## _ ## b ## _ ## c ## _ ## d ## _ ## e
|
||||
#define appendMacro2(a, b, c, d, e) appendMacro1(a, b, c, d, e)
|
||||
#define MakeObjCClassName(rootName) appendMacro2 (rootName, JUCE_MAJOR_VERSION, JUCE_MINOR_VERSION, JUCE_BUILDNUMBER, JUCE_ObjCExtraSuffix)
|
||||
#endif
|
||||
|
|
@ -26,8 +26,10 @@
|
|||
#ifndef __JUCE_CRITICALSECTION_JUCEHEADER__
|
||||
#define __JUCE_CRITICALSECTION_JUCEHEADER__
|
||||
|
||||
class JUCE_API ScopedLock;
|
||||
class JUCE_API ScopedUnlock;
|
||||
#ifndef DOXYGEN
|
||||
class JUCE_API ScopedLock;
|
||||
class JUCE_API ScopedUnlock;
|
||||
#endif
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -283,8 +283,10 @@ private:
|
|||
uint32 affinityMask_;
|
||||
bool volatile threadShouldExit_;
|
||||
|
||||
#ifndef DOXYGEN
|
||||
friend class MessageManager;
|
||||
friend void JUCE_API juce_threadEntryPoint (void*);
|
||||
#endif
|
||||
|
||||
void launchThread();
|
||||
void closeThreadHandle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue