/* ==================================== JUCER_BINARY_RESOURCE ====================================

   This is an auto-generated file: Any edits you make may be overwritten!

*/

#include <cstring>

namespace BinaryData
{

//================== jucer_OpenGLComponentTemplate.cpp ==================
static const unsigned char temp_binary_data_47[] =
"%%include_corresponding_header%%\r\n"
"\r\n"
"//==============================================================================\r\n"
"%%content_component_class%%::%%content_component_class%%()\r\n"
"{\r\n"
"    // Make sure you set the size of the component after\r\n"
"    // you add any child components.\r\n"
"    setSize (800, 600);\r\n"
"}\r\n"
"\r\n"
"%%content_component_class%%::~%%content_component_class%%()\r\n"
"{\r\n"
"    // This shuts down the GL system and stops the rendering calls.\r\n"
"    shutdownOpenGL();\r\n"
"}\r\n"
"\r\n"
"//==============================================================================\r\n"
"void %%content_component_class%%::initialise()\r\n"
"{\r\n"
"    // Initialise GL objects for rendering here.\r\n"
"}\r\n"
"\r\n"
"void %%content_component_class%%::shutdown()\r\n"
"{\r\n"
"    // Free any GL objects created for rendering here.\r\n"
"}\r\n"
"\r\n"
"void %%content_component_class%%::render()\r\n"
"{\r\n"
"    // This clears the context with a black background.\r\n"
"    juce::OpenGLHelpers::clear (juce::Colours::black);\r\n"
"\r\n"
"    // Add your rendering code here...\r\n"
"}\r\n"
"\r\n"
"//==============================================================================\r\n"
"void %%content_component_class%%::paint (juce::Graphics& g)\r\n"
"{\r\n"
"    // You can add your component specific drawing code here!\r\n"
"    // This will draw over the top of the openGL background.\r\n"
"}\r\n"
"\r\n"
"void %%content_component_class%%::resized()\r\n"
"{\r\n"
"    // This is called when the %%content_component_class%% is resized.\r\n"
"    // If you add any child components, this is where you should\r\n"
"    // update their positions.\r\n"
"}\r\n";

const char* jucer_OpenGLComponentTemplate_cpp = (const char*) temp_binary_data_47;
}
