X-Git-Url: https://code.delx.au/refind/blobdiff_plain/e22f7ac1eccb5958dd960e157d0f35606f7db26e..bda402d8bb74587c5a813c94a0c8626e0e4f18fe:/libeg/libegint.h diff --git a/libeg/libegint.h b/libeg/libegint.h index 6bcdf1d..400a65c 100644 --- a/libeg/libegint.h +++ b/libeg/libegint.h @@ -37,9 +37,12 @@ #ifndef __LIBEG_LIBEGINT_H__ #define __LIBEG_LIBEGINT_H__ - +#ifdef __MAKEWITH_GNUEFI #include #include +#else +#include "../include/tiano_includes.h" +#endif #include "libeg.h" @@ -49,6 +52,8 @@ typedef EG_IMAGE * (*EG_DECODE_FUNC)(IN UINT8 *FileData, IN UINTN FileDataLength /* functions */ +BOOLEAN egSetScreenSize(IN OUT UINTN *ScreenWidth, IN OUT UINTN *ScreenHeight); + VOID egRestrictImageArea(IN EG_IMAGE *Image, IN UINTN AreaPosX, IN UINTN AreaPosY, IN OUT UINTN *AreaWidth, IN OUT UINTN *AreaHeight);