Add MeasureHelper

This commit is contained in:
Krad
2022-03-11 13:57:36 +08:00
parent 45643cf161
commit c2c838d85b
2 changed files with 16 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ int FontSizeHelper::desktop_width = 1080;
bool AnnoHelper::privacyOn = false;
bool AnnoHelper::annotOn = true;
int MeasureHelper::measureType = 0;
bool FlipExportHelper::flip = false;

View File

@@ -211,6 +211,20 @@ private:
static bool annotOn;
};
class MeasureHelper
{
public:
static bool measureOn;
static int getMeasureType(){
return measureType;
}
static void setMeasureType(int type){
measureType = type;
}
private:
static int measureType;
};
class FontSizeHelper