VModePatch Class Reference

#include <vpatchgui.h>

Inherits BC_PopupMenu.

Collaboration diagram for VModePatch:

Collaboration graph

Public Member Functions

 VModePatch (MWindow *mwindow, VPatchGUI *patch, int x, int y)
int handle_event ()
int create_objects ()
void update (int mode)

Static Public Member Functions

static char * mode_to_text (int mode)
static IntAutoget_keyframe (MWindow *mwindow, VPatchGUI *patch)

Data Fields

int mode

Detailed Description

Definition at line 44 of file vpatchgui.h.

Constructor & Destructor Documentation

VModePatch::VModePatch ( MWindow mwindow,
VPatchGUI patch,
int  x,
int  y 

Definition at line 242 of file vpatchgui.C.

References get_keyframe(), mode, PatchBay::mode_to_icon(), PatchGUI::patchbay, BC_PopupMenu::set_icon(), BC_WindowBase::set_tooltip(), and IntAuto::value.

Here is the call graph for this function:

Member Function Documentation

int VModePatch::handle_event (  )  [virtual]

int VModePatch::create_objects (  ) 

Definition at line 308 of file vpatchgui.C.

References BC_PopupMenu::add_item(), and mode_to_text().

Referenced by VPatchGUI::update().

Here is the call graph for this function:

char * VModePatch::mode_to_text ( int  mode  )  [static]

Definition at line 331 of file vpatchgui.C.

References _.

Referenced by create_objects().

IntAuto * VModePatch::get_keyframe ( MWindow mwindow,
VPatchGUI patch 
) [static]

void VModePatch::update ( int  mode  ) 

Field Documentation

Definition at line 55 of file vpatchgui.h.

Referenced by handle_event().

Definition at line 56 of file vpatchgui.h.

Referenced by handle_event(), and update().

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

Generated on Mon Apr 28 14:49:42 2008 for Cinelerra by  doxygen 1.5.5