修改伽玛name为gamma,增加扫描区域属性

This commit is contained in:
gb 2022-05-04 17:23:51 +08:00
parent e68133f71f
commit cafe5cebcd
3 changed files with 5861 additions and 10 deletions

File diff suppressed because it is too large Load Diff

View File

@ -77,6 +77,16 @@ public:
range.type = RANGE_TYPE_NONE;
}
}HGITEM;
typedef struct _def_h
{
std::wstring name;
std::wstring value;
std::wstring utf8_in_oct;
bool operator==(const std::wstring& n)
{
return name == n;
}
}DEFH;
std::vector<HGITEM> hg_items_;
bool show_tree_tooltips_;
bool show_list_tooltips_;
@ -94,13 +104,16 @@ protected:
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
static void to_define_header(std::vector<DEFH>& defs, const wchar_t* str, const wchar_t* parent = NULL);
static void save_define_header_2_file(std::vector<DEFH>& defs, const wchar_t* file);
void init_control_statu(void);
void delete_tree_item(HTREEITEM root);
int find_config_item(const wchar_t* item_name);
int check_depend(const wchar_t* l, const wchar_t* r); // -1: l depends on r; 0: no depend; 1: r depends on l
void set_control_status(const HGITEM& item);
void* create_json(int item);
void* create_json(int item, std::vector<DEFH> *def_h = NULL);
std::string to_json_text(void);
void add_item(void* jsn_root, void* jsn_obj, HTREEITEM parent);
bool load_from_json_text(const wchar_t* txt);
@ -149,3 +162,5 @@ public:
afx_msg void OnListmenuTooltips();
};

Binary file not shown.