Quantum Fog  0.9.3
C_PI_AMPS_TABLE.h
1 #pragma once
2 
3 #include "QFog_constants.h"
4 #include "C_EDIT_TABLE.h"
5 #include "TRANS_MAT.h"
6 #include "C_TOP_PTRS.h"
7 
8 //******************************************
9 class C_PI_AMPS_TABLE : public C_EDIT_TABLE, public LBroadcaster, public C_TOP_PTRS
10 {
11 protected:
12  USHORT its_nd;
13  TM_COL_NUM its_in_st;
14  COORD_SYSTEM its_coord_sys; //COORD_SYS defined in "QFog_constants.h"
15 public:
16  C_PI_AMPS_TABLE(LStream * inStream);
17  virtual ~C_PI_AMPS_TABLE();
18 
19  virtual VOID get_cell_data(const STableCell & inCell, LStr255 & str);
20  virtual VOID set_cell_data(const STableCell & inCell, const LStr255 & str);
21  virtual BOOLEAN str_is_valid_cell_entry(const STableCell & cell, Str255 pstr);
22  virtual VOID delete_cell_data(const STableCell & inCell);
23  VOID DrawCell(const STableCell & inCell, const Rect & inLocalRect);
24  VOID ClickCell(const STableCell & inCell, const SMouseDownEvent & inMouseDown);
25 
26  VOID set_in_st(TM_COL_NUM new_in_st);
27  VOID set_nd_always(USHORT new_nd);
28  VOID set_coord_sys(COORD_SYSTEM sys);
29  VOID activate_all_states();
30  VOID deactivate_all_states();
31 
32  VOID read_sub_mat(const C_SUB_MATRIX & smat);
33  VOID delete_selection();
34 };
35 
Definition: C_TOP_PTRS.h:7
Definition: C_PI_AMPS_TABLE.h:9
Definition: C_SUB_MATRIX.h:3
Definition: C_EDIT_TABLE.h:8