37#ifndef SPLITPOINTS_WINDOW_H
39#define SPLITPOINTS_WINDOW_H
41#include "all_includes.h"
52 COL_SPLIT_PREVIEW = 7,
75void add_splitpoint_from_player(GtkWidget *widget,
ui_state *ui);
79void clear_current_description(
ui_state *ui);
80void copy_filename_to_current_description(
const gchar *fname,
ui_state *ui);
84void create_trim_silence_window(GtkWidget *button,
ui_state *ui);
void add_row(gboolean checked, ui_state *ui)
adds a row to the table
void update_minutes_from_spinner(GtkWidget *widget, ui_state *ui)
updates the minutes from the spinner
void update_seconds_from_spinner(GtkWidget *widget, ui_state *ui)
updates the seconds from the spinner
void select_splitpoint(gint index, gui_state *gui)
selects a splitpoint
gint get_splitpoint_time(gint this_splitpoint, ui_state *ui)
returns a splitpoint from the table
void create_detect_silence_and_add_splitpoints_window(GtkWidget *button, ui_state *ui)
event for clicking the 'detect silence and add splitpoints' button
void update_splitpoint_from_time(gint index, gdouble time, ui_state *ui)
Set a splitpoint's time value.
void update_splitpoint_check(gint index, ui_state *ui)
Toggles a splitpoint's "Keep" flag.
void remove_all_rows(GtkWidget *widget, ui_state *ui)
removes all rows from the table
void update_hundr_secs_from_spinner(GtkWidget *widget, ui_state *ui)
updates the hundredth of seconds for the spinner
tree_columns
The enum telling which item is kept in which column of the splitpoint tree.
GtkWidget * create_splitpoints_frame(ui_state *ui)
creates the choose splitpoints frame
gint get_first_splitpoint_selected(gui_state *gui)
Gets the number of the first splitpoint with selected "Keep" checkbox.
void update_splitpoint(gint index, Split_point new_point, ui_state *ui)
Set all values of a split point.
gchar * get_splitpoint_name(gint index, ui_state *ui)
returns the name of the splitpoint
void remove_splitpoint(gint index, gint stop_preview, ui_state *ui)
removes a splitpoint