forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathGTitleFrame.h
More file actions
54 lines (43 loc) · 2.16 KB
/
GTitleFrame.h
File metadata and controls
54 lines (43 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Author: Bertrand Bellenot 22/08/02
/*************************************************************************
* Copyright (C) 1995-2002, Bertrand Bellenot. *
* All rights reserved. *
* *
* For the licensing terms see the LICENSE file. *
*************************************************************************/
//////////////////////////////////////////////////////////////////////////
// //
// GTitleFrame //
// //
// This File contains the declaration of the GTitleFrame-class for //
// the RootShower application //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef GTITLEFRAME_H
#define GTITLEFRAME_H
#include "TGFrame.h"
class TGLabel;
class TGButton;
class TGPicture;
class TGIcon;
class GTitleFrame: public TGCompositeFrame {
private:
TGLayoutHints *fRightLogoLayout; // Right logo layout
TGLayoutHints *fLeftLogoLayout; // Left logo layout
TGPicture *fRightIconPicture; // Right icon's picture
TGIcon *fRightIcon; // Right icon (logo)
TGPicture *fLeftIconPicture; // Left icon's picture
TGIcon *fLeftIcon; // Right icon (logo)
TGLayoutHints *fTextFrameLayout;
TGCompositeFrame *fTextFrame;
TGLayoutHints *fTextLabelLayout;
TGLabel *fTextLabel1; // First line title's label
TGLabel *fTextLabel2; // Second line title's label
public:
// Constructor & destructor
GTitleFrame(const TGWindow *p, const char *mainText, const char *subText,
UInt_t w, UInt_t h, UInt_t options = kHorizontalFrame | kRaisedFrame);
void ChangeRightLogo(Int_t frame);
~GTitleFrame() override;
};
#endif // GTITLEFRAME_H