mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-25 10:45:02 +00:00
poppy: add highlight param to VbExDisplayText()
BUG=chrome-os-partner:61275 BRANCH=None TEST=None CQ-DEPEND=CL:442747,CL:442690 Change-Id: I0730b64a1f8bf1f4aeca1be5ee87724d61818b23 Signed-off-by: Shelley Chen <shchen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/442689 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
@@ -795,10 +795,16 @@ VbError_t VbExDisplayImage(uint32_t x, uint32_t y,
|
|||||||
void *buffer, uint32_t buffersize);
|
void *buffer, uint32_t buffersize);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display a string at coordinate x,y
|
* Display a string beginning at coordinate x,y.
|
||||||
|
*
|
||||||
|
* The highlight option will display the string in a contrasting color to
|
||||||
|
* the normal colors. For example, the normal display colors are white
|
||||||
|
* background, black foreground. If highlight==1, will display with black
|
||||||
|
* background, white foreground.
|
||||||
*/
|
*/
|
||||||
VbError_t VbExDisplayText(uint32_t x, uint32_t y,
|
VbError_t VbExDisplayText(uint32_t x, uint32_t y,
|
||||||
const char *info_str);
|
const char *info_str,
|
||||||
|
int highlight);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display a string containing debug information on the screen, rendered in a
|
* Display a string containing debug information on the screen, rendered in a
|
||||||
|
|||||||
@@ -53,7 +53,8 @@ VbError_t VbExDisplayImage(uint32_t x, uint32_t y,
|
|||||||
}
|
}
|
||||||
|
|
||||||
VbError_t VbExDisplayText(uint32_t x, uint32_t y,
|
VbError_t VbExDisplayText(uint32_t x, uint32_t y,
|
||||||
const char *info_str)
|
const char *info_str,
|
||||||
|
int highlight)
|
||||||
{
|
{
|
||||||
return VBERROR_SUCCESS;
|
return VBERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user