NEURON
OcGlyph Class Reference

#include <ocglyph.h>

Inheritance diagram for OcGlyph:
HocPanel OcGlyphContainer OcViewGlyph OcBox OcDeck

Public Member Functions

 OcGlyph (Glyph *body=NULL)
 
virtual ~OcGlyph ()
 
virtual void save (std::ostream &)
 
virtual bool has_window ()
 
virtual PrintableWindowwindow ()
 
virtual void window (PrintableWindow *)
 
virtual PrintableWindowmake_window (Coord left=-1, Coord bottom=-1, Coord width=-1, Coord height=-1)
 
virtual void no_parents ()
 
void parents (bool)
 
virtual bool dialog (const char *label, const char *accept, const char *cancel)
 
bool dialog_dismiss (bool b)
 
virtual void def_size (Coord &w, Coord &h) const
 
int session_priority ()
 
void session_priority (int i)
 

Private Attributes

PrintableWindoww_
 
int parents_
 
Coord def_w_
 
Coord def_h_
 
Dialogd_
 
int session_priority_
 

Detailed Description

Definition at line 12 of file ocglyph.h.

Constructor & Destructor Documentation

◆ OcGlyph()

OcGlyph::OcGlyph ( Glyph body = NULL)

◆ ~OcGlyph()

virtual OcGlyph::~OcGlyph ( )
virtual

Member Function Documentation

◆ def_size()

virtual void OcGlyph::def_size ( Coord w,
Coord h 
) const
virtual

◆ dialog()

virtual bool OcGlyph::dialog ( const char *  label,
const char *  accept,
const char *  cancel 
)
virtual

◆ dialog_dismiss()

bool OcGlyph::dialog_dismiss ( bool  b)

◆ has_window()

virtual bool OcGlyph::has_window ( )
virtual

◆ make_window()

virtual PrintableWindow* OcGlyph::make_window ( Coord  left = -1,
Coord  bottom = -1,
Coord  width = -1,
Coord  height = -1 
)
virtual

◆ no_parents()

virtual void OcGlyph::no_parents ( )
virtual

Reimplemented in OcBox.

◆ parents()

void OcGlyph::parents ( bool  )

◆ save()

virtual void OcGlyph::save ( std::ostream &  )
virtual

Reimplemented in HocPanel, OcViewGlyph, OcDeck, and OcBox.

◆ session_priority() [1/2]

int OcGlyph::session_priority ( )
inline

Definition at line 32 of file ocglyph.h.

◆ session_priority() [2/2]

void OcGlyph::session_priority ( int  i)
inline

Definition at line 35 of file ocglyph.h.

◆ window() [1/2]

virtual PrintableWindow* OcGlyph::window ( )
virtual

◆ window() [2/2]

virtual void OcGlyph::window ( PrintableWindow )
virtual

Member Data Documentation

◆ d_

Dialog* OcGlyph::d_
private

Definition at line 43 of file ocglyph.h.

◆ def_h_

Coord OcGlyph::def_h_
private

Definition at line 42 of file ocglyph.h.

◆ def_w_

Coord OcGlyph::def_w_
private

Definition at line 42 of file ocglyph.h.

◆ parents_

int OcGlyph::parents_
private

Definition at line 41 of file ocglyph.h.

◆ session_priority_

int OcGlyph::session_priority_
private

Definition at line 44 of file ocglyph.h.

◆ w_

PrintableWindow* OcGlyph::w_
private

Definition at line 40 of file ocglyph.h.


The documentation for this class was generated from the following file: