NEURON
ocbox.h
Go to the documentation of this file.
1 #ifndef ocbox_h
2 #define ocbox_h
3 
4 #include "ocglyph.h"
5 #include <ivstream.h>
6 
7 class OcBoxImpl;
8 class BoxAdjust;
9 struct Object;
10 
11 class OcBox : public OcGlyphContainer {
12 public:
13  enum {H, V};
15  OcBox(int type, int frame = INSET, bool scroll = false);
16  virtual ~OcBox();
17 
18  virtual void box_append(OcGlyph*);
19  virtual void save(ostream&);
20  virtual void save_action(const char*, Object*);
21  virtual void adjuster(Coord natural);
22  virtual void adjust(Coord natural, int);
23  virtual void adjust(Coord natural, BoxAdjust*);
24  bool full_request();
25  void full_request(bool);
26 
27  virtual void premap();
28  virtual void dismiss_action(const char*, Object* pyact=NULL);
29  virtual void no_parents();
30  void keep_ref(Object*);
31  Object* keep_ref();
32 
33  bool dismissing();
34  void dismissing(bool);
35 private:
36  OcBoxImpl* bi_;
37 };
38 
39 #endif
bool dismissing()
short type
Definition: cabvars.h:10
static Frame * frame
Definition: code.cpp:154
#define Coord
Definition: _defines.h:19
virtual void premap()
OcBox(int type, int frame=INSET, bool scroll=false)
virtual ~OcBox()
Object * keep_ref()
virtual void box_append(OcGlyph *)
OcBoxImpl * bi_
Definition: ocbox.h:36
Definition: ocbox.h:13
Definition: ocbox.h:11
bool full_request()
virtual void save_action(const char *, Object *)
virtual void dismiss_action(const char *, Object *pyact=NULL)
virtual void save(ostream &)
virtual void no_parents()
virtual void adjuster(Coord natural)
Definition: hocdec.h:226
Definition: ocbox.h:13
return NULL
Definition: cabcode.cpp:461
virtual void adjust(Coord natural, int)