git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28847 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-10-19 11:02:27 +00:00
parent 7e3fc6af79
commit 028062089d
2 changed files with 7 additions and 7 deletions

View file

@ -175,12 +175,12 @@ APPKIT_EXPORT NSString *GSScrollerVerticalSlot;
* to display the tile.
*/
typedef enum {
GSThemeFillStyleNone, /** CM image is not drawn */
GSThemeFillStyleScale, /** CM image is scaled to fit */
GSThemeFillStyleRepeat, /** CM image is tiled from bottom left */
GSThemeFillStyleCenter, /** CM image is tiled from the center */
GSThemeFillStyleMatrix, /** a matrix of nine separated images */
GSThemeFillStyleScaleAll /** All 'stretchable' images (i.e. not
GSThemeFillStyleNone = 0, /** CM image is not drawn */
GSThemeFillStyleScale = 1, /** CM image is scaled to fit */
GSThemeFillStyleRepeat = 2, /** CM image is tiled from bottom left */
GSThemeFillStyleCenter = 3, /** CM image is tiled from the center */
GSThemeFillStyleMatrix = 4, /** a matrix of nine separated images */
GSThemeFillStyleScaleAll = 5 /** All 'stretchable' images (i.e. not
the four corners) are scaled to fill
their area, instead of being repeated */
} GSThemeFillStyle;

View file

@ -1085,7 +1085,7 @@ withRepeatedImage: (NSImage*)image
fromRect: rects[TileCM]
center: !flipped];
NSLog(@"rect %@ too small fire tiles %@",
NSLog(@"rect %@ too small for tiles %@",
NSStringFromSize(rect.size), NSStringFromSize(tsz));
return inFill;