GradientShape Class Reference

#include <gradient.h>

Inherits BC_PopupMenu.

Collaboration diagram for GradientShape:

Collaboration graph
[legend]

Public Member Functions

 GradientShape (GradientMain *plugin, GradientWindow *gui, int x, int y)
void create_objects ()
int handle_event ()

Static Public Member Functions

static char * to_text (int shape)
static int from_text (char *text)

Data Fields

GradientMainplugin
GradientWindowgui

Detailed Description

Definition at line 63 of file gradient.h.


Constructor & Destructor Documentation

GradientShape::GradientShape ( GradientMain plugin,
GradientWindow gui,
int  x,
int  y 
)

Definition at line 280 of file gradient.C.


Member Function Documentation

void GradientShape::create_objects (  ) 

Definition at line 289 of file gradient.C.

References BC_PopupMenu::add_item(), BC_WindowBase::BC_MenuItem, GradientConfig::LINEAR, GradientConfig::RADIAL, and to_text().

Referenced by GradientWindow::create_objects().

Here is the call graph for this function:

char * GradientShape::to_text ( int  shape  )  [static]

Definition at line 294 of file gradient.C.

References _, and GradientConfig::LINEAR.

Referenced by create_objects(), from_text(), and GradientMain::update_gui().

int GradientShape::from_text ( char *  text  )  [static]

Definition at line 304 of file gradient.C.

References GradientConfig::LINEAR, GradientConfig::RADIAL, and to_text().

Referenced by handle_event().

Here is the call graph for this function:

int GradientShape::handle_event (  )  [virtual]

Reimplemented from BC_PopupMenu.

Definition at line 310 of file gradient.C.

References from_text(), BC_PopupMenu::get_text(), gui, plugin, PluginClient::send_configure_change(), and GradientWindow::update_shape().

Here is the call graph for this function:


Field Documentation

Definition at line 74 of file gradient.h.

Referenced by handle_event().

Definition at line 75 of file gradient.h.

Referenced by handle_event().


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

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