mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
New class StringPool. Removed the class var::identifier from its parent class, and renamed it "Identifier" - I've left a typedef in var to allow old code to still work, but I'll remove this at some point, so please switch to using the new classname directly. Jucer development.
This commit is contained in:
parent
ed97872c1a
commit
b46e94cffd
90 changed files with 2839 additions and 1733 deletions
|
|
@ -1783,7 +1783,7 @@ void Component::sendLookAndFeelChange()
|
|||
}
|
||||
}
|
||||
|
||||
static const var::identifier getColourPropertyId (const int colourId)
|
||||
static const Identifier getColourPropertyId (const int colourId)
|
||||
{
|
||||
String s;
|
||||
s.preallocateStorage (18);
|
||||
|
|
@ -1827,9 +1827,9 @@ void Component::copyAllExplicitColoursTo (Component& target) const
|
|||
|
||||
for (int i = properties.size(); --i >= 0;)
|
||||
{
|
||||
const var::identifier name (properties.getName(i));
|
||||
const Identifier name (properties.getName(i));
|
||||
|
||||
if (name.name.startsWith ("jcclr_"))
|
||||
if (name.toString().startsWith ("jcclr_"))
|
||||
if (target.properties.set (name, properties [name]))
|
||||
changed = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue