用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "SLayoutSize.h"
|
|
|
|
|
namespace SOUI
|
|
|
|
|
{
|
|
|
|
|
enum Gravity{
|
|
|
|
|
G_Undefined=-1,
|
|
|
|
|
G_Left=0,G_Top=0,
|
|
|
|
|
G_Center=1,
|
|
|
|
|
G_Right=2,G_Bottom=2,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct SLinearLayoutParamStruct
|
|
|
|
|
{
|
|
|
|
|
SLayoutSize width;
|
|
|
|
|
SLayoutSize height;
|
|
|
|
|
SLayoutSize extend_left,extend_right;//相当于android的margin属性
|
|
|
|
|
SLayoutSize extend_top,extend_bottom;//相当于android的margin属性
|
|
|
|
|
float weight;
|
|
|
|
|
Gravity gravity;
|
|
|
|
|
};
|
|
|
|
|
}
|