mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:30:37 +00:00
* Source/GSThemeTools.m (-initWithNinePatchImage:): Parse the
"optiacal bounds" metadata in 9-patch images. It's stored in the layoutRect ivar but not used otherwise. See "Optical bounds layout" section of: http://developer.android.com/about/versions/android-4.3.html * Source/GSThemePrivate.h (GSDrawTiles): Add layoutRect ivar git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37219 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a627839460
commit
bd3426dd41
3 changed files with 68 additions and 4 deletions
|
@ -65,6 +65,7 @@ typedef enum {
|
|||
NSRect contentRect; /** Rectangle in which content should be
|
||||
* drawn, normally rects[TileCM], but can
|
||||
* be customized in the nine-patch format */
|
||||
NSRect layoutRect;
|
||||
NSRect originalRectCM; /** Caches rects[TileCM] as it was before
|
||||
* -validateTilesSizeWithImage clears the
|
||||
* origin. Used by -themeMargins */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue