Add MeasureHelper
This commit is contained in:
@@ -13,6 +13,8 @@ int FontSizeHelper::desktop_width = 1080;
|
|||||||
bool AnnoHelper::privacyOn = false;
|
bool AnnoHelper::privacyOn = false;
|
||||||
bool AnnoHelper::annotOn = true;
|
bool AnnoHelper::annotOn = true;
|
||||||
|
|
||||||
|
int MeasureHelper::measureType = 0;
|
||||||
|
|
||||||
|
|
||||||
bool FlipExportHelper::flip = false;
|
bool FlipExportHelper::flip = false;
|
||||||
|
|
||||||
|
|||||||
@@ -211,6 +211,20 @@ private:
|
|||||||
static bool annotOn;
|
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
|
class FontSizeHelper
|
||||||
|
|||||||
Reference in New Issue
Block a user