mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups.
This commit is contained in:
parent
c368805559
commit
97035bb3a1
69 changed files with 218 additions and 369 deletions
|
|
@ -38,8 +38,7 @@ BEGIN_JUCE_NAMESPACE
|
|||
|
||||
//==============================================================================
|
||||
ApplicationCommandManager::ApplicationCommandManager()
|
||||
: listeners (8),
|
||||
firstTarget (0)
|
||||
: firstTarget (0)
|
||||
{
|
||||
keyMappings = new KeyPressMappingSet (this);
|
||||
|
||||
|
|
@ -166,7 +165,7 @@ const StringArray ApplicationCommandManager::getCommandCategories() const throw(
|
|||
|
||||
const Array <CommandID> ApplicationCommandManager::getCommandsInCategory (const String& categoryName) const throw()
|
||||
{
|
||||
Array <CommandID> results (4);
|
||||
Array <CommandID> results;
|
||||
|
||||
for (int i = 0; i < commands.size(); ++i)
|
||||
if (commands.getUnchecked(i)->categoryName == categoryName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue