ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes
IndicatorFrameLabel Class Reference

Deal with labels in IndicatorFrame. More...

#include <IndicatorFrame.h>

Inheritance diagram for IndicatorFrameLabel:
Inheritance graph
[legend]
Collaboration diagram for IndicatorFrameLabel:
Collaboration graph
[legend]

Public Member Functions

 IndicatorFrameLabel (const TGWindow *p, const char *label, const char *fullname, const int color)
 constructor More...
 
 ~IndicatorFrameLabel ()
 
void MakeLineLabel (std::string fullname, const int color)
 create a line with label and all buttons More...
 
Pixel_t GetColorLabel () const
 
void SetColorLabel (Pixel_t color)
 Slot when color is changed, modify the text label color. More...
 
 ClassDef (IndicatorFrameLabel, 0)
 

Private Attributes

TGLabel * flabel_indic
 simple label with indicator name, can change color of the label More...
 
Pixel_t fcolor_indic
 keep memory of the color of the associated indicator More...
 

Detailed Description

Deal with labels in IndicatorFrame.


The pad number can be retrieved by the controller, so deleted from here.

Definition at line 103 of file IndicatorFrame.h.

Constructor & Destructor Documentation

IndicatorFrameLabel::IndicatorFrameLabel ( const TGWindow *  p,
const char *  label,
const char *  fullname,
const int  color 
)

constructor

IndicatorFrameLabel::~IndicatorFrameLabel ( )

Definition at line 384 of file IndicatorFrame.cxx.

Member Function Documentation

IndicatorFrameLabel::ClassDef ( IndicatorFrameLabel  ,
 
)
Pixel_t IndicatorFrameLabel::GetColorLabel ( ) const
inline

Definition at line 125 of file IndicatorFrame.h.

References fcolor_indic.

Referenced by IndicatorFrame::HandleButtons().

Here is the caller graph for this function:

void IndicatorFrameLabel::MakeLineLabel ( std::string  fullname,
const int  color 
)

create a line with label and all buttons

Set the color

Definition at line 395 of file IndicatorFrame.cxx.

References flabel_indic, and SetColorLabel().

Here is the call graph for this function:

void IndicatorFrameLabel::SetColorLabel ( Pixel_t  color)

Slot when color is changed, modify the text label color.

Definition at line 449 of file IndicatorFrame.cxx.

References fcolor_indic, and flabel_indic.

Referenced by MakeLineLabel().

Here is the caller graph for this function:

Field Documentation

Pixel_t IndicatorFrameLabel::fcolor_indic
private

keep memory of the color of the associated indicator

Definition at line 114 of file IndicatorFrame.h.

Referenced by GetColorLabel(), and SetColorLabel().

TGLabel* IndicatorFrameLabel::flabel_indic
private

simple label with indicator name, can change color of the label

Definition at line 110 of file IndicatorFrame.h.

Referenced by MakeLineLabel(), and SetColorLabel().


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