Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

BC_FSlider Class Reference

#include <bcslider.h>

Inheritance diagram for BC_FSlider:

BC_Slider BC_SubWindow BC_WindowBase BC_RelocatableWidget BC_PercentageSlider List of all members.

Public Member Functions

 BC_FSlider (int x, int y, int vertical, int pixels, int pointer_motion_range, float minvalue, float maxvalue, float value, int use_caption=0, VFrame **data=0)
int update (float value)
int update (int pointer_motion_range, float value, float minvalue, float maxvalue)
float get_value ()
float get_length ()
virtual int increase_value ()
virtual int decrease_value ()
virtual char * get_caption ()
void set_precision (float value)

Private Member Functions

int value_to_pixel ()
int init_selection (int cursor_x, int cursor_y)
int update_selection (int cursor_x, int cursor_y)

Private Attributes

float minvalue
float maxvalue
float value
float precision

Friends

class BC_PercentageSlider

Detailed Description

Definition at line 114 of file bcslider.h.


Constructor & Destructor Documentation

BC_FSlider::BC_FSlider int  x,
int  y,
int  vertical,
int  pixels,
int  pointer_motion_range,
float  minvalue,
float  maxvalue,
float  value,
int  use_caption = 0,
VFrame **  data = 0
 

Definition at line 524 of file bcslider.C.


Member Function Documentation

int BC_FSlider::decrease_value  )  [virtual]
 

Reimplemented from BC_Slider.

Reimplemented in BC_PercentageSlider.

Definition at line 613 of file bcslider.C.

char * BC_FSlider::get_caption  )  [virtual]
 

Reimplemented from BC_Slider.

Reimplemented in BC_PercentageSlider.

Definition at line 599 of file bcslider.C.

float BC_FSlider::get_length  ) 
 

Definition at line 594 of file bcslider.C.

float BC_FSlider::get_value  ) 
 

Definition at line 589 of file bcslider.C.

int BC_FSlider::increase_value  )  [virtual]
 

Reimplemented from BC_Slider.

Reimplemented in BC_PercentageSlider.

Definition at line 605 of file bcslider.C.

int BC_FSlider::init_selection int  cursor_x,
int  cursor_y
[private, virtual]
 

Reimplemented from BC_Slider.

Definition at line 621 of file bcslider.C.

void BC_FSlider::set_precision float  value  ) 
 

Definition at line 675 of file bcslider.C.

int BC_FSlider::update int  pointer_motion_range,
float  value,
float  minvalue,
float  maxvalue
 

Definition at line 576 of file bcslider.C.

int BC_FSlider::update float  value  ) 
 

Definition at line 563 of file bcslider.C.

int BC_FSlider::update_selection int  cursor_x,
int  cursor_y
[private, virtual]
 

Reimplemented from BC_Slider.

Definition at line 637 of file bcslider.C.

int BC_FSlider::value_to_pixel  )  [private, virtual]
 

Reimplemented from BC_Slider.

Definition at line 549 of file bcslider.C.


Friends And Related Function Documentation

friend class BC_PercentageSlider [friend]
 

Reimplemented from BC_Slider.

Definition at line 128 of file bcslider.h.


Member Data Documentation

float BC_FSlider::maxvalue [private]
 

Definition at line 143 of file bcslider.h.

float BC_FSlider::minvalue [private]
 

Definition at line 143 of file bcslider.h.

float BC_FSlider::precision [private]
 

Definition at line 144 of file bcslider.h.

float BC_FSlider::value [private]
 

Definition at line 143 of file bcslider.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:37 2006 for Guicast-svn by  doxygen 1.4.4