Changeset 1802 for trunk/MagicSoft/Cosy/gui
- Timestamp:
- 03/02/03 16:55:47 (22 years ago)
- Location:
- trunk/MagicSoft/Cosy/gui
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/GuiLinkDef.h
r1109 r1802 19 19 #pragma link C++ class MGCosy+; 20 20 #pragma link C++ class MGStarguider+; 21 #pragma link C++ class MGPngReader+; 21 22 22 23 #endif -
trunk/MagicSoft/Cosy/gui/MGStarguider.cc
r1758 r1802 73 73 74 74 MGStarguider::MGStarguider(MObservatory::LocationName_t key) 75 : Camera(),TGMainFrame(gClient->GetRoot(), 768, 700), fObservatory(key), fDx((768-kZOOM)/2), fDy((512-kZOOM)/2)76 { 77 gVirtualX->GrabButton(fId, kButton2, /*kButtonPressMask|kButtonReleaseMask|*/kNone, kNone, kNone, kNone);75 : TGMainFrame(gClient->GetRoot(), 768, 700), fObservatory(key), fDx((768-kZOOM)/2), fDy((512-kZOOM)/2) 76 { 77 gVirtualX->GrabButton(fId, kButton2, 0, 0, 0, 0, kTRUE); 78 78 79 79 … … 233 233 MGStarguider::~MGStarguider() 234 234 { 235 gVirtualX->GrabButton(0, kButton2, 0, 0, 0, 0, kFALSE); 236 235 237 fTimer->TurnOff(); 236 238 delete fTimer; … … 252 254 cout << "EventDisplay::CloseWindow: Exit Application Loop." << endl; 253 255 254 ExitLoop(); 256 /*ExitLoop();*/ 257 //cout << "FIXME: ExitLoop not called!!!!!!" << endl; 255 258 256 259 gSystem->ExitLoop(); -
trunk/MagicSoft/Cosy/gui/MGStarguider.h
r1758 r1802 5 5 #include <TGFrame.h> 6 6 #endif 7 #ifndef CAMERA_H 8 #include "Camera.h" 9 #endif 7 #include "PixClient.h" 10 8 11 9 #include "MGList.h" … … 31 29 class MStarList; 32 30 33 class MGStarguider : public Camera, public TGMainFrame31 class MGStarguider : public PixClient, public TGMainFrame 34 32 { 35 33 private: -
trunk/MagicSoft/Cosy/gui/Makefile
r1110 r1802 21 21 22 22 INCLUDES = -I. -I.. -I../base -I../slalib -I../candrv -I../incl \ 23 -I../catalog -I../videodev -I../main 23 -I../catalog -I../videodev -I../main -I../caos 24 24 25 25 # @code … … 40 40 MGVelocity.cc \ 41 41 MGStarguider.cc \ 42 MGSkyPosition.cc 42 MGPngReader.cc \ 43 MGSkyPosition.cc \ 44 MGMenu.cc 43 45 44 46 SRCS = $(SRCFILES)
Note:
See TracChangeset
for help on using the changeset viewer.