Last change
on this file since 37 was 37, checked in by ansari, 29 years ago |
- Amelioration gestion couleurs ds picmapx.cc + Gestion d'Elts graphique ds
pipixmapgen.cc,.h , remplacement de GetXmString par fonction CStrFrXmStr()
- Gestion de fenetre d'image totale ds piimage.cc piimage.h
- Raccourci clavier pour les menus - PIMsg_Resize et PIMsg_Drop (pimsghandler.h)
- Gestion de sens d'axe (X ou Y) et Position Click ds piscdrawwdg.cc,.h
- + Petites corrections de bug, amelioration Reza 24/02/97
|
File size:
1.4 KB
|
Rev | Line | |
---|
[37] | 1 | #ifndef PISTLIST_H
|
---|
| 2 | #define PISTLIST_H
|
---|
| 3 |
|
---|
| 4 |
|
---|
| 5 | #include "piscdrawwdg.h"
|
---|
| 6 | #include "stlist.h"
|
---|
| 7 |
|
---|
| 8 | class PIStarList : public PIScDrawer {
|
---|
| 9 | public:
|
---|
| 10 | PIStarList(StarList* stl, bool ayud=true);
|
---|
| 11 | virtual ~PIStarList();
|
---|
| 12 |
|
---|
| 13 | virtual void Draw();
|
---|
| 14 | virtual void Refresh(); // Recalcule les limites, et reaffiche
|
---|
| 15 |
|
---|
| 16 | inline void SetAutoDelStList(bool ad=false) { mAdelStl = ad; }
|
---|
| 17 | void SetFluxLimits(float min=1., float max=-1., int nl=5,
|
---|
| 18 | int msz0=0, bool refr=false);
|
---|
| 19 | void SetXYLimits(float xmin=1., float xmax=-1., float ymin=1., float ymax=-1.,
|
---|
| 20 | bool dfv=false, bool refr=false);
|
---|
| 21 |
|
---|
| 22 | inline StarList* StList() { return(mStL); }
|
---|
| 23 | inline float XMin() { return(mXMin); }
|
---|
| 24 | inline float XMax() { return(mXMax); }
|
---|
| 25 | inline float YMin() { return(mYMin); }
|
---|
| 26 | inline float YMax() { return(mYMax); }
|
---|
| 27 | inline float FluxMin() { return(mFmin); }
|
---|
| 28 | inline float FluxMax() { return(mFmax); }
|
---|
| 29 |
|
---|
| 30 | protected:
|
---|
| 31 | StarList* mStL;
|
---|
| 32 | bool mAdelStl;
|
---|
| 33 | float mFmin, mFmax;
|
---|
| 34 | int mNLev, mMSz0;
|
---|
| 35 | double mF0, mDLgF;
|
---|
| 36 | float mXMin, mXMax;
|
---|
| 37 | float mYMin, mYMax;
|
---|
| 38 | bool mDspFV;
|
---|
| 39 | bool mAYdir;
|
---|
| 40 |
|
---|
| 41 | virtual void AttachTo(PIScDrawWdg*);
|
---|
| 42 | virtual void UpdateSize();
|
---|
| 43 | };
|
---|
| 44 |
|
---|
| 45 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.