mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Projucer: Fixed some warnings in the autogenerated code
This commit is contained in:
parent
9a51fed425
commit
d316ae3a31
4 changed files with 6 additions and 6 deletions
|
|
@ -6192,7 +6192,7 @@ static const unsigned char temp_binary_data_35[] =
|
|||
"public:\r\n"
|
||||
" //==============================================================================\r\n"
|
||||
" %%class_name%% (%%constructor_params%%);\r\n"
|
||||
" ~%%class_name%%();\r\n"
|
||||
" ~%%class_name%%() override;\r\n"
|
||||
"\r\n"
|
||||
" //==============================================================================\r\n"
|
||||
" //[UserMethods] -- You can add your own custom methods in this section.\r\n"
|
||||
|
|
@ -7846,7 +7846,7 @@ const char* getNamedResource (const char* resourceNameUTF8, int& numBytes)
|
|||
case 0x51b49ac5: numBytes = 6036; return jucer_AudioPluginFilterTemplate_cpp;
|
||||
case 0x488afa0a: numBytes = 2272; return jucer_AudioPluginFilterTemplate_h;
|
||||
case 0xabad7041: numBytes = 2126; return jucer_ComponentTemplate_cpp;
|
||||
case 0xfc72fe86: numBytes = 2042; return jucer_ComponentTemplate_h;
|
||||
case 0xfc72fe86: numBytes = 2051; return jucer_ComponentTemplate_h;
|
||||
case 0x1657b643: numBytes = 1693; return jucer_ContentCompSimpleTemplate_h;
|
||||
case 0x0b66646c: numBytes = 1190; return jucer_ContentCompTemplate_cpp;
|
||||
case 0x6fa10171: numBytes = 1071; return jucer_ContentCompTemplate_h;
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ namespace BinaryData
|
|||
const int jucer_ComponentTemplate_cppSize = 2126;
|
||||
|
||||
extern const char* jucer_ComponentTemplate_h;
|
||||
const int jucer_ComponentTemplate_hSize = 2042;
|
||||
const int jucer_ComponentTemplate_hSize = 2051;
|
||||
|
||||
extern const char* jucer_ContentCompSimpleTemplate_h;
|
||||
const int jucer_ContentCompSimpleTemplate_hSize = 1693;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
public:
|
||||
//==============================================================================
|
||||
%%class_name%% (%%constructor_params%%);
|
||||
~%%class_name%%();
|
||||
~%%class_name%%() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
|
|
|
|||
|
|
@ -145,8 +145,8 @@ void PaintElementImage::fillInGeneratedCode (GeneratedCode& code, String& paintM
|
|||
else
|
||||
r << " g.setColour (Colours::black.withAlpha (" << CodeHelpers::floatLiteral (opacity, 3) << "));\n";
|
||||
|
||||
r << " jassert (" << imageVariable << " != 0);\n"
|
||||
<< " if (" << imageVariable << " != 0)\n"
|
||||
r << " jassert (" << imageVariable << " != nullptr);\n"
|
||||
<< " if (" << imageVariable << " != nullptr)\n"
|
||||
<< " " << imageVariable << "->drawWithin (g, Rectangle<int> (x, y, width, height).toFloat(),\n"
|
||||
<< " " << String::repeatedString (" ", imageVariable.length() + 18)
|
||||
<< (mode == stretched ? "RectanglePlacement::stretchToFit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue