logo
Main Page | Namespaces | Classes | Compounds | Files | Compound Members | Related

SynthGUI::mod Class Reference

mod is the class for visually representing a module. More...

#include <MainDialog.h>

List of all members.

Public Methods

 mod (Module *mm)
 Call with a pointer to module.

 ~mod ()
 Destructor.

void addModule (Module *mm)
void displayDialog ()
 This method displays the appropriate dialog box for changing module settings/routing.


Public Attributes

ModVector mv
int x
 Screen coordinate.

int y
 Screen coordinate.

int x2
 Screen coordinate.

int y2
 Screen coordinate.

std::vector< modInOuts * > InOuts
 In and outs.


Detailed Description

mod is the class for visually representing a module.

Definition at line 49 of file MainDialog.h.


Member Function Documentation

void SynthGUI::mod::addModule Module *    mm [inline]
 

A 'mod' can point to several modules at once. More modules can added with this method.

Definition at line 79 of file MainDialog.h.

References mv.


Member Data Documentation

std::vector<modInOuts *> SynthGUI::mod::InOuts
 

In and outs.

Todo:
unused?

Definition at line 69 of file MainDialog.h.

ModVector SynthGUI::mod::mv
 

If the module is part of a voice (for polyphonic synths) One mod can point to many instances (but of course only one of these: the so called firstVoice is drawn). This is the list of modules.

Definition at line 54 of file MainDialog.h.

Referenced by addModule(), displayDialog(), SynthGUI::mainDialog::drawMod(), SynthGUI::EnvDialog::EnvDialog(), SynthGUI::FilterDialog::FilterDialog(), mod(), and SynthGUI::OscDialog::OscDialog().


The documentation for this class was generated from the following files:
Syntopia Project. Visit the web page, or the SourceForge page.
Docs made by Doxygen. Email: Mikael Christensen