GuiVSlider Class Reference

#include <GuiSlider.h>

Inheritance diagram for GuiVSlider:
GuiSliderSignals GuiBase

List of all members.

Public Member Functions

 GuiVSlider (TGWindow &parent)
virtual ~GuiVSlider ()
virtual void PositionChanged ()
virtual void Pressed ()
virtual void Released ()
virtual void DoRedraw ()

Detailed Description

Definition at line 41 of file GuiSlider.h.


Constructor & Destructor Documentation

GuiVSlider::GuiVSlider ( TGWindow &  parent  ) 

Definition at line 62 of file GuiSlider.cxx.

References GuiBase::SetLayoutHints().

00063     : TGDoubleVSlider(&parent,10,kDoubleScaleBoth,-1,kVerticalFrame,
00064                       TGFrame::GetDefaultFrameBackground(),
00065                       kTRUE,kTRUE)
00066       ,GuiSliderSignals(dynamic_cast<GuiSlider*>(&parent))
00067 {
00068     this->SetLayoutHints(kLHintsExpandY);
00069 }

GuiVSlider::~GuiVSlider (  )  [virtual]

Definition at line 70 of file GuiSlider.cxx.

00071 {
00072 }


Member Function Documentation

void GuiVSlider::DoRedraw (  )  [virtual]

Definition at line 96 of file GuiSlider.cxx.

References fix_bounds().

00097 {
00098     fix_bounds(fVmin,fVmax);
00099     this->TGDoubleVSlider::DoRedraw();
00100 }

void GuiVSlider::PositionChanged (  )  [virtual]

Definition at line 74 of file GuiSlider.cxx.

References GuiSliderSignals::position_changed.

00075 {
00076 //    cerr << (void*)this << "->GuiVSlider::PositionChanged\n";
00077     this->TGDoubleVSlider::PositionChanged();
00078     position_changed();
00079 }

void GuiVSlider::Pressed (  )  [virtual]

Definition at line 80 of file GuiSlider.cxx.

References GuiSliderSignals::fSlider, GuiSliderSignals::pressed, and GuiSlider::StartCompound().

00081 {
00082 //    cerr << (void*)this << "->GuiVSlider::Pressed\n";
00083     fSlider->StartCompound();
00084     this->TGDoubleVSlider::Pressed();
00085     pressed();
00086 }

void GuiVSlider::Released (  )  [virtual]

Definition at line 87 of file GuiSlider.cxx.

References GuiSliderSignals::fSlider, GuiSliderSignals::released, and GuiSlider::StopCompound().

00088 {
00089 //    cerr << (void*)this << "->GuiVSlider::Released\n";
00090     fSlider->StopCompound();
00091     gVirtualX->GrabPointer(0, 0, 0, 0, kFALSE);  // ungrab pointer
00092     gVirtualX->Update();
00093     this->TGDoubleVSlider::Released();
00094     released();
00095 }


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

Generated on 25 Apr 2018 for loon by  doxygen 1.6.1