Offset not Offsets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1366 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: SpriteIcon.java,v 1.1 2002/05/16 02:58:59 mdb Exp $
|
// $Id: SpriteIcon.java,v 1.2 2002/05/16 03:00:29 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media.sprite;
|
package com.threerings.media.sprite;
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ public class SpriteIcon implements Icon
|
|||||||
* being used in this icon because it will be "moved" when the icon is
|
* being used in this icon because it will be "moved" when the icon is
|
||||||
* rendered. The sprite's origin will be set to the bottom center of
|
* rendered. The sprite's origin will be set to the bottom center of
|
||||||
* the label. If this is undesirable, the origin can be offset via
|
* the label. If this is undesirable, the origin can be offset via
|
||||||
* {@link #setOriginOffsets}.
|
* {@link #setOriginOffset}.
|
||||||
*/
|
*/
|
||||||
public SpriteIcon (Sprite sprite)
|
public SpriteIcon (Sprite sprite)
|
||||||
{
|
{
|
||||||
@@ -33,7 +33,7 @@ public class SpriteIcon implements Icon
|
|||||||
* when trying to get sprites that weren't designed to be stuffed into
|
* when trying to get sprites that weren't designed to be stuffed into
|
||||||
* labels to behave appropriately).
|
* labels to behave appropriately).
|
||||||
*/
|
*/
|
||||||
public void setOriginOffsets (int offx, int offy)
|
public void setOriginOffset (int offx, int offy)
|
||||||
{
|
{
|
||||||
_offx = offx;
|
_offx = offx;
|
||||||
_offy = offy;
|
_offy = offy;
|
||||||
|
|||||||
Reference in New Issue
Block a user