Quantum Fog  0.9.3
C_MVIEW_ACTIONS.h
1 //uaction = undoing action
2 //init = initially
3 
4 #include "C_TOP_PTRS.h"
5 #include "UI_MAP.h"
6 #include "SET.h"
7 
8 #pragma once
9 //******************************************
10 class C_NET_DEL_OR_CUT_ACTION: public LAction, public C_TOP_PTRS
11 {
12 protected:
13  USHORT its_copy_to_scrap; //0 if no, 1 if yes
14  UI_MAP its_map_with_sel_last;
15  USHORT its_num_of_init_sel_nds;
16  BOOLEAN its_init_sel_nds_are_last;
17  USHORT its_num_of_init_sel_arrows;
18  BOOLEAN its_init_sel_arrows_are_first;
19  //undel_reco = long record of selection, used for del followed by undel
20  Handle its_undel_reco_h;
21 public:
22  C_NET_DEL_OR_CUT_ACTION(USHORT copy_to_scrap,
23  C_DOC * doc_p, C_MAIN_VIEW * view_p, QB_NET * net_p);
24  virtual ~C_NET_DEL_OR_CUT_ACTION();
25 
26  virtual Boolean CanRedo() const;
27  virtual Boolean CanUndo() const;
28 
29  virtual void RedoSelf();
30  virtual void UndoSelf();
31 };
Definition: C_MAIN_VIEW.h:24
Definition: C_MVIEW_ACTIONS.h:10
Definition: C_TOP_PTRS.h:7
Definition: QB_NET.h:34
Definition: C_DOC.h:12
Definition: UI_MAP.h:7