#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <bonobo.h>
#include <gnome.h>
#include "callbacks.h"
#include "interface.h"
#include "support.h"
#include "interface_il.h"
Go to the source code of this file.
Defines | |
#define | STATUS_BAR_MESSAGE_LENGTH 25 |
#define | NUMBER_OF_STATUS_BARS 03 |
#define | GLADE_HOOKUP_OBJECT(component, widget, name) |
#define | GLADE_HOOKUP_OBJECT_NO_REF(component, widget, name) g_object_set_data (G_OBJECT (component), name, widget) |
Functions | |
static void | on_about1_activate (GtkMenuItem *menuitem, gpointer user_data) |
GtkWidget * | create_MainWindow (void) |
GtkWidget * | create_morse_about (void) |
Variables | |
static GnomeUIInfo | file1_menu_uiinfo [] |
static GnomeUIInfo | view_menu_uiinfo [] |
static GnomeUIInfo | icons_only_uiinfo [] |
static GnomeUIInfo | toolbar_menu_uiinfo [] |
static GnomeUIInfo | settings_menu_uiinfo [] |
static GnomeUIInfo | bw25_hz_uiinfo [] |
static GnomeUIInfo | fir_bw_menu_uiinfo [] |
static GnomeUIInfo | help1_menu_uiinfo [] |
static GnomeUIInfo | menubar1_uiinfo [] |
#define GLADE_HOOKUP_OBJECT | ( | component, | |||
widget, | |||||
name | ) |
Value:
g_object_set_data_full (G_OBJECT (component), name, \ gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
Definition at line 23 of file interface.c.
Referenced by create_MainWindow(), create_morse2txt_properties(), and create_stats_window().
#define GLADE_HOOKUP_OBJECT_NO_REF | ( | component, | |||
widget, | |||||
name | ) | g_object_set_data (G_OBJECT (component), name, widget) |
Definition at line 27 of file interface.c.
Referenced by create_MainWindow(), create_morse2txt_properties(), create_morse_about(), and create_stats_window().
#define NUMBER_OF_STATUS_BARS 03 |
Definition at line 21 of file interface.c.
#define STATUS_BAR_MESSAGE_LENGTH 25 |
GtkWidget* create_MainWindow | ( | void | ) |
Definition at line 232 of file interface.c.
References main_widgets::adjustment_frequency_v, main_widgets::decoded_text_v, FALSE, main_widgets::ffts_statusbar_v, get_fft_data_size(), get_fft_graph_top(), GLADE_HOOKUP_OBJECT, GLADE_HOOKUP_OBJECT_NO_REF, main_widgets::height, main_widgets::hscale1_v, main_widgets::label1_v, main_gui, main_widgets::main_window_v, on_adjustment_release_event(), on_agc_apply_btn_toggled(), on_clear_txt_button_clicked(), on_enable_fir_button_toggled(), on_exit_button_clicked(), on_MainWindow_delete_event(), on_scope_fft_button_clicked(), on_startbutton_clicked(), on_stop_button_clicked(), main_widgets::pane_position, main_widgets::samples_statusbar_v, main_widgets::scope_v, main_widgets::toolbar1_v, main_widgets::toolbar_style, TRUE, view_menu_uiinfo, main_widgets::width, and main_widgets::wpm_statusbar_v.
Referenced by main().
GtkWidget* create_morse_about | ( | void | ) |
Definition at line 516 of file interface.c.
References GLADE_HOOKUP_OBJECT_NO_REF.
Referenced by on_about1_activate().
static void on_about1_activate | ( | GtkMenuItem * | menuitem, | |
gpointer | user_data | |||
) | [static] |
Definition at line 543 of file interface.c.
References create_morse_about().
GnomeUIInfo bw25_hz_uiinfo[] [static] |
Definition at line 112 of file interface.c.
GnomeUIInfo file1_menu_uiinfo[] [static] |
Initial value:
{ { GNOME_APP_UI_ITEM, N_("E_xit"), NULL, (gpointer) on_exit1_activate, NULL, NULL, GNOME_APP_PIXMAP_STOCK, "gtk-quit", 0, (GdkModifierType) 0, NULL }, GNOMEUIINFO_END }
Definition at line 32 of file interface.c.
GnomeUIInfo fir_bw_menu_uiinfo[] [static] |
Initial value:
{ { GNOME_APP_UI_RADIOITEMS, NULL, NULL, bw25_hz_uiinfo, NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }, GNOMEUIINFO_END }
Definition at line 173 of file interface.c.
GnomeUIInfo help1_menu_uiinfo[] [static] |
Initial value:
{ { GNOME_APP_UI_ITEM, N_("_About"), NULL, (gpointer) on_about1_activate, NULL, NULL, GNOME_APP_PIXMAP_STOCK, "gnome-stock-about", 0, (GdkModifierType) 0, NULL }, GNOMEUIINFO_END }
Definition at line 183 of file interface.c.
GnomeUIInfo icons_only_uiinfo[] [static] |
Initial value:
{ { GNOME_APP_UI_ITEM, N_("_Icons Only"), NULL, (gpointer) on_icons_and_or_text_activate, (gpointer)"a", NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }, { GNOME_APP_UI_ITEM, N_("_Text Only"), NULL, (gpointer) on_icons_and_or_text_activate, (gpointer)"b", NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }, { GNOME_APP_UI_ITEM, N_("I_cons & Text"), NULL, (gpointer) on_icons_and_or_text_activate, (gpointer)"c", NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }, GNOMEUIINFO_END }
Definition at line 56 of file interface.c.
GnomeUIInfo menubar1_uiinfo[] [static] |
Definition at line 195 of file interface.c.
GnomeUIInfo settings_menu_uiinfo[] [static] |
Initial value:
{ { GNOME_APP_UI_ITEM, N_("_Preferences"), NULL, (gpointer) on_preferences_activate, NULL, NULL, GNOME_APP_PIXMAP_STOCK, "gtk-preferences", 0, (GdkModifierType) 0, NULL }, GNOMEUIINFO_SEPARATOR, { GNOME_APP_UI_SUBTREE, N_("_Toolbar"), NULL, toolbar_menu_uiinfo, NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }, GNOMEUIINFO_END }
Definition at line 92 of file interface.c.
GnomeUIInfo toolbar_menu_uiinfo[] [static] |
Initial value:
{ { GNOME_APP_UI_RADIOITEMS, NULL, NULL, icons_only_uiinfo, NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }, GNOMEUIINFO_END }
Definition at line 82 of file interface.c.
GnomeUIInfo view_menu_uiinfo[] [static] |
Initial value:
{ { GNOME_APP_UI_TOGGLEITEM, N_("Morse _Statistics"), NULL, (gpointer) on_statistics_activate, NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }, GNOMEUIINFO_END }
Definition at line 44 of file interface.c.
Referenced by create_MainWindow().