A few comments, cleanups.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2835 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -24,7 +24,8 @@ typedef struct
|
||||
CREATE_FLAGS DisplayFlags;
|
||||
|
||||
BYTE DisplayDepth;
|
||||
COUNT DisplayWidth, DisplayHeight;
|
||||
COUNT DisplayWidth;
|
||||
COUNT DisplayHeight;
|
||||
|
||||
DRAWABLE (*alloc_image) (COUNT NumFrames, DRAWABLE_TYPE DrawableType,
|
||||
CREATE_FLAGS flags, SIZE width, SIZE height);
|
||||
|
||||
@@ -30,7 +30,8 @@ read_screen (RECT *lpRect, FRAME DstFramePtr)
|
||||
|| !(GetFrameParentDrawable (DstFramePtr)->Flags
|
||||
& MAPPED_TO_DISPLAY))
|
||||
{
|
||||
log_add (log_Warning, "Unimplemented function activated: read_screen()");
|
||||
log_add (log_Warning, "Unimplemented function activated: "
|
||||
"read_screen()");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -53,14 +54,14 @@ alloc_image (COUNT NumFrames, DRAWABLE_TYPE DrawableType, CREATE_FLAGS
|
||||
|
||||
static DISPLAY_INTERFACE DisplayInterface =
|
||||
{
|
||||
WANT_MASK,
|
||||
/* .DisplayFlags = */ WANT_MASK,
|
||||
|
||||
16, // SCREEN_DEPTH,
|
||||
320,
|
||||
240,
|
||||
/* .DisplayDepth = */ 16,
|
||||
/* .DisplayWidth = */ 320,
|
||||
/* .DisplayHeight = */ 240,
|
||||
|
||||
alloc_image,
|
||||
read_screen,
|
||||
/* .alloc_iamge = */ alloc_image,
|
||||
/* .read_display = */ read_screen,
|
||||
};
|
||||
|
||||
void
|
||||
@@ -70,3 +71,4 @@ LoadDisplay (DISPLAY_INTERFACE **pDisplay)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user