PluginOn Class Reference

#include <plugintoggles.h>

Inherits BC_Toggle.

Collaboration diagram for PluginOn:

Collaboration graph
[legend]

Public Member Functions

 PluginOn (MWindow *mwindow, int x, int y, Plugin *plugin)
void update (int x, int y, Plugin *plugin)
int handle_event ()

Static Public Member Functions

static int calculate_w (MWindow *mwindow)

Data Fields

MWindowmwindow
int in_use
Pluginplugin

Detailed Description

Definition at line 10 of file plugintoggles.h.


Constructor & Destructor Documentation

PluginOn::PluginOn ( MWindow mwindow,
int  x,
int  y,
Plugin plugin 
)

Definition at line 8 of file plugintoggles.C.

References in_use.


Member Function Documentation

int PluginOn::calculate_w ( MWindow mwindow  )  [static]

Definition at line 19 of file plugintoggles.C.

References BC_Theme::get_image_set(), VFrame::get_w(), and MWindow::theme.

Referenced by TrackCanvas::draw_plugins().

Here is the call graph for this function:

void PluginOn::update ( int  x,
int  y,
Plugin plugin 
)

Definition at line 24 of file plugintoggles.C.

References in_use, Plugin::on, BC_Toggle::reposition_window(), and BC_Toggle::set_value().

Referenced by TrackCanvas::draw_plugins().

Here is the call graph for this function:

int PluginOn::handle_event (  )  [virtual]

Reimplemented from BC_Toggle.

Definition at line 32 of file plugintoggles.C.

References BC_Toggle::get_value(), BC_WindowBase::lock_window(), mwindow, Plugin::on, plugin, MWindow::restart_brender(), MWindow::sync_parameters(), and BC_WindowBase::unlock_window().

Here is the call graph for this function:


Field Documentation

Definition at line 17 of file plugintoggles.h.

Referenced by handle_event().

Definition at line 18 of file plugintoggles.h.

Referenced by TrackCanvas::draw_plugins(), PluginOn(), and update().

Definition at line 19 of file plugintoggles.h.

Referenced by handle_event().


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

Generated on Mon Apr 28 14:36:25 2008 for Cinelerra by  doxygen 1.5.5