Files
nekoray/ui/GroupSort.hpp
2022-08-19 12:48:56 +08:00

23 lines
539 B
C++

#pragma once
namespace NekoRay {
// implement in mainwindow
namespace GroupSortMethod {
enum GroupSortMethod {
Raw,
ByType,
ByAddress,
ByName,
ByLatency,
ById,
};
}
struct GroupSortAction {
GroupSortMethod::GroupSortMethod method = GroupSortMethod::Raw;
bool save_sort = false; //保存到文件
bool descending = false; //默认升序,开这个就是降序
bool scroll_to_started = false;
};
}