ocbox.h

Go to the documentation of this file.
00001 #ifndef ocbox_h
00002 #define ocbox_h
00003 
00004 #include "ocglyph.h"
00005 #include <ivstream.h>
00006 
00007 class OcBoxImpl;
00008 class BoxAdjust;
00009 struct Object;
00010 
00011 class OcBox : public OcGlyphContainer {
00012 public:
00013    enum {H, V};
00014         enum {INSET, OUTSET, BRIGHT_INSET, FLAT};
00015         OcBox(int type, int frame = INSET, boolean scroll = false);
00016    virtual ~OcBox();
00017    
00018    virtual void box_append(OcGlyph*);
00019    virtual void save(ostream&);
00020    virtual void save_action(const char*, Object*);
00021    virtual void adjuster(Coord natural);
00022    virtual void adjust(Coord natural, int);
00023    virtual void adjust(Coord natural, BoxAdjust*);
00024    boolean full_request();
00025    void full_request(boolean);
00026 
00027    virtual void premap();
00028    virtual void dismiss_action(const char*, Object* pyact=nil);
00029    virtual void no_parents();
00030    void keep_ref(Object*);
00031    Object* keep_ref();
00032 
00033    boolean dismissing();
00034    void dismissing(boolean);
00035 private:
00036    OcBoxImpl* bi_;
00037 };
00038 
00039 #endif
Generated on Mon Jun 13 08:10:24 2011 for NEURON by  doxygen 1.6.3