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

sjgui::CPanelCtrlTmpl< Tslider, Tbase > Class Template Reference

Panel for organization of controls into groups. More...

#include <panel.h>

Inheritance diagram for sjgui::CPanelCtrlTmpl< Tslider, Tbase >:

sjgui::classic::CPanelTmpl< Tslider, Tbase > sjgui::CStackPanelCtrlTmpl< Tslider, Tbase > sjgui::modern::CPanelTmpl< Tslider, Tbase > sjgui::classic::CStackPanelTmpl< Tslider, Tbase > sjgui::CSqueezePanelCtrlTmpl< Tslider, Tbase > sjgui::modern::CStackPanelTmpl< Tslider, Tbase > sjgui::classic::CSqueezePanelTmpl< Tslider, Tbase > sjgui::modern::CSqueezePanelTmpl< Tslider, Tbase > List of all members.

Public Member Functions

virtual void OnReshape ()
 Reshapes all children properly.

virtual void Draw ()
 Clips children outside the window.

void EnableScrlBars (bool h=true, bool v=true)
 Enables/disables ability to show scroll bars.

bool IsVScrlBarVisible ()
 Returns status of the vertical scroll bar.

bool IsHScrlBarVisible ()
 Returns status of the horizontal scroll bar.

virtual void OnKeyUp (int &iKey)
 Control slider actions.

virtual CWndGetFirstChild ()
 Skipps slider controls.

virtual CWndGetNextChild (CWnd *pWnd)
 Skipps slider controls.

virtual CWndGetLastChild ()
 Skipps slider controls.

virtual CWndGetPrevChild (CWnd *pWnd)
 Skipps slider controls.


Protected Attributes

Tslider m_VScrlBar
 Vertical slider.

Tslider m_HScrlBar
 Horizontal slider.


Detailed Description

template<class Tslider, class Tbase>
class sjgui::CPanelCtrlTmpl< Tslider, Tbase >

Panel for organization of controls into groups.

Parameters:
Tslider - sliders (use CSlider)
Tbase - sliders (use CWndCtrl) Helps with reshaping elements, also group of elements can be hidden/shown by one call. If a child window is outside the area, it will be cropped. If scrollers are enabled, (EnableSliders()) and child window is outside the area, there will be sliders to give you acess to hidden areas. Default behaviour is with enabled sliders.
Author:
Alexander Shyrokov
Version:
Revision
1.1.1.1


Member Function Documentation

template<class Tslider, class Tbase>
void sjgui::CPanelCtrlTmpl< Tslider, Tbase >::Draw  )  [inline, virtual]
 

Clips children outside the window.

template<class Tslider, class Tbase>
void sjgui::CPanelCtrlTmpl< Tslider, Tbase >::EnableScrlBars bool  h = true,
bool  v = true
[inline]
 

Enables/disables ability to show scroll bars.

Should call Reshape() to take an effect.


The documentation for this class was generated from the following file:
sjgui logo
Quick Links:

 News
 Description
 Screen Shots
 Projects
 Downloads
 Source Code
 Help/FAQ
 Want to help?
 Credits
 Disclaimer


Documentation:

 Documentation
 Reference
 Lessons


Useful links:

sjcomp logo
sjcomp

opengl logo

nehe logo

SourceForge.net Logo

Last modified:


Started by Alexander Shyrokov. Generated at Wed Apr 28 12:31:06 2004 for the sjgui by doxygen 1.3.1. SourceForge.net Logo