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

SynthGUI::mainDialog Class Reference

The main UI window. More...

#include <MainDialog.h>

Inheritance diagram for SynthGUI::mainDialog:

GUIToolkit::EventHandler List of all members.

Public Methods

 mainDialog (Synth *syn)
 Create with a pointer to Synth.

void drawmain ()
 Updates the main window.

 ~mainDialog ()
 Destructor.

void MessageLoop ()
 Enter infinite loop.

void HandleEvents (event ev)
 Private eventhandler.

void drawMod (int x, int y, int x2, int y2, std::string s, mod *md, bool drawLines)
 Draws a single 'mod'.

int mouseOverMod (int x, int y)
 Checks whether mouse over mod.


Detailed Description

The main UI window.

Definition at line 177 of file MainDialog.h.


Member Function Documentation

void SynthGUI::mainDialog::drawMod int    x,
int    y,
int    x2,
int    y2,
std::string    s,
mod   md,
bool    drawLines
 

Draws a single 'mod'.

Todo:
privatize?

Definition at line 16 of file MainDialog.cpp.

References SynthGUI::modList::chosen, SynthGUI::modList::getMod(), SynthGUI::modList::mods, and SynthGUI::mod::mv.

Referenced by drawmain().

int SynthGUI::mainDialog::mouseOverMod int    x,
int    y
 

Checks whether mouse over mod.

Todo:
privatize?

Definition at line 142 of file MainDialog.cpp.

References SynthGUI::modList::mods.

Referenced by HandleEvents().


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