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

BC_Slider Class Reference

#include <bcslider.h>

Inheritance diagram for BC_Slider:

BC_SubWindow BC_WindowBase BC_RelocatableWidget BC_FSlider BC_ISlider BC_PercentageSlider List of all members.

Public Member Functions

 BC_Slider (int x, int y, int pixels, int pointer_motion_range, VFrame **images, int show_number, int vertical, int use_caption)
virtual ~BC_Slider ()
virtual int handle_event ()
int initialize ()
int get_button_pixels ()
virtual int value_to_pixel ()
int keypress_event ()
int cursor_enter_event ()
int cursor_leave_event ()
int button_press_event ()
int button_release_event ()
int get_pointer_motion_range ()
int cursor_motion_event ()
int repeat_event (int64_t repeat_id)
int reposition_window (int x, int y, int w=-1, int h=-1)
int activate ()
int deactivate ()
virtual int increase_value ()
virtual int decrease_value ()
virtual char * get_caption ()

Static Public Member Functions

static int get_span (int vertical)

Private Member Functions

virtual int init_selection (int cursor_x, int cursor_y)
virtual int update_selection (int cursor_x, int cursor_y)
int set_images (VFrame **images)
int draw_face ()
void show_value_tooltip ()

Private Attributes

VFrame ** images
BC_Pixmap ** pixmaps
int show_number
int vertical
int pointer_motion_range
int pixels
int keypress_tooltip_timer
int button_pixel
int status
int button_down
int min_pixel
int max_pixel
int text_line
int text_height
int use_caption
char caption [BCTEXTLEN]
char temp_tooltip_text [BCTEXTLEN]
int active
int enabled

Friends

class BC_ISlider
class BC_FSlider
class BC_PercentageSlider

Detailed Description

Definition at line 11 of file bcslider.h.


Constructor & Destructor Documentation

BC_Slider::BC_Slider int  x,
int  y,
int  pixels,
int  pointer_motion_range,
VFrame **  images,
int  show_number,
int  vertical,
int  use_caption
 

Definition at line 17 of file bcslider.C.

BC_Slider::~BC_Slider  )  [virtual]
 

Definition at line 46 of file bcslider.C.


Member Function Documentation

int BC_Slider::activate  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 265 of file bcslider.C.

int BC_Slider::button_press_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 271 of file bcslider.C.

int BC_Slider::button_release_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 311 of file bcslider.C.

int BC_Slider::cursor_enter_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 235 of file bcslider.C.

int BC_Slider::cursor_leave_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 248 of file bcslider.C.

int BC_Slider::cursor_motion_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 329 of file bcslider.C.

int BC_Slider::deactivate  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 259 of file bcslider.C.

virtual int BC_Slider::decrease_value  )  [inline, virtual]
 

Reimplemented in BC_ISlider, BC_FSlider, and BC_PercentageSlider.

Definition at line 46 of file bcslider.h.

int BC_Slider::draw_face  )  [private]
 

Definition at line 97 of file bcslider.C.

int BC_Slider::get_button_pixels  ) 
 

Definition at line 147 of file bcslider.C.

virtual char* BC_Slider::get_caption  )  [inline, virtual]
 

Reimplemented in BC_ISlider, BC_FSlider, and BC_PercentageSlider.

Definition at line 47 of file bcslider.h.

int BC_Slider::get_pointer_motion_range  ) 
 

Definition at line 355 of file bcslider.C.

int BC_Slider::get_span int  vertical  )  [static]
 

Definition at line 85 of file bcslider.C.

virtual int BC_Slider::handle_event  )  [inline, virtual]
 

Reimplemented in BC_ISlider.

Definition at line 28 of file bcslider.h.

virtual int BC_Slider::increase_value  )  [inline, virtual]
 

Reimplemented in BC_ISlider, BC_FSlider, and BC_PercentageSlider.

Definition at line 45 of file bcslider.h.

virtual int BC_Slider::init_selection int  cursor_x,
int  cursor_y
[inline, private, virtual]
 

Reimplemented in BC_ISlider, and BC_FSlider.

Definition at line 59 of file bcslider.h.

int BC_Slider::initialize  )  [virtual]
 

Reimplemented from BC_SubWindow.

Definition at line 55 of file bcslider.C.

int BC_Slider::keypress_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 200 of file bcslider.C.

int BC_Slider::repeat_event int64_t  repeat_id  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 162 of file bcslider.C.

int BC_Slider::reposition_window int  x,
int  y,
int  w = -1,
int  h = -1
 

Reimplemented from BC_WindowBase.

Definition at line 346 of file bcslider.C.

int BC_Slider::set_images VFrame **  images  )  [private]
 

Definition at line 137 of file bcslider.C.

void BC_Slider::show_value_tooltip  )  [private]
 

Definition at line 153 of file bcslider.C.

virtual int BC_Slider::update_selection int  cursor_x,
int  cursor_y
[inline, private, virtual]
 

Reimplemented in BC_ISlider, and BC_FSlider.

Definition at line 60 of file bcslider.h.

virtual int BC_Slider::value_to_pixel  )  [inline, virtual]
 

Reimplemented in BC_ISlider, and BC_FSlider.

Definition at line 33 of file bcslider.h.


Friends And Related Function Documentation

friend class BC_FSlider [friend]
 

Definition at line 25 of file bcslider.h.

friend class BC_ISlider [friend]
 

Definition at line 24 of file bcslider.h.

friend class BC_PercentageSlider [friend]
 

Reimplemented in BC_FSlider.

Definition at line 26 of file bcslider.h.


Member Data Documentation

int BC_Slider::active [private]
 

Definition at line 77 of file bcslider.h.

int BC_Slider::button_down [private]
 

Reimplemented from BC_WindowBase.

Definition at line 71 of file bcslider.h.

int BC_Slider::button_pixel [private]
 

Definition at line 69 of file bcslider.h.

char BC_Slider::caption[BCTEXTLEN] [private]
 

Definition at line 75 of file bcslider.h.

int BC_Slider::enabled [private]
 

Definition at line 78 of file bcslider.h.

VFrame** BC_Slider::images [private]
 

Definition at line 65 of file bcslider.h.

int BC_Slider::keypress_tooltip_timer [private]
 

Definition at line 68 of file bcslider.h.

int BC_Slider::max_pixel [private]
 

Definition at line 72 of file bcslider.h.

int BC_Slider::min_pixel [private]
 

Definition at line 72 of file bcslider.h.

int BC_Slider::pixels [private]
 

Definition at line 67 of file bcslider.h.

BC_Pixmap** BC_Slider::pixmaps [private]
 

Definition at line 66 of file bcslider.h.

int BC_Slider::pointer_motion_range [private]
 

Definition at line 67 of file bcslider.h.

int BC_Slider::show_number [private]
 

Definition at line 67 of file bcslider.h.

int BC_Slider::status [private]
 

Definition at line 70 of file bcslider.h.

char BC_Slider::temp_tooltip_text[BCTEXTLEN] [private]
 

Definition at line 76 of file bcslider.h.

int BC_Slider::text_height [private]
 

Definition at line 73 of file bcslider.h.

int BC_Slider::text_line [private]
 

Definition at line 73 of file bcslider.h.

int BC_Slider::use_caption [private]
 

Definition at line 74 of file bcslider.h.

int BC_Slider::vertical [private]
 

Definition at line 67 of file bcslider.h.


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