GuiHSlider Class Reference

#include <GuiSlider.h>

Inheritance diagram for GuiHSlider:
GuiSliderSignals GuiBase

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 56 of file GuiSlider.h.


Constructor & Destructor Documentation

GuiHSlider::GuiHSlider ( TGWindow &  parent  ) 

Definition at line 6 of file GuiSlider.cxx.

References GuiBase::SetLayoutHints().

00007     : TGDoubleHSlider(&parent,10,kDoubleScaleBoth,-1,kHorizontalFrame,
00008                       TGFrame::GetDefaultFrameBackground(),
00009                       kFALSE,kTRUE)
00010     ,GuiSliderSignals(dynamic_cast<GuiSlider*>(&parent))
00011 {
00012 //    cerr << "TGDoubleHSlider ctor, fWidth="<< fWidth<<"\n";
00013     this->SetLayoutHints(kLHintsExpandX);
00014 }

GuiHSlider::~GuiHSlider (  )  [virtual]

Definition at line 15 of file GuiSlider.cxx.

00016 {
00017 }


Member Function Documentation

void GuiHSlider::DoRedraw (  )  [virtual]

Definition at line 56 of file GuiSlider.cxx.

References fix_bounds().

00057 {
00058     fix_bounds(fVmin,fVmax);
00059     this->TGDoubleHSlider::DoRedraw();
00060 }

void GuiHSlider::PositionChanged (  )  [virtual]

Definition at line 19 of file GuiSlider.cxx.

References GuiSliderSignals::position_changed.

00020 {
00021 //    cerr << (void*)this << "->GuiHSlider::PositionChanged\n";
00022     this->TGDoubleHSlider::PositionChanged();
00023     position_changed();
00024 }

void GuiHSlider::Pressed (  )  [virtual]

Definition at line 25 of file GuiSlider.cxx.

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

00026 {
00027 //    cerr << (void*)this << "->GuiHSlider::Pressed\n";
00028     fSlider->StartCompound();
00029     this->TGDoubleHSlider::Pressed();
00030     pressed();
00031 }

void GuiHSlider::Released (  )  [virtual]

Definition at line 32 of file GuiSlider.cxx.

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

00033 {
00034 //    cerr << (void*)this << "->GuiHSlider::Released\n";
00035     fSlider->StopCompound();
00036     gVirtualX->GrabPointer(0, 0, 0, 0, kFALSE);  // ungrab pointer
00037     gVirtualX->Update();
00038     this->TGDoubleHSlider::Released();
00039     released();
00040 }


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

Generated on 11 Jan 2018 for loon by  doxygen 1.6.1