mp3splt-gtk 0.9.3.1519
Loading...
Searching...
No Matches
options_manager.c File Reference
#include "options_manager.h"
#include "ui_types.h"
Include dependency graph for options_manager.c:

Go to the source code of this file.

Functions

ui_for_splitbuild_ui_for_split (ui_state *ui)
 
void free_ui_for_split (ui_for_split *ui_fs)
 
void put_options_from_preferences (ui_for_split *ui_fs)
 
void put_tags_from_filename_regex_options (ui_for_split *ui_fs)
 
void update_output_options (ui_state *ui, gboolean is_checked_output_radio_box, gchar *output_format)
 

Detailed Description


Get the current state of all GUI buttons

The code contained in this file reads out the current state of all GUI buttons and saves it into the structure ui->mp3splt_state.

Definition in file options_manager.c.

Function Documentation

◆ build_ui_for_split()

ui_for_split * build_ui_for_split ( ui_state * ui)

Definition at line 65 of file options_manager.c.

◆ free_ui_for_split()

void free_ui_for_split ( ui_for_split * ui_fs)

Definition at line 165 of file options_manager.c.

◆ put_options_from_preferences()

void put_options_from_preferences ( ui_for_split * ui_fs)

Update the ui->mp3splt_state structure.

Updates the ui->mp3splt_state structure by reading out the state of the GUI controls. The only exception is that all options that are directly connected to audio output have been split into a separate function: update_output_options(ui)

Definition at line 189 of file options_manager.c.

◆ put_tags_from_filename_regex_options()

void put_tags_from_filename_regex_options ( ui_for_split * ui_fs)

Definition at line 318 of file options_manager.c.

◆ update_output_options()

void update_output_options ( ui_state * ui,
gboolean is_checked_output_radio_box,
gchar * output_format )

Update the output options.

Update the output options in ui->mp3splt_state by reading out the state of the GUI controls.

All other options are read out in put_options_from_preferences()

Definition at line 51 of file options_manager.c.