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
|
Rev | Line | |
---|
[2] | 1 | #ifndef PIBWDGX_H_SEEN
|
---|
| 2 | #define PIBWDGX_H_SEEN
|
---|
| 3 |
|
---|
| 4 | #include "pisysdep.h"
|
---|
| 5 | #include "pibwdggen.h"
|
---|
| 6 |
|
---|
[71] | 7 | #include "pigraphx.h"
|
---|
| 8 | #include "pigraphps.h"
|
---|
[2] | 9 |
|
---|
| 10 | class PIBaseWdgX : public PIBaseWdgGen
|
---|
| 11 | {
|
---|
| 12 |
|
---|
| 13 | public:
|
---|
| 14 | // Les methodes ...
|
---|
| 15 |
|
---|
[71] | 16 | PIBaseWdgX(PIContainerGen *par, char *nom,
|
---|
| 17 | int sx=10, int sy=10, int px=0, int py=0);
|
---|
| 18 | virtual ~PIBaseWdgX();
|
---|
[2] | 19 |
|
---|
[71] | 20 | virtual void FinishCreate(); // appele par la fenetre mere, apres XtRealize()
|
---|
[2] | 21 |
|
---|
[61] | 22 | // Activation des evenements
|
---|
[71] | 23 | virtual void ActivatePtrCross();
|
---|
| 24 | virtual void ActivateButton(int bid);
|
---|
| 25 | virtual void ActivateMove(int bid);
|
---|
| 26 | virtual void ActivateKeyboard();
|
---|
[61] | 27 |
|
---|
[71] | 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();
|
---|
[11] | 33 | virtual PIPointer GetPointerShape();
|
---|
| 34 |
|
---|
[71] | 35 | // Appel depuis le PIXtBaseWidget uniquement (ExposeEvt de Xt )
|
---|
| 36 | virtual void eXposeProcess(int x0, int y0, int dx, int dy);
|
---|
| 37 |
|
---|
[2] | 38 | protected:
|
---|
[71] | 39 | void Init();
|
---|
[11] | 40 | PIPointer mPtrS;
|
---|
[71] | 41 | PIColors mBCol;
|
---|
[2] | 42 | };
|
---|
| 43 |
|
---|
| 44 | typedef PIBaseWdgX PIBaseWdg;
|
---|
| 45 |
|
---|
| 46 | #endif /* PIBWDGX_H_SEEN */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.