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

Introjucer: changes to implementation of auto-update and a few editor tweaks.

This commit is contained in:
jules 2015-09-01 12:29:19 +01:00
parent 4c26b1bcb9
commit c53b00cb21
8 changed files with 240 additions and 118 deletions

View file

@ -141,7 +141,7 @@ struct LogoComponent : public Component
Rectangle<int> r (getLocalBounds());
g.setFont (15.0f);
g.drawFittedText (getVersionInfo(), r.removeFromBottom (30), Justification::centred, 2);
g.drawFittedText (getVersionInfo(), r.removeFromBottom (50), Justification::centred, 3);
const Path& logo = getIcons().mainJuceLogo;
g.fillPath (logo, RectanglePlacement (RectanglePlacement::centred)
@ -150,16 +150,9 @@ struct LogoComponent : public Component
static String getVersionInfo()
{
const Time buildDate (Time::getCompilationDate());
String s;
s << SystemStats::getJUCEVersion() << newLine
<< "Introjucer built: " << buildDate.getDayOfMonth()
<< " " << Time::getMonthName (buildDate.getMonth(), true)
<< " " << buildDate.getYear();
return s;
return SystemStats::getJUCEVersion()
+ newLine
+ IntrojucerApp::getApp().getVersionDescription();
}
};