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 |
|
---|
17 | class TText;
|
---|
18 | class TMarker;
|
---|
19 | class TVirtualPad;
|
---|
20 |
|
---|
21 | class MGeomCam;
|
---|
22 | class MHexagon;
|
---|
23 |
|
---|
24 | class TGMainFrame;
|
---|
25 | class TRootEmbeddedCanvas;
|
---|
26 | class TGWindow;
|
---|
27 | class TGTextEntry;
|
---|
28 | class TGTextButton;
|
---|
29 |
|
---|
30 | class MagicTriggerButton : public TGTextButton
|
---|
31 | {
|
---|
32 | private:
|
---|
33 | TGTextButton *fButton;
|
---|
34 | Long_t fValue[2];
|
---|
35 |
|
---|
36 | public:
|
---|
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.