#include <stdint.h>
#include <gnome.h>
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | main_widgets |
Main gui widgets. More... | |
Functions | |
int32_t | plot_fft_data_array_create (uint32_t num_points) |
Method that allocates the waveform data to be displayed by the scope_v widget. | |
void | plot_fft_data_array_destroy (void) |
De-allocates array created by plot_fft_data_array_create. | |
void | preferences_enabled (gboolean state) |
Used to enable/disable access to the preferences when the morse code threads are stopped/running. | |
uint32_t | get_fft_data_size (void) |
int32_t | get_fft_graph_top (void) |
uint32_t | get_tone_packet_size (void) |
void | init_gui_interface_hooks (void) |
Registers GUI handlers into Morse GUI Handler Interface. | |
int32_t | threads_stop (void) |
This function is put into the GUI main loop to cancel running threads. | |
void | interface_activate_bw_chk_item (const int32_t bw) |
void | statistics_window_deleted_handler (void) |
Variables | |
struct main_widgets | main_gui |
Main gui widgets. | |
GtkWidget * | morse_stats |
uint32_t get_fft_data_size | ( | void | ) |
Definition at line 242 of file interface_il.c.
References morse_get_fft_data_size().
Referenced by create_MainWindow().
int32_t get_fft_graph_top | ( | void | ) |
Definition at line 243 of file interface_il.c.
References morse_get_fft_graph_top().
Referenced by create_MainWindow().
uint32_t get_tone_packet_size | ( | void | ) |
Definition at line 244 of file interface_il.c.
References morse_get_tone_packet_size().
Referenced by on_startbutton_clicked().
void init_gui_interface_hooks | ( | void | ) |
Registers GUI handlers into Morse GUI Handler Interface.
Definition at line 231 of file interface_il.c.
References dialog_box(), gui_append_character_2_morse_text(), open_plot_debug_pipe, register_debug_plot, register_error_message_handler(), scope_fft_plot(), set_display_character_hndlr(), set_Morse_statistics_display_hndlr(), set_scope_plot_hndlr(), set_update_status_hndlr(), update_statistics_window(), and update_status_bar().
Referenced by main().
void interface_activate_bw_chk_item | ( | const int32_t | bw | ) |
Used to activate the appropriate bandwidth radio box when the application is started.
bw | Bandwidth in Hertz. |
Definition at line 261 of file interface_il.c.
References BW_WIDGET_NAME_LENGTH, BW_WIDGET_NAME_PREFIX, BW_WIDGET_NAME_SUFFIX, lookup_widget(), main_gui, main_widgets::main_window_v, name_buffer, and TRUE.
Referenced by main().
int32_t plot_fft_data_array_create | ( | uint32_t | num_points | ) |
Method that allocates the waveform data to be displayed by the scope_v widget.
num_points | size of array to create |
Definition at line 117 of file interface_il.c.
References main_gui, main_widgets::scope_v, and y.
Referenced by on_startbutton_clicked().
void plot_fft_data_array_destroy | ( | void | ) |
De-allocates array created by plot_fft_data_array_create.
Definition at line 128 of file interface_il.c.
References y.
Referenced by threads_stop().
void preferences_enabled | ( | gboolean | state | ) |
Used to enable/disable access to the preferences when the morse code threads are stopped/running.
Definition at line 254 of file interface_il.c.
References lookup_widget(), main_gui, and main_widgets::main_window_v.
Referenced by on_startbutton_clicked(), and threads_stop().
void statistics_window_deleted_handler | ( | void | ) |
This is called when the Statistics window is destroyed.
Definition at line 136 of file interface_il.c.
References FALSE, lookup_widget(), main_gui, main_widgets::main_window_v, and morse_stats.
Referenced by on_stats_window_delete_event().
int32_t threads_stop | ( | void | ) |
This function is put into the GUI main loop to cancel running threads.
Definition at line 246 of file interface_il.c.
References morse_stop_threads(), plot_fft_data_array_destroy(), preferences_enabled(), and TRUE.
Referenced by on_exit1_activate(), on_exit_button_clicked(), on_MainWindow_delete_event(), and on_stop_button_clicked().
struct main_widgets main_gui |
Main gui widgets.
Referenced by create_MainWindow(), dialog_box(), gui_append_character_2_morse_text(), interface_activate_bw_chk_item(), load_config_file(), on_clear_txt_button_clicked(), on_icons_and_or_text_activate(), on_morse2txt_properties_apply(), on_morse2txt_properties_show(), on_preferences_activate(), on_scope_fft_button_clicked(), plot_fft_data_array_create(), preferences_enabled(), read_main_gui_user_preferences(), save_config_file(), scope_fft_plot(), statistics_window_deleted_handler(), update_status_bar(), and widget_in_property_box_changed().
GtkWidget* morse_stats |
Morse statistics display.
Definition at line 68 of file interface_il.c.
Referenced by on_statistics_activate(), statistics_window_deleted_handler(), and update_statistics_window().