HistogramSlider Class Reference

#include <histogramwindow.h>

Inherits BC_SubWindow.

Collaboration diagram for HistogramSlider:

Collaboration graph
[legend]

Public Types

enum  { NONE, DRAG_INPUT, DRAG_MIN_OUTPUT, DRAG_MAX_OUTPUT }

Public Member Functions

 HistogramSlider (HistogramMain *plugin, HistogramWindow *gui, int x, int y, int w, int h, int is_input)
void update ()
int button_press_event ()
int button_release_event ()
int cursor_motion_event ()
int input_to_pixel (float input)

Data Fields

int operation
int is_input
HistogramMainplugin
HistogramWindowgui

Detailed Description

Definition at line 12 of file histogramwindow.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
NONE 
DRAG_INPUT 
DRAG_MIN_OUTPUT 
DRAG_MAX_OUTPUT 

Definition at line 30 of file histogramwindow.h.


Constructor & Destructor Documentation

HistogramSlider::HistogramSlider ( HistogramMain plugin,
HistogramWindow gui,
int  x,
int  y,
int  w,
int  h,
int  is_input 
)

Definition at line 595 of file histogramwindow.C.

References NONE, and operation.


Member Function Documentation

void HistogramSlider::update (  ) 

int HistogramSlider::button_press_event (  )  [virtual]

int HistogramSlider::button_release_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 655 of file histogramwindow.C.

References NONE, and operation.

int HistogramSlider::cursor_motion_event (  )  [virtual]

int HistogramSlider::input_to_pixel ( float  input  ) 

Definition at line 610 of file histogramwindow.C.

References BC_WindowBase::get_w().

Referenced by button_press_event(), and update().

Here is the call graph for this function:


Field Documentation

Definition at line 37 of file histogramwindow.h.

Definition at line 38 of file histogramwindow.h.

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

Definition at line 39 of file histogramwindow.h.

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


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

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