Fixed the multiple typedef of DRAWABLE_DESC.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2904 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -48,12 +48,12 @@ struct frame_desc
|
|||||||
struct drawable_desc *parent;
|
struct drawable_desc *parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct drawable_desc
|
struct drawable_desc
|
||||||
{
|
{
|
||||||
CREATE_FLAGS Flags;
|
CREATE_FLAGS Flags;
|
||||||
UWORD MaxIndex;
|
UWORD MaxIndex;
|
||||||
FRAME_DESC *Frame;
|
FRAME_DESC *Frame;
|
||||||
} DRAWABLE_DESC;
|
};
|
||||||
|
|
||||||
#define GetFrameWidth(f) ((f)->Bounds.width)
|
#define GetFrameWidth(f) ((f)->Bounds.width)
|
||||||
#define GetFrameHeight(f) ((f)->Bounds.height)
|
#define GetFrameHeight(f) ((f)->Bounds.height)
|
||||||
|
|||||||
Reference in New Issue
Block a user