Last change
on this file since 71 was 71, checked in by ansari, 28 years ago |
Version non completement debugge avec les PIGraphic Reza 12/02/98
|
File size:
1.3 KB
|
Line | |
---|
1 | #ifndef PIBWDGX_H_SEEN
|
---|
2 | #define PIBWDGX_H_SEEN
|
---|
3 |
|
---|
4 | #include "pisysdep.h"
|
---|
5 | #include "pibwdggen.h"
|
---|
6 |
|
---|
7 | #include "pigraphx.h"
|
---|
8 | #include "pigraphps.h"
|
---|
9 |
|
---|
10 | class PIBaseWdgX : public PIBaseWdgGen
|
---|
11 | {
|
---|
12 |
|
---|
13 | public:
|
---|
14 | // Les methodes ...
|
---|
15 |
|
---|
16 | PIBaseWdgX(PIContainerGen *par, char *nom,
|
---|
17 | int sx=10, int sy=10, int px=0, int py=0);
|
---|
18 | virtual ~PIBaseWdgX();
|
---|
19 |
|
---|
20 | virtual void FinishCreate(); // appele par la fenetre mere, apres XtRealize()
|
---|
21 |
|
---|
22 | // Activation des evenements
|
---|
23 | virtual void ActivatePtrCross();
|
---|
24 | virtual void ActivateButton(int bid);
|
---|
25 | virtual void ActivateMove(int bid);
|
---|
26 | virtual void ActivateKeyboard();
|
---|
27 |
|
---|
28 | // Divers : couleur de fond, Effacement fenetre, forme de la souris
|
---|
29 | virtual void SetBackgroundColor(PIColors col=PI_White);
|
---|
30 | virtual void EraseWindow(int x0=0, int y0=0, int dx=0, int dy=0);
|
---|
31 | virtual void SelPointerShape(PIPointer ptr=PI_ArrowPointer);
|
---|
32 | virtual PIColors GetBackgroundColor();
|
---|
33 | virtual PIPointer GetPointerShape();
|
---|
34 |
|
---|
35 | // Appel depuis le PIXtBaseWidget uniquement (ExposeEvt de Xt )
|
---|
36 | virtual void eXposeProcess(int x0, int y0, int dx, int dy);
|
---|
37 |
|
---|
38 | protected:
|
---|
39 | void Init();
|
---|
40 | PIPointer mPtrS;
|
---|
41 | PIColors mBCol;
|
---|
42 | };
|
---|
43 |
|
---|
44 | typedef PIBaseWdgX PIBaseWdg;
|
---|
45 |
|
---|
46 | #endif /* PIBWDGX_H_SEEN */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.