64 out <<
" TGHorizontal3DLine *" <<
GetName() <<
" = new TGHorizontal3DLine(" <<
fParent->GetName()
67 if (option && strstr(option,
"keep_names"))
68 out <<
" " <<
GetName() <<
"->SetName(\"" <<
GetName() <<
"\");\n";
99 out <<
" TGVertical3DLine *" <<
GetName() <<
" = new TGVertical3DLine(" <<
fParent->GetName() <<
"," <<
GetWidth()
100 <<
"," <<
GetHeight() << extra_args <<
");\n";
102 if (option && strstr(option,
"keep_names"))
103 out <<
" " <<
GetName() <<
"->SetName(\"" <<
GetName() <<
"\");\n";
ULong_t Pixel_t
Pixel value.
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
const char Option_t
Option string (const char).
TGFrame(const TGFrame &)=delete
UInt_t fHeight
frame height
static const TGGC & GetHilightGC()
Get highlight color graphics context.
static const TGGC & GetShadowGC()
Get shadow color graphics context.
TString SaveCtorArgs(std::ostream &out, UInt_t dflt_options=kChildFrame, Bool_t check_white_pixel=kFALSE)
Return options and custom color as constructor args Used in the SavePrimitive methods,...
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save an vertical 3D line as a C++ statement(s) on output stream out.
void DrawBorder() override
draw border
TGHorizontal3DLine(const TGWindow *p=nullptr, UInt_t w=4, UInt_t h=2, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
constructor
Handle_t fId
X11/Win32 Window identifier.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save an vertical 3D line as a C++ statement(s) on output stream out.
void DrawBorder() override
draw border
TGVertical3DLine(const TGWindow *p=nullptr, UInt_t w=2, UInt_t h=4, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
constructor
const TGWindow * fParent
Parent window.
@ kEditDisableHeight
window height cannot be edited
@ kEditDisableWidth
window width cannot be edited
virtual void SetWindowName(const char *name=nullptr)
Set window name.
const char * GetName() const override
Return unique name, used in SavePrimitive methods.
UInt_t fEditDisabled
flags used for "guibuilding"