Data Structure Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
204
12.7 CStaticSurfaceWindow Class Reference
#include <ut_class_window.h>
Public Member Functions
virtual MM_ERROR Open (MML_GDC_DISPLAY display, const void
∗
pImage, MM_BOOL
bCopyToVRAM=MM_FALSE, MM_S32 x=0, MM_S32 y=0, MML_GDC_DISP_LAYER
layerId=MML_GDC_DISP_LAYER_0, MML_GDC_DISP_SUB_LAYER
sub_layerID=MML_GDC_DISP_SUB_LAYER_DEFAULT, MM_U32 blend_mode=0)
virtual MM_ERROR Open (MML_GDC_DISPLAY display, MML_GDC_SURFACE sImage, MM_S32 x=0,
MM_S32 y=0, MML_GDC_DISP_LAYER layerId=MML_GDC_DISP_LAYER_0,
MML_GDC_DISP_SUB_LAYER sub_layerID=MML_GDC_DISP_SUB_LAYER_DEFAULT, MM_U32
blend_mode=0)
Additional Inherited Members
12.7.1 Detailed Description
The Class CStaticSurfaceWindow uses a 2D core window showing a static image like a background image or a for
instance sign as foreground layer.
12.7.2 Member Function Documentation
12.7.2.1 virtual MM_ERROR Open ( MML_GDC_DISPLAY display, const void
∗
pImage, MM_BOOL
bCopyToVRAM = MM_FALSE, MM_S32 x = 0, MM_S32 y = 0, MML_GDC_DISP_LAYER
layerId = MML_GDC_DISP_LAYER_0, MML_GDC_DISP_SUB_LAYER sub_layerID =
MML_GDC_DISP_SUB_LAYER_DEFAULT, MM_U32 blend_mode = 0 ) [inline], [virtual]
Open the window and show an image.
Parameters
in
display
A display object that will be used to open the window.
in
pImage
Pointer to an buffer array describing a 2D core pixel buffer (analog to
utSurfLoadBitmap()).
in
bCopyToVRAM
If MM_TRUE the pImage will be copied to VRAM otherwise the display controller will
read the pImage buffer direct.
in
x
X position offset of the upper left window corner relative to the display screen.
in
y
Y position offset of the upper left window corner relative to the display screen.
in
layerId
Layer ID of the window.
in
sub_layerID
Sub-Layer ID of the window.
in
blend_mode
Starting blend mode for the window see mmlGdcDispWinSetBlendMode().
Return values
MML_OK
on success. Otherwise the related error code or
MML_ERR.