Quantum Fog  0.9.3
C_BI_ND_LBOX.h
1 #pragma once
2 
3 #include "QFog_constants.h"
4 #include "STRINGY.h"
5 #include "C_TOP_PTRS.h"
6 //******************************************
7 class C_BI_ND_LBOX : public LListBox, public C_TOP_PTRS
8 {
9 
10 protected:
11  USHORT its_occupancy_of_last_row;//either 1 or 2
12  USHORT its_num_of_rows;
13 
14 public:
15 
16  C_BI_ND_LBOX(LStream * inStream);
17  virtual ~C_BI_ND_LBOX();
18 
19  USHORT get_occupancy_of_last_row() const;
20 
21  VOID refresh_a_row(USHORT row, Str255 new_name_pstr);
22  VOID fill_first( const STRINGY & namey);
23  VOID fill_second( const STRINGY & namey);
24  VOID refill();
25  VOID delete_row_and_tell_net_about_it(USHORT xed_row);
26  VOID delete_all_rows();
27 
28  VOID Click(SMouseDownEvent & inMouseDown);
29  BOOLEAN HandleKeyPress(const EventRecord & in_key_event);
30  BOOLEAN ObeyCommand(CommandT inCommand, VOID * ioParam);
31  VOID FindCommandStatus(
32  CommandT inCommand,
33  BOOLEAN & outEnabled,
34  BOOLEAN & outUsesMark,
35  UInt16 & outMark,
36  Str255 outName_pstr);
37 };
38 #pragma mark -
39 
40 
41 //******************************************
42 inline
43 USHORT C_BI_ND_LBOX::get_occupancy_of_last_row() const
44 {
45  return its_occupancy_of_last_row;
46 }
47 
Definition: STRINGY.h:22
Definition: C_TOP_PTRS.h:7
Definition: C_BI_ND_LBOX.h:7