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

Code clean-ups. Jucer development.

This commit is contained in:
Julian Storer 2010-05-12 23:42:49 +01:00
parent 22e02cf791
commit 1751beed57
145 changed files with 2247 additions and 1853 deletions

View file

@ -659,9 +659,15 @@ static const unsigned char temp_73015554[] =
"//[MiscUserDefs] You can add your own user definitions and misc code here...\r\n"
"//[/MiscUserDefs]\r\n"
"\r\n"
"extern const unsigned char %%className%%_ComponentStateData[];\r\n"
"\r\n"
"//==============================================================================\r\n"
"%%className%%::%%className%% (%%constructorParams%%)\r\n"
"%%initialisers%%{\r\n"
" componentState = ValueTree::readFromData (%%className%%_ComponentStateData, %%statedatasize%%);\r\n"
" jassert (componentState.isValid());\r\n"
" const ValueTree componentStateList (componentState.getChildByName (\"COMPONENTS\"));\r\n"
"\r\n"
" %%constructor%%\r\n"
"\r\n"
" //[Constructor] You can add your own custom stuff here..\r\n"
@ -688,6 +694,10 @@ static const unsigned char temp_73015554[] =
"%%staticMemberDefinitions%%\r\n"
"\r\n"
"//==============================================================================\r\n"
"/* This data contains the ValueTree that holds all the Jucer-generated settings for the components */\r\n"
"const unsigned char %%className%%_ComponentStateData[] = %%statedata%%;\r\n"
"\r\n"
"//==============================================================================\r\n"
"//======================= Jucer Information Section ==========================\r\n"
"//==============================================================================\r\n"
"#if 0\r\n"
@ -760,6 +770,8 @@ static const unsigned char temp_b930c59[] =
" %%privateMemberDeclarations%%\r\n"
"\r\n"
" //==============================================================================\r\n"
" ValueTree componentState;\r\n"
" \r\n"
" // (prevent copy constructor and operator= being generated..)\r\n"
" %%className%% (const %%className%%&);\r\n"
" %%className%%& operator= (const %%className%%&);\r\n"