Skip to content

Commit

Permalink
Documented need to use CPColorWithImages() instead of PatternColor()
Browse files Browse the repository at this point in the history
  • Loading branch information
aparajita committed Mar 20, 2012
1 parent fa7a68f commit ebd797d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AppKit/CPView.j
Original file line number Diff line number Diff line change
Expand Up @@ -2598,7 +2598,8 @@ 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. For more information see the comments
is the same as that used by ThemeDescriptors.j, with the exception that you need to use
CPColorWithImages() in place of PatternColor(). For more information see the comments
at the top of ThemeDescriptors.j.
@param themeValues array of theme values
Expand All @@ -2621,7 +2622,8 @@ 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
is the same as that used by ThemeDescriptors.j, with the exception that you need to use
CPColorWithImages() in place of PatternColor(). 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.
Expand Down

0 comments on commit ebd797d

Please sign in to comment.