From bf7f42bc3b63a0c2cec5a5adfb44feffab47a077 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 01 四月 2021 15:08:55 +0800 Subject: [PATCH] 2021-04-01 1.更新 --- xamarin/ESVideoPhoneSDKXamarin/ESVideoPhoneSDKXamarin/GDHDLUtlis.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/xamarin/ESVideoPhoneSDKXamarin/ESVideoPhoneSDKXamarin/GDHDLUtlis.h b/xamarin/ESVideoPhoneSDKXamarin/ESVideoPhoneSDKXamarin/GDHDLUtlis.h index 910f2b6..fd61773 100644 --- a/xamarin/ESVideoPhoneSDKXamarin/ESVideoPhoneSDKXamarin/GDHDLUtlis.h +++ b/xamarin/ESVideoPhoneSDKXamarin/ESVideoPhoneSDKXamarin/GDHDLUtlis.h @@ -40,6 +40,11 @@ #define APP_UIFont_BOLD @"PingFangSC-Semibold" +#define DesignWidth 375 +#define DesignHeight 667 +#define GetRealWidth(W) W / (DesignWidth * 1.0f / APP_SCREEN_WIDTH) +#define GetRealHeight(H) H / (DesignHeight * 1.0f / APP_SCREEN_HEIGHT) + #define TextColor HEXCOLORA(0x333333, 1.0) #define TextSelectColor HEXCOLORA(0xFB744A, 1.0) -- Gitblit v1.8.0