Changeset 913 for trunk/MagicSoft/Cosy/gui/MGCosy.cc
- Timestamp:
- 08/23/01 14:40:17 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/MGCosy.cc
r912 r913 9 9 #include <TSystem.h> // gSystem 10 10 #include <TGLabel.h> // TGLabel 11 #include <TG Splitter.h> // TGHorizontal3DLine11 #include <TG3DLine.h> // TGHorizontal3DLine (TGSplitter) 12 12 #include <TApplication.h> // gApplication 13 13 … … 19 19 #include "MGCoordinates.h" 20 20 #include "MGSkyPosition.h" 21 #include "MGVelocity.h" 21 22 22 23 #include "SlaStars.h" … … 156 157 fList->Add(fCoord); 157 158 158 fAccuracy = new MGAccuracy(this, 200, 200); 159 fAccuracy->Move(320, 260); 160 fList->Add(fAccuracy); 161 162 fSkyPosition = new MGSkyPosition(this, 200, 200); 159 fSkyPosition = new MGSkyPosition(this, 300); 163 160 fSkyPosition->Move(320, 40); 164 161 fList->Add(fSkyPosition); 165 162 163 fAccuracy = new MGAccuracy(this, 300); 164 fAccuracy->Move(320, 360); 165 fList->Add(fAccuracy); 166 167 fVelocity = new MGVelocity(this, "Velocity ['/min]", 300); 168 fVelocity->Move(10, 360); 169 fList->Add(fVelocity); 170 171 fOffset = new MGVelocity(this, "Offset se-re [']", 300); 172 fOffset->Move(630, 360); 173 fList->Add(fOffset); 174 166 175 // 167 176 // Map the window, set up the layout, etc. 168 177 // 169 SetWMSizeHints(550, 500, 550, 500, 10, 10); // set the smallest and biggest size of the Main frame 178 const Int_t w = 650+310; 179 const Int_t h = 690; 180 SetWMSizeHints(w, h, w, h, 10, 10); // set the smallest and biggest size of the Main frame 170 181 171 182 MapSubwindows(); … … 178 189 } 179 190 180 181 182 191 // ====================================================================== 183 192 … … 196 205 } 197 206 // ====================================================================== 198 void MGCosy::Update(ZdAz pos, ZdAz acc )207 void MGCosy::Update(ZdAz pos, ZdAz acc, ZdAz vel, ZdAz off) 199 208 { 200 209 fSkyPosition->Update(pos); 201 210 fAccuracy->Update(acc); 211 fVelocity->Update(vel); 212 fOffset->Update(off); 202 213 } 203 214 // ======================================================================
Note:
See TracChangeset
for help on using the changeset viewer.