diff --git a/AppKit/CPView.j b/AppKit/CPView.j index ace7030b6..5369033f7 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -2593,6 +2593,13 @@ setBoundsOrigin: return (_themeAttributes && _themeAttributes[aName] !== undefined); } +/*! + Registers theme values encoded in an array at runtime. The format of the data in the array + is the same as that used by ThemeDescriptors.j. For more information see the comments + at the top of ThemeDescriptors.j. + + @param themeValues array of theme values +*/ - (void)registerThemeValues:(CPArray)themeValues { for (var i = 0; i < themeValues.length; ++i) @@ -2609,6 +2616,15 @@ setBoundsOrigin: } } +/*! + Registers theme values encoded in an array at runtime. The format of the data in the array + is the same as that used by ThemeDescriptors.j. The values in \c inheritedValues are + registered first, then those in \c themeValues override/augment the inherited values. + For more information see the comments at the top of ThemeDescriptors.j. + + @param themeValues array of base theme values + @param inheritedValues array of overridden/additional theme values +*/ - (void)registerThemeValues:(CPArray)themeValues inherit:(CPArray)inheritedValues { // Register inherited values first, then override those with the subtheme values.