ThresholdCanvas Class Reference

#include <thresholdwindow.h>

Inherits BC_SubWindow.

Collaboration diagram for ThresholdCanvas:

Collaboration graph
[legend]

Public Types

enum  { NO_OPERATION, DRAG_SELECTION }

Public Member Functions

 ThresholdCanvas (ThresholdMain *plugin, ThresholdWindow *gui, int x, int y, int w, int h)
int button_press_event ()
int button_release_event ()
int cursor_motion_event ()
void draw ()

Data Fields

ThresholdMainplugin
ThresholdWindowgui
int state
int x1
int x2
int center_x

Detailed Description

Definition at line 100 of file thresholdwindow.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
NO_OPERATION 
DRAG_SELECTION 

Definition at line 117 of file thresholdwindow.h.


Constructor & Destructor Documentation

ThresholdCanvas::ThresholdCanvas ( ThresholdMain plugin,
ThresholdWindow gui,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 99 of file thresholdwindow.C.

References NO_OPERATION, and state.


Member Function Documentation

int ThresholdCanvas::button_press_event (  )  [virtual]

int ThresholdCanvas::button_release_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 158 of file thresholdwindow.C.

References DRAG_SELECTION, NO_OPERATION, and state.

int ThresholdCanvas::cursor_motion_event (  )  [virtual]

void ThresholdCanvas::draw (  ) 


Field Documentation

Definition at line 114 of file thresholdwindow.h.

Referenced by button_press_event(), cursor_motion_event(), and draw().

Definition at line 115 of file thresholdwindow.h.

Referenced by cursor_motion_event().

Definition at line 122 of file thresholdwindow.h.

Referenced by button_press_event(), cursor_motion_event(), and draw().

Definition at line 123 of file thresholdwindow.h.

Referenced by button_press_event(), cursor_motion_event(), and draw().

Definition at line 124 of file thresholdwindow.h.

Referenced by button_press_event(), and cursor_motion_event().


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

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