source: trunk/MagicSoft/Mars/mtemp/mpisa/triggerdisplay/MagicTriggerButton.h@ 6066

Last change on this file since 6066 was 4918, checked in by galante, 20 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MagicTriggerButton
2#define MARS_MagicTriggerButton
3
4#ifndef MARS_MAGIC
5#include "MAGIC.h"
6#endif
7#ifndef ROOT_TClonesArray
8#include <TClonesArray.h>
9#endif
10#ifndef ROOT_TGButton
11#include <TGButton.h>
12#endif
13#ifndef ROOT_RQ_OBJECT
14//#include <RQ_OBJECT.h>
15#endif
16
17class TText;
18class TMarker;
19class TVirtualPad;
20
21class MGeomCam;
22class MHexagon;
23
24class TGMainFrame;
25class TRootEmbeddedCanvas;
26class TGWindow;
27class TGTextEntry;
28class TGTextButton;
29
30class MagicTriggerButton : public TGTextButton
31{
32private:
33 TGTextButton *fButton;
34 Long_t fValue[2];
35
36public:
37
38 MagicTriggerButton(const TGWindow *p, const char *text = "Button", Int_t id = -1,
39 GContext_t norm = GetDefaultGC()(),
40 FontStruct_t font = GetDefaultFontStruct(),
41 UInt_t option = kRaisedFrame|kDoubleBorder);
42
43 void SetValue(const Int_t cell = 0, const Int_t lut = 0);
44 void Signal(Int_t cell, Int_t lut); // *SIGNAL*
45 void Clicked(); // *SIGNAL*
46// Bool_t Connect(const char *signal, const char *receiver_class,
47// void *receiver, const char *slot);
48
49 ClassDef(MagicTriggerButton, 0) // Magic Camera Games: Reversi
50};
51
52#endif
Note: See TracBrowser for help on using the repository browser.