#include <XSPeriodicTable.h>
Inheritance diagram for XSPeriodicTable:

Public Member Functions | |
| XSPeriodicTable (const TGWindow *msgWnd, const TGWindow *p, UInt_t w, UInt_t h) | |
| virtual | ~XSPeriodicTable () |
| virtual void | SelectZ (ULong_t Z) |
| virtual void | Layout () |
| virtual TGDimension | GetDefaultSize () const |
Private Attributes | |
| Int_t | width |
| Int_t | height |
| TGFrame * | elem [XSPTBL_ROWS][XSPTBL_COLS] |
Definition at line 47 of file XSPeriodicTable.h.
| XSPeriodicTable::XSPeriodicTable | ( | const TGWindow * | msgWnd, | |
| const TGWindow * | p, | |||
| UInt_t | w, | |||
| UInt_t | h | |||
| ) |
Definition at line 185 of file XSPeriodicTable.cxx.
References TGFrame::ChangeBackground(), colorName, colorPixels, COLORS, colsum, colwidth, ecolor, elem, gClient, TGClient::GetColorByName(), height, i, j, NULL, ptable, rowheight, rowsum, val, width, XSPTBL_COLS, and XSPTBL_ROWS.
| XSPeriodicTable::~XSPeriodicTable | ( | ) | [virtual] |
Definition at line 227 of file XSPeriodicTable.cxx.
References elem, i, j, XSPTBL_COLS, and XSPTBL_ROWS.
| void XSPeriodicTable::SelectZ | ( | ULong_t | Z | ) | [virtual] |
Definition at line 304 of file XSPeriodicTable.cxx.
References TGFrame::ChangeBackground(), colorPixels, elem, i, j, ptable, XSPTBL_COLS, and XSPTBL_ROWS.
Referenced by XSElementDlg::XSElementDlg().
| void XSPeriodicTable::Layout | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 237 of file XSPeriodicTable.cxx.
References colsum, colwidth, elem, TGFrame::fBorderWidth, TGFrame::GetHeight(), TGFrame::GetWidth(), h, i, j, TGCompositeFrame::Layout(), TGFrame::MapWindow(), TGFrame::MoveResize(), rowheight, rowsum, w, XSPTBL_COLS, and XSPTBL_ROWS.
| virtual TGDimension XSPeriodicTable::GetDefaultSize | ( | ) | const [inline, virtual] |
Int_t XSPeriodicTable::width [private] |
Definition at line 50 of file XSPeriodicTable.h.
Referenced by GetDefaultSize(), and XSPeriodicTable().
Int_t XSPeriodicTable::height [private] |
Definition at line 50 of file XSPeriodicTable.h.
Referenced by GetDefaultSize(), and XSPeriodicTable().
TGFrame* XSPeriodicTable::elem[XSPTBL_ROWS][XSPTBL_COLS] [private] |
Definition at line 51 of file XSPeriodicTable.h.
Referenced by Layout(), SelectZ(), XSPeriodicTable(), and ~XSPeriodicTable().
1.5.1