改造一些
This commit is contained in:
@@ -90,8 +90,8 @@ std::vector<Action_Definition> actions(std::string_view case_id,
|
||||
action("reset", "恢复本图默认值", "Gallery_Scene::rebuild", "会话"),
|
||||
action("rebuild_renderable", "移除并重建控件", "Plot_Core::remove_renderable / Builder::build", "会话"),
|
||||
action("toggle_view", "切换 View 生命周期", "Plot_Core::activate_view / deactivate_view", "会话"),
|
||||
action("axis_set_start", "通过 set_coord_start 应用起点", "Axis::set_coord_start", "Axis"),
|
||||
action("axis_set_length", "通过 set_coord_length 应用跨度", "Axis::set_coord_length", "Axis"),
|
||||
action("axis_set_start", "写入坐标范围起点", "Axis::set<&Axis_Properties::coordinates>", "Axis"),
|
||||
action("axis_set_length", "写入坐标范围跨度", "Axis::set<&Axis_Properties::coordinates>", "Axis"),
|
||||
action("axis_probe", "读取坐标映射与刻度", "coord_to_pixel / pixel_to_coord / tick_step / sub_tick_count / tick_label", "Axis")
|
||||
};
|
||||
if (frame_mode == Gallery_Frame_Mode::Manual) {
|
||||
@@ -126,7 +126,7 @@ std::vector<Action_Definition> actions(std::string_view case_id,
|
||||
}
|
||||
if (case_id == "axis_lab") {
|
||||
result.push_back(action("append_time", "追加时间点", "Time_Axis::append_time / tick_to_time", "Time_Axis"));
|
||||
result.push_back(action("read_data_shape", "读取轴采样点状态", "Abs_Axis::pixel_sample_count / Time_Axis::time_point_count", "观察者"));
|
||||
result.push_back(action("read_data_shape", "读取轴采样点状态", "Abs_Axis::transform / Time_Axis::time_point_count", "观察者"));
|
||||
} else if (case_id == "spectrum" || case_id == "selection_overlay") {
|
||||
result.push_back(action("push_samples", "推送一帧样本", "Spectrum::update_samples", "Spectrum"));
|
||||
result.push_back(action("power_at", "查询指定频率功率", "Spectrum::power_at", "Spectrum", {}, "number", "频率", 98e6));
|
||||
|
||||
Reference in New Issue
Block a user