Tools::SlideBar Class Reference

#include <slidebar.h>

List of all members.

Public Member Functions

 SlideBar ()
 ~SlideBar ()
float get () const
void set (float val)
void display () const
void place (int x, int y, int width, int height, int win_width, int win_height)
bool mouse (int x, int y)
bool motion (int x, int y)
void reshape (int w, int h)


Constructor & Destructor Documentation

Tools::SlideBar::SlideBar (  ) 

Tools::SlideBar::~SlideBar (  ) 


Member Function Documentation

float Tools::SlideBar::get (  )  const

get the slide bar position (between 0..1)

void Tools::SlideBar::set ( float  val  ) 

set the slide bar position (between 0..1)

void Tools::SlideBar::display (  )  const

display the bar

void Tools::SlideBar::place ( int  x,
int  y,
int  width,
int  height,
int  win_width,
int  win_height 
)

set the slide bar size and position on the screen

bool Tools::SlideBar::mouse ( int  x,
int  y 
)

handle mouse press

bool Tools::SlideBar::motion ( int  x,
int  y 
)

handle mouse motion

void Tools::SlideBar::reshape ( int  w,
int  h 
)

reshape the slide bar


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

Generated on Tue Aug 4 17:57:43 2009 for libvd by  doxygen 1.5.5