interface_il.h File Reference

#include <stdint.h>
#include <gnome.h>
#include <stdio.h>

Include dependency graph for interface_il.h:

This graph shows which files directly or indirectly include this file:

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


Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

void init_gui_interface_hooks ( void   ) 

void interface_activate_bw_chk_item ( const int32_t  bw  ) 

Used to activate the appropriate bandwidth radio box when the application is started.

Parameters:
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().

Here is the call graph for this function:

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.

See also:
scope_v plot_fft_data_array_destroy
Parameters:
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.

See also:
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Variable Documentation

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().


Generated on Mon Jun 22 21:39:19 2009 for morse2txt by  doxygen 1.5.6