2#include "BesVisLib/BesGMenuTitle.h"
8 GContext_t norm, FontStruct_t font, UInt_t options)
9 : TGMenuTitle(p,
s, menu, norm, font, options)
22 int x, y, max_ascent, max_descent;
25 gVirtualX->GetFontProperties(fFontStruct, max_ascent, max_descent);
29 else SetBackgroundColor(GetDefaultSelectedBackground());
30 gVirtualX->ClearWindow(fId);
31 fLabel->Draw(fId, fSelGC,
x, y + max_ascent);
34 else SetBackgroundColor(GetDefaultFrameBackground());
35 gVirtualX->ClearWindow(fId);
36 fLabel->Draw(fId, fNormGC,
x, y + max_ascent);