Quantum Fog  0.9.3
C_BI_ND_PROBS_WIND.h
1 #pragma once
2 
3 #include "QFog_constants.h"
4 #include "C_TOP_PTRS.h"
5 
8 //******************************************
9 class C_BI_ND_PROBS_WIND : public LWindow, public LListener, public LPeriodical, public C_TOP_PTRS
10 {
11 private:
12  USHORT its_bi_nd_id; // this is the location selected in the list. It's zero based
13 
14  LCaption * its_owner_cap_p;
15  LCaption * its_info_cap_p;
16  LPopupButton * its_popup_p;
17  LStdButton * its_first_but_p;
18  LStdButton * its_next_but_p;
19 
20  LCaption * its_bi_nd_state_cap_p;
21 
22  C_BI_ND_PROBS_TABLE * its_table_p;
23  C_BI_ND_PROBS_MARGIN * its_left_margin_p;
24  C_BI_ND_PROBS_MARGIN * its_top_margin_p;
25 
26  STableCell its_t_cell[3]; //t= touched
27  enum WHICH_TABLE{left_ta, top_ta, main_ta};
28 
29 public:
30 
31  C_BI_ND_PROBS_WIND(LStream * inStream);
33  virtual ~C_BI_ND_PROBS_WIND();
34  VOID init_popup();
35  VOID show_owner( const LStr255 & file_name);
36  VOID special_finish_create(const LStr255 & file_name, USHORT sel_loc);
37 
38  VOID refresh_info_cap();
39  VOID set_bi_nd_always(USHORT new_loc);
40  VOID set_bi_nd_if_diff(USHORT new_loc);
41 
42  VOID ListenToMessage(MessageT inMessage, VOID * ioParam );
43 
44  VOID refresh_bi_nd_state_cap(const WHICH_TABLE & table);
45  VOID SpendTime(const EventRecord & inMacEvent );
46 
47 };
48 #pragma mark -
49 
50 
51 //******************************************
52 inline
53 VOID C_BI_ND_PROBS_WIND::set_bi_nd_if_diff(
54 USHORT new_id) //in
55 {
56  if(its_bi_nd_id !=new_id)set_bi_nd_always(new_id);
57 }
58 
59 
Definition: C_TOP_PTRS.h:7
Definition: C_BI_ND_PROBS_WIND.h:9
Definition: C_BI_ND_PROBS_MARGIN.h:6
Definition: C_BI_ND_PROBS_TABLE.h:8