|
ROOT_Application
2.0
C++ Core modules and GUIStock
|
Deal with labels in IndicatorFrame. More...
#include <IndicatorFrame.h>


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... | |
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.
| 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.
| IndicatorFrameLabel::ClassDef | ( | IndicatorFrameLabel | , |
| 0 | |||
| ) |
|
inline |
Definition at line 125 of file IndicatorFrame.h.
References fcolor_indic.
Referenced by IndicatorFrame::HandleButtons().

| 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().

| 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().

|
private |
keep memory of the color of the associated indicator
Definition at line 114 of file IndicatorFrame.h.
Referenced by GetColorLabel(), and SetColorLabel().
|
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().
1.8.6