File: widget.h

package info (click to toggle)
gsmc 1.1-1.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 644 kB
  • ctags: 230
  • sloc: ansic: 3,000; sh: 275; makefile: 44
file content (97 lines) | stat: -rw-r--r-- 3,686 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
 *   GSMC - A GTK Smith Chart Calulator for RF impedance matching
 * 
 *	(c) by Lapo Pieri IK5NAX  2003-2004,
 *          and Johannes van der Horst
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *  Send bugs reports, comments, critique, etc, to ik5nax@amsat.org or
 *  lapo_pieri@virgilio.it
 */

#define ETTNULL 0
#define ETTSP   1
#define ETTZ0   2
#define ETTF0   3
#define ETTAR   4
#define ETTAL   5
#define ETTAC   6
#define ETTAT   7
#define ETTIR   8
#define ETTIL   9
#define ETTIC   10
#define ETTIT   11
#define ETTN1   12
#define ETTN2   13

void main_quit(GtkWidget*, gpointer),
  help_about(GtkWidget*, gpointer),
  help_about_destroy(GtkWidget *, gpointer),
  help_keystrokes(GtkWidget*, gpointer),
  help_keystrokes_destroy(GtkWidget *, gpointer),
  write_activate(GtkWidget*, gpointer),
  load_activate(GtkWidget*, gpointer),
  save_activate(GtkWidget*, gpointer),
  print_activate(GtkWidget*, gpointer),
  restart(GtkWidget*, gpointer),
  sp_activate(GtkWidget*, gpointer), f0_activate(GtkWidget*, gpointer), 
  z0_activate(GtkWidget*, gpointer),
  add_resistance_activate(GtkWidget*, gpointer),
  add_inductance_activate(GtkWidget*, gpointer),
  add_capacitance_activate(GtkWidget*, gpointer),
  add_tline_activate(GtkWidget*, gpointer),
  ins_resistance_activate(GtkWidget*, gpointer),
  ins_inductance_activate(GtkWidget*, gpointer),
  ins_capacitance_activate(GtkWidget*, gpointer),
  ins_tline_activate(GtkWidget*, gpointer),
  delete_component_activate(GtkWidget*, gpointer),
  decrease_first_activate(GtkWidget*, gpointer),
  increase_first_activate(GtkWidget*, gpointer),
  decrease_second_activate(GtkWidget*, gpointer),
  increase_second_activate(GtkWidget*, gpointer),
  select_previous(GtkWidget*, gpointer),  
  select_next(GtkWidget*, gpointer),
  decrease_tunestep(GtkWidget*, gpointer),
  increase_tunestep(GtkWidget*, gpointer),
  decrease_freqstep(GtkWidget*, gpointer),
  increase_freqstep(GtkWidget*, gpointer),
  on_imped_activate(GtkWidget*, gpointer),
  on_admit_activate(GtkWidget*, gpointer),
  on_cor_activate(GtkWidget*, gpointer),
  on_qfac_activate(GtkWidget*, gpointer),
  wfile_ok_sel(GtkWidget *, GtkFileSelection *),
  lfile_ok_sel(GtkWidget *, GtkFileSelection *),
  sfile_ok_sel(GtkWidget *, GtkFileSelection *),
  print_ok_sel(GtkWidget *, GtkFileSelection *),
  set_first_val(GtkWidget*, gpointer),
  set_second_val(GtkWidget*, gpointer),
  do_autotune(GtkWidget*, gpointer),
  lock_autotune_activate(GtkWidget*, gpointer),
  increase_freq(GtkWidget*, gpointer),
  decrease_freq(GtkWidget*, gpointer);

gint cursor_motion_in_sc(GtkWidget *, GdkEventMotion *);

void menu_create(GtkWidget *, GtkWidget **);

gint set_spZ(void), set_spY(void), set_spRHO(void);
gint etb_callback(GtkWidget*, GtkWidget*), 
  etbt_callback(GtkWidget*, GtkWidget*),
  etbn_callback(GtkWidget*, GtkWidget*);
gint set_series(void), set_parallel(void), set_short_series(void),
  set_open_series(void), set_short_parallel(void), set_open_parallel(void),
  set_transmissive(void);