2 #include "QFog_constants.h" 5 #ifdef _mac_gui_app //''''''''''''''''''''''''''''''''''''''''''''\\. 8 #include "C_PORT_RELATED.h" 10 #include "C_ARROW_DRAWER.h" 12 #include "TWO_MODE_FUN.h" 17 #endif //_mac_gui_app \\............................................// 36 #ifdef _mac_gui_app //''''''''''''''''''''''''''''''''''''''''''''\\. 39 enum {the_rot_ang=15, port_docking_rad = 0, port_greeting_rad = 5 };
50 Point its_port_locs_p[4];
52 SInt16 its_port_guests_p[4];
56 ND_CLASS_ID get_class_id();
58 VOID init_port_locs();
61 USHORT get_port_guest(USHORT sub_nd_id);
62 C_CIRCLE get_docking_cir(USHORT sub_nd_id);
63 BOOLEAN pt_is_in_greeting_cir_of_avail_d_port(
66 BOOLEAN pt_is_in_greeting_cir_of_avail_s_port(
69 VOID add_nd_to_port_glist(USHORT g_nd_id, USHORT sub_nd_id);
70 VOID remove_nd_from_all_port_glists(USHORT g_nd_id);
71 VOID renumber_nds_of_port_glists(
const UI_MAP & map);
75 VOID move_by(
const Point & delta);
78 VOID refresh_port_locs();
80 BOOLEAN has_icon_dir();
81 SInt16 get_icon_dir()
const;
82 VOID set_icon_dir(SInt16 icon_dir);
86 VOID obey_amp_gen(USHORT mx_n_sum,
const TWO_MODE_FUN & two_fun,
const USHORT * m1x_p,
const USHORT * m2x_p,
const USHORT * m1y_p,
const USHORT * m2y_p);
89 #endif //_mac_gui_app \\............................................// 94 #ifdef _mac_gui_app //''''''''''''''''''''''''''''''''''''''''''''\\. 98 STRINGY BEAM_SPL::get_class_str()
104 ND_CLASS_ID BEAM_SPL::get_class_id()
110 USHORT BEAM_SPL::get_port_guest(
113 return its_port_guests_p[sub_nd_id];
120 return C_CIRCLE(its_port_locs_p[sub_nd_id], port_docking_rad);
124 VOID BEAM_SPL::add_nd_to_port_glist(
128 its_port_guests_p[sub_nd_id]= g_nd_id;
132 BOOLEAN BEAM_SPL::has_icon_dir()
138 SInt16 BEAM_SPL::get_icon_dir()
const 142 #endif //_mac_gui_app \\............................................// Definition: C_MAIN_VIEW.h:24
Definition: BEAM_SPL.h:24
Definition: C_BEAM_SPL_AMP_GEN.h:11
Definition: TWO_MODE_FUN.h:5
Definition: C_PI_WIND.h:18
Definition: C_PORT_RELATED.h:6