Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ndk::scroll_line< T > Class Template Reference

Inheritance diagram for ndk::scroll_line< T >:

Inheritance graph
[legend]
Collaboration diagram for ndk::scroll_line< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 scroll_line (unsigned int max=100, panel *parent=0)
void set_max (unsigned int max)
unsigned int value () const
void set (unsigned int val)
void up ()
void down ()
virtual void draw ()
void resize (unsigned int size)

Private Member Functions

void update_slider_pos ()

Private Attributes

unsigned int max_
unsigned int value_
slider slider_

Detailed Description

template<class T>
class ndk::scroll_line< T >

This widget provides scrolling line with slider and without additional buttons This is a general template both for horizontal and vertical directions


Constructor & Destructor Documentation

template<class T>
ndk::scroll_line< T >::scroll_line unsigned int  max = 100,
panel parent = 0
[inline]
 


Member Function Documentation

template<class T>
void ndk::scroll_line< T >::down  )  [inline]
 

template<class T>
virtual void ndk::scroll_line< T >::draw  )  [inline, virtual]
 

specific version of draw, specially for NDK engine

Reimplemented from ndk::panel.

template<class T>
void ndk::scroll_line< T >::resize unsigned int  size  )  [inline]
 

special resize, to resize scroller in more easy way

template<class T>
void ndk::scroll_line< T >::set unsigned int  val  )  [inline]
 

template<class T>
void ndk::scroll_line< T >::set_max unsigned int  max  )  [inline]
 

template<class T>
void ndk::scroll_line< T >::up  )  [inline]
 

template<class T>
void ndk::scroll_line< T >::update_slider_pos  )  [inline, private]
 

template<class T>
unsigned int ndk::scroll_line< T >::value  )  const [inline]
 


Member Data Documentation

template<class T>
unsigned int ndk::scroll_line< T >::max_ [private]
 

maximum possible value

template<class T>
slider ndk::scroll_line< T >::slider_ [private]
 

slider on the line

template<class T>
unsigned int ndk::scroll_line< T >::value_ [private]
 

current internal value


The documentation for this class was generated from the following file:
Generated on Fri Jun 4 16:21:01 2004 for NDK++ by doxygen 1.3.6