diff --git a/Headers/Additions/GNUstepGUI/GSTheme.h b/Headers/Additions/GNUstepGUI/GSTheme.h index 51f627633..a2ae844ec 100644 --- a/Headers/Additions/GNUstepGUI/GSTheme.h +++ b/Headers/Additions/GNUstepGUI/GSTheme.h @@ -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; diff --git a/Source/GSThemeTools.m b/Source/GSThemeTools.m index 67b3b77b6..b65797215 100644 --- a/Source/GSThemeTools.m +++ b/Source/GSThemeTools.m @@ -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;