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

SynthGUI::modList Class Reference

Containter for the 'mods' displayed on the main UI window. More...

#include <MainDialog.h>

List of all members.

Public Methods

void addMod (mod *m)
 Adds mod to vector.

void addModule (Module *m)
 modList ()
 Constructor.

 ~modList ()
 Destructor.

void print ()
 Debugging information.

void setChosen (int i)
 Set currently selected 'mod'.

int getMod (Module *m)
int getFirstModule (int ID)
 return index of a module in the first voice with a given index.


Public Attributes

int chosen
 Number of currently selected mod (if any).

std::vector< mod * > mods
 The actual mod vector.


Detailed Description

Containter for the 'mods' displayed on the main UI window.

Definition at line 89 of file MainDialog.h.


Member Function Documentation

void SynthGUI::modList::addModule Module *    m [inline]
 

Adds a module to vector. As of now, more instances (polyphony) of a voice must be added manually!

Todo:
fix this.

Definition at line 107 of file MainDialog.h.

References addMod(), mods, SynthGUI::mod::x, SynthGUI::mod::x2, SynthGUI::mod::y, and SynthGUI::mod::y2.

Referenced by SynthGUI::mainDialog::mainDialog().

int SynthGUI::modList::getMod Module *    m [inline]
 

returns index on 'mods' if the module is on list. returns -1 if module is not on list.

Definition at line 156 of file MainDialog.h.

References mods.

Referenced by SynthGUI::mainDialog::drawMod().


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