Logo Search packages:      
Sourcecode: patchage version File versions  Download package

PatchBay::Module Class Reference
[Modular patch bay canvas widget.]

#include <Module.h>

Inherited by PatchageModule.

List of all members.

Detailed Description

A module on the canvas.

Definition at line 37 of file Module.h.

Public Member Functions

virtual void add_port (const string &port_name, bool is_input, int color, bool resize=true)
void height (double h)
virtual void load_location ()
 Module (PatchBayArea *patch_bay, const string &name, double x=0, double y=0)
bool module_event (GdkEvent *event)
virtual void move_to (double x, double y)
const string & name () const
int num_ports () const
virtual void on_double_click ()
PatchBayAreapatch_bay () const
Port *const port (const string &port_name) const
PortList & ports ()
virtual void remove_port (const string &port_name, bool resize=true)
void resize ()
virtual void show_menu (GdkEvent *ev)
virtual void store_location ()
void width (double w)
void zoom (float z)

Protected Member Functions

void add_port (Port *port, bool resize=true)

Protected Attributes

Gnome::Canvas::Text m_canvas_title
double m_height
Gnome::Canvas::Rect m_module_box
string m_name
PortList m_ports
double m_width

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

Generated by  Doxygen 1.6.0   Back to index