Quantum Fog  0.9.3
C_CELL_EDITOR.h
1 #pragma once
2 
3 //******************************************
4 class C_CELL_EDITOR : public LEditField
5 {
6 
7 protected:
8  STableCell its_cell;
9 
10 public:
11  C_CELL_EDITOR(LView * super_view_p, LCommander * super_comm_p);
12  virtual ~C_CELL_EDITOR();
13 
14  const STableCell & get_cell() const;
15  VOID set_cell(const STableCell & cell);
16 
17  VOID move_to(SInt16 horz, SInt16 vert);
18 
19  virtual BOOLEAN HandleKeyPress(const EventRecord & in_key_event);
20  virtual BOOLEAN ObeyCommand(CommandT inCommand, VOID * ioParam);
21  virtual VOID FindCommandStatus(CommandT inCommand,
22  BOOLEAN & outEnabled, BOOLEAN & outUsesMark,
23  UInt16 & outMark, Str255 outName_pstr);
24 
25 };
26 #pragma mark -
27 
28 
29 //******************************************
30 inline
31 const STableCell & C_CELL_EDITOR::get_cell()
32 const
33 {
34  return its_cell;
35 }
36 //******************************************
37 inline
38 VOID C_CELL_EDITOR::set_cell(
39 const STableCell & cell) //in
40 {
41  its_cell= cell;
42 }
43 
Definition: C_CELL_EDITOR.h:4