mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Internal work on the ComponentBuilder system.
This commit is contained in:
parent
a511ea6b31
commit
15375dd223
45 changed files with 824 additions and 229 deletions
|
|
@ -5,38 +5,8 @@
|
|||
|
||||
*/
|
||||
|
||||
#include "BinaryData.h"
|
||||
|
||||
|
||||
const char* BinaryData::getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
|
||||
namespace BinaryData
|
||||
{
|
||||
int hash = 0;
|
||||
if (resourceNameUTF8 != 0)
|
||||
while (*resourceNameUTF8 != 0)
|
||||
hash = 31 * hash + *resourceNameUTF8++;
|
||||
|
||||
switch (hash)
|
||||
{
|
||||
case 0x44be9398: numBytes = BinaryData::AudioPluginXCodeScript_txtSize; return BinaryData::AudioPluginXCodeScript_txt;
|
||||
case 0x950fd7dd: numBytes = BinaryData::brushed_aluminium_pngSize; return BinaryData::brushed_aluminium_png;
|
||||
case 0x27c5a93a: numBytes = BinaryData::jucer_AudioPluginEditorTemplate_cppSize; return BinaryData::jucer_AudioPluginEditorTemplate_cpp;
|
||||
case 0x4d0721bf: numBytes = BinaryData::jucer_AudioPluginEditorTemplate_hSize; return BinaryData::jucer_AudioPluginEditorTemplate_h;
|
||||
case 0x51b49ac5: numBytes = BinaryData::jucer_AudioPluginFilterTemplate_cppSize; return BinaryData::jucer_AudioPluginFilterTemplate_cpp;
|
||||
case 0x488afa0a: numBytes = BinaryData::jucer_AudioPluginFilterTemplate_hSize; return BinaryData::jucer_AudioPluginFilterTemplate_h;
|
||||
case 0x8905395b: numBytes = BinaryData::jucer_MainConsoleAppTemplate_cppSize; return BinaryData::jucer_MainConsoleAppTemplate_cpp;
|
||||
case 0x7a0186b1: numBytes = BinaryData::jucer_MainTemplate_cppSize; return BinaryData::jucer_MainTemplate_cpp;
|
||||
case 0x02a2a077: numBytes = BinaryData::jucer_NewCppFileTemplate_cppSize; return BinaryData::jucer_NewCppFileTemplate_cpp;
|
||||
case 0x0842c43c: numBytes = BinaryData::jucer_NewCppFileTemplate_hSize; return BinaryData::jucer_NewCppFileTemplate_h;
|
||||
case 0x3f052be8: numBytes = BinaryData::jucer_WindowTemplate_cppSize; return BinaryData::jucer_WindowTemplate_cpp;
|
||||
case 0xb20377ed: numBytes = BinaryData::jucer_WindowTemplate_hSize; return BinaryData::jucer_WindowTemplate_h;
|
||||
case 0x154a7275: numBytes = BinaryData::juce_icon_pngSize; return BinaryData::juce_icon_png;
|
||||
default: break;
|
||||
}
|
||||
|
||||
numBytes = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
//================== AudioPluginXCodeScript.txt ==================
|
||||
static const unsigned char temp_43731c40[] =
|
||||
|
|
@ -85,7 +55,7 @@ static const unsigned char temp_43731c40[] =
|
|||
" cp -r \"$original\" \"$RTAS\"\r\n"
|
||||
"fi\r\n";
|
||||
|
||||
const char* BinaryData::AudioPluginXCodeScript_txt = (const char*) temp_43731c40;
|
||||
const char* AudioPluginXCodeScript_txt = (const char*) temp_43731c40;
|
||||
|
||||
//================== brushed_aluminium.png ==================
|
||||
static const unsigned char temp_9aa09877[] =
|
||||
|
|
@ -297,7 +267,7 @@ static const unsigned char temp_9aa09877[] =
|
|||
141,20,180,27,72,224,103,149,105,220,112,255,4,89,131,64,4,23,42,115,215,231,245,156,43,234,151,42,11,138,116,121,82,135,79,3,255,178,101,152,75,177,57,53,232,244,11,46,246,251,67,98,174,121,193,110,222,30,8,28,132,216,112,88,219,73,10,62,169,115,60,
|
||||
233,137,16,177,58,98,69,178,95,87,93,157,5,174,93,143,182,244,186,210,167,70,131,11,5,88,2,12,0,52,103,80,26,178,200,170,15,0,0,0,0,73,69,78,68,174,66,96,130,0,0 };
|
||||
|
||||
const char* BinaryData::brushed_aluminium_png = (const char*) temp_9aa09877;
|
||||
const char* brushed_aluminium_png = (const char*) temp_9aa09877;
|
||||
|
||||
//================== jucer_AudioPluginEditorTemplate.cpp ==================
|
||||
static const unsigned char temp_6eda5614[] =
|
||||
|
|
@ -337,7 +307,7 @@ static const unsigned char temp_6eda5614[] =
|
|||
" Justification::centred, 1);\r\n"
|
||||
"}\r\n";
|
||||
|
||||
const char* BinaryData::jucer_AudioPluginEditorTemplate_cpp = (const char*) temp_6eda5614;
|
||||
const char* jucer_AudioPluginEditorTemplate_cpp = (const char*) temp_6eda5614;
|
||||
|
||||
//================== jucer_AudioPluginEditorTemplate.h ==================
|
||||
static const unsigned char temp_67353d19[] =
|
||||
|
|
@ -374,7 +344,7 @@ static const unsigned char temp_67353d19[] =
|
|||
"\r\n"
|
||||
"#endif // HEADERGUARD\r\n";
|
||||
|
||||
const char* BinaryData::jucer_AudioPluginEditorTemplate_h = (const char*) temp_67353d19;
|
||||
const char* jucer_AudioPluginEditorTemplate_h = (const char*) temp_67353d19;
|
||||
|
||||
//================== jucer_AudioPluginFilterTemplate.cpp ==================
|
||||
static const unsigned char temp_98c9479f[] =
|
||||
|
|
@ -556,7 +526,7 @@ static const unsigned char temp_98c9479f[] =
|
|||
" return new FILTERCLASSNAME();\r\n"
|
||||
"}\r\n";
|
||||
|
||||
const char* BinaryData::jucer_AudioPluginFilterTemplate_cpp = (const char*) temp_98c9479f;
|
||||
const char* jucer_AudioPluginFilterTemplate_cpp = (const char*) temp_98c9479f;
|
||||
|
||||
//================== jucer_AudioPluginFilterTemplate.h ==================
|
||||
static const unsigned char temp_62b91564[] =
|
||||
|
|
@ -633,7 +603,7 @@ static const unsigned char temp_62b91564[] =
|
|||
"\r\n"
|
||||
"#endif // HEADERGUARD\r\n";
|
||||
|
||||
const char* BinaryData::jucer_AudioPluginFilterTemplate_h = (const char*) temp_62b91564;
|
||||
const char* jucer_AudioPluginFilterTemplate_h = (const char*) temp_62b91564;
|
||||
|
||||
//================== jucer_MainConsoleAppTemplate.cpp ==================
|
||||
static const unsigned char temp_794304c3[] =
|
||||
|
|
@ -660,7 +630,7 @@ static const unsigned char temp_794304c3[] =
|
|||
" return 0;\r\n"
|
||||
"}\r\n";
|
||||
|
||||
const char* BinaryData::jucer_MainConsoleAppTemplate_cpp = (const char*) temp_794304c3;
|
||||
const char* jucer_MainConsoleAppTemplate_cpp = (const char*) temp_794304c3;
|
||||
|
||||
//================== jucer_MainTemplate.cpp ==================
|
||||
static const unsigned char temp_292512d9[] =
|
||||
|
|
@ -738,7 +708,7 @@ static const unsigned char temp_292512d9[] =
|
|||
"// This macro generates the main() routine that starts the app.\r\n"
|
||||
"START_JUCE_APPLICATION(APPCLASSNAME)\r\n";
|
||||
|
||||
const char* BinaryData::jucer_MainTemplate_cpp = (const char*) temp_292512d9;
|
||||
const char* jucer_MainTemplate_cpp = (const char*) temp_292512d9;
|
||||
|
||||
//================== jucer_NewCppFileTemplate.cpp ==================
|
||||
static const unsigned char temp_79decf5f[] =
|
||||
|
|
@ -753,7 +723,7 @@ static const unsigned char temp_79decf5f[] =
|
|||
"*/\r\n"
|
||||
"\r\n";
|
||||
|
||||
const char* BinaryData::jucer_NewCppFileTemplate_cpp = (const char*) temp_79decf5f;
|
||||
const char* jucer_NewCppFileTemplate_cpp = (const char*) temp_79decf5f;
|
||||
|
||||
//================== jucer_NewCppFileTemplate.h ==================
|
||||
static const unsigned char temp_70d8d24[] =
|
||||
|
|
@ -776,7 +746,7 @@ static const unsigned char temp_70d8d24[] =
|
|||
"\r\n"
|
||||
"#endif // HEADERGUARD\r\n";
|
||||
|
||||
const char* BinaryData::jucer_NewCppFileTemplate_h = (const char*) temp_70d8d24;
|
||||
const char* jucer_NewCppFileTemplate_h = (const char*) temp_70d8d24;
|
||||
|
||||
//================== jucer_WindowTemplate.cpp ==================
|
||||
static const unsigned char temp_6fd7e50[] =
|
||||
|
|
@ -812,7 +782,7 @@ static const unsigned char temp_6fd7e50[] =
|
|||
" JUCEApplication::getInstance()->systemRequestedQuit();\r\n"
|
||||
"}\r\n";
|
||||
|
||||
const char* BinaryData::jucer_WindowTemplate_cpp = (const char*) temp_6fd7e50;
|
||||
const char* jucer_WindowTemplate_cpp = (const char*) temp_6fd7e50;
|
||||
|
||||
//================== jucer_WindowTemplate.h ==================
|
||||
static const unsigned char temp_613d4455[] =
|
||||
|
|
@ -858,7 +828,7 @@ static const unsigned char temp_613d4455[] =
|
|||
"\r\n"
|
||||
"#endif // HEADERGUARD\r\n";
|
||||
|
||||
const char* BinaryData::jucer_WindowTemplate_h = (const char*) temp_613d4455;
|
||||
const char* jucer_WindowTemplate_h = (const char*) temp_613d4455;
|
||||
|
||||
//================== juce_icon.png ==================
|
||||
static const unsigned char temp_ee6f0c0f[] =
|
||||
|
|
@ -1139,4 +1109,49 @@ static const unsigned char temp_ee6f0c0f[] =
|
|||
169,9,0,87,15,129,129,1,247,197,140,255,7,123,160,2,4,208,80,74,0,184,18,2,250,200,222,95,34,70,253,24,73,176,3,215,216,5,190,132,57,100,0,64,0,13,197,4,64,76,201,64,40,146,73,77,0,164,202,15,25,0,16,96,0,155,121,235,71,10,157,3,42,0,0,0,0,73,69,78,68,
|
||||
174,66,96,130,0,0 };
|
||||
|
||||
const char* BinaryData::juce_icon_png = (const char*) temp_ee6f0c0f;
|
||||
const char* juce_icon_png = (const char*) temp_ee6f0c0f;
|
||||
|
||||
|
||||
const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
|
||||
{
|
||||
int hash = 0;
|
||||
if (resourceNameUTF8 != 0)
|
||||
while (*resourceNameUTF8 != 0)
|
||||
hash = 31 * hash + *resourceNameUTF8++;
|
||||
|
||||
switch (hash)
|
||||
{
|
||||
case 0x44be9398:
|
||||
case 0x2981a553: numBytes = 1449; return AudioPluginXCodeScript_txt;
|
||||
case 0x950fd7dd:
|
||||
case 0xa6cfe0e2: numBytes = 14724; return brushed_aluminium_png;
|
||||
case 0x27c5a93a:
|
||||
case 0xb6575890: numBytes = 1008; return jucer_AudioPluginEditorTemplate_cpp;
|
||||
case 0x4d0721bf:
|
||||
case 0xc244271a: numBytes = 799; return jucer_AudioPluginEditorTemplate_h;
|
||||
case 0x51b49ac5:
|
||||
case 0xc68aa4a1: numBytes = 4455; return jucer_AudioPluginFilterTemplate_cpp;
|
||||
case 0x488afa0a:
|
||||
case 0x99c7f951: numBytes = 2400; return jucer_AudioPluginFilterTemplate_h;
|
||||
case 0x8905395b:
|
||||
case 0x84a71cc0: numBytes = 470; return jucer_MainConsoleAppTemplate_cpp;
|
||||
case 0x7a0186b1:
|
||||
case 0x73760f7c: numBytes = 1825; return jucer_MainTemplate_cpp;
|
||||
case 0x02a2a077:
|
||||
case 0x9a5d0862: numBytes = 232; return jucer_NewCppFileTemplate_cpp;
|
||||
case 0x0842c43c:
|
||||
case 0xfbfcda3c: numBytes = 308; return jucer_NewCppFileTemplate_h;
|
||||
case 0x3f052be8:
|
||||
case 0xb905d1ba: numBytes = 781; return jucer_WindowTemplate_cpp;
|
||||
case 0xb20377ed:
|
||||
case 0x959d5d38: numBytes = 1216; return jucer_WindowTemplate_h;
|
||||
case 0x154a7275:
|
||||
case 0xcd05ca61: numBytes = 19826; return juce_icon_png;
|
||||
default: break;
|
||||
}
|
||||
|
||||
numBytes = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue