rasdaman complete source
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
rviewSpecialSlider Class Reference

#include <rviewUtils.hh>

Inheritance diagram for rviewSpecialSlider:

Public Member Functions

 rviewSpecialSlider (rviewFrame *logParent, wxPanel *parent, int val, int min, int max, int width=-1, const char *label=NULL)
 
 ~rviewSpecialSlider (void)
 
int GetMax (void) const
 
int GetMin (void) const
 
int GetValue (void) const
 
void SetRange (int min, int max)
 
void SetValue (int val)
 
bool PositionInWell (float posx, float posy)
 
virtual void SetLabel (const char *label)
 
virtual void OnPaint (void)
 
virtual void OnEvent (wxMouseEvent &mevt)
 

Protected Member Functions

void getWellVert (int &y0, int &y1)
 
void getBarParams (float &posx, float &posy, float &height)
 
int calcNewValue (float posx, float posy, int &val, bool checky=FALSE)
 
void redrawCore (float x, float y, float bheight)
 
void getUpdateInterval (float oldx, float newx, float &clipx, float &clipw)
 
void updateWell (float oldx, float newx, float posy, float bheight)
 

Protected Attributes

wxColour background
 
wxColour foreground
 
wxColour wellground
 
wxColour outline
 
wxColour labelColour
 
wxBrush bback
 
wxBrush bfore
 
wxBrush bwell
 
wxPen outlinePen
 
wxFont labelFont
 
int border
 
int barwidth
 
int barheight
 
int value
 
int vmin
 
int vmax
 
int cwidth
 
int cheight
 
float textx
 
float texty
 
DynamicString myLabel
 
rviewFramelogicalParent
 

Static Protected Attributes

static const int dflt_width
 
static const int dflt_height
 
static const int dflt_border
 
static const int dflt_barwidth
 
static const int dflt_barheight
 

Constructor & Destructor Documentation

rviewSpecialSlider::rviewSpecialSlider ( rviewFrame logParent,
wxPanel *  parent,
int  val,
int  min,
int  max,
int  width = -1,
const char *  label = NULL 
)
rviewSpecialSlider::~rviewSpecialSlider ( void  )

Member Function Documentation

int rviewSpecialSlider::calcNewValue ( float  posx,
float  posy,
int &  val,
bool  checky = FALSE 
)
protected
void rviewSpecialSlider::getBarParams ( float &  posx,
float &  posy,
float &  height 
)
protected
int rviewSpecialSlider::GetMax ( void  ) const
int rviewSpecialSlider::GetMin ( void  ) const
void rviewSpecialSlider::getUpdateInterval ( float  oldx,
float  newx,
float &  clipx,
float &  clipw 
)
protected
int rviewSpecialSlider::GetValue ( void  ) const
void rviewSpecialSlider::getWellVert ( int &  y0,
int &  y1 
)
protected
virtual void rviewSpecialSlider::OnEvent ( wxMouseEvent &  mevt)
virtual
virtual void rviewSpecialSlider::OnPaint ( void  )
virtual
bool rviewSpecialSlider::PositionInWell ( float  posx,
float  posy 
)
void rviewSpecialSlider::redrawCore ( float  x,
float  y,
float  bheight 
)
protected
virtual void rviewSpecialSlider::SetLabel ( const char *  label)
virtual
void rviewSpecialSlider::SetRange ( int  min,
int  max 
)
void rviewSpecialSlider::SetValue ( int  val)
void rviewSpecialSlider::updateWell ( float  oldx,
float  newx,
float  posy,
float  bheight 
)
protected

Member Data Documentation

wxColour rviewSpecialSlider::background
protected
int rviewSpecialSlider::barheight
protected
int rviewSpecialSlider::barwidth
protected
wxBrush rviewSpecialSlider::bback
protected
wxBrush rviewSpecialSlider::bfore
protected
int rviewSpecialSlider::border
protected
wxBrush rviewSpecialSlider::bwell
protected
int rviewSpecialSlider::cheight
protected
int rviewSpecialSlider::cwidth
protected
const int rviewSpecialSlider::dflt_barheight
staticprotected
const int rviewSpecialSlider::dflt_barwidth
staticprotected
const int rviewSpecialSlider::dflt_border
staticprotected
const int rviewSpecialSlider::dflt_height
staticprotected
const int rviewSpecialSlider::dflt_width
staticprotected
wxColour rviewSpecialSlider::foreground
protected
wxColour rviewSpecialSlider::labelColour
protected
wxFont rviewSpecialSlider::labelFont
protected
rviewFrame* rviewSpecialSlider::logicalParent
protected
DynamicString rviewSpecialSlider::myLabel
protected
wxColour rviewSpecialSlider::outline
protected
wxPen rviewSpecialSlider::outlinePen
protected
float rviewSpecialSlider::textx
protected
float rviewSpecialSlider::texty
protected
int rviewSpecialSlider::value
protected
int rviewSpecialSlider::vmax
protected
int rviewSpecialSlider::vmin
protected
wxColour rviewSpecialSlider::wellground
protected

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