Пример #1
0
static gboolean
module_register(void)
{
    gwy_graph_func_register("graph_filter",
                            (GwyGraphFunc)&filter,
                            N_("/_Filter"),
                            GWY_STOCK_GRAPH_FILTER,
                            GWY_MENU_FLAG_GRAPH,
                            N_("Remove noise from graph curves"));

    return TRUE;
}
Пример #2
0
static gboolean
module_register(void)
{
    gwy_graph_func_register("graph_fdfit",
                            (GwyGraphFunc)&fit,
                            N_("/_Fit FD Curve..."),
                            GWY_STOCK_GRAPH_FUNCTION,
                            GWY_MENU_FLAG_GRAPH,
                            N_("Fit a force-distance curve"));

    return TRUE;
}
Пример #3
0
static gboolean
module_register(const gchar *name)
{
    static GwyGraphFuncInfo read_func_info = {
        "graph_zoom",
        N_("/_Zoom In"),
        (GwyGraphFunc)&zoom,
    };

    gwy_graph_func_register(name, &read_func_info);

    return TRUE;
}