source: trunk/Cosy/gui/MGStarg.cc@ 15826

Last change on this file since 15826 was 9439, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 491 bytes
Line 
1#include "MGStarg.h"
2
3#include <TCanvas.h>
4
5#include <MHexagon.h>
6
7ClassImp(MGStarg);
8
9void MGStarg::DrawHexagon()
10{
11 fCanvas->SetEditable(kTRUE);
12 fCanvas->cd();
13
14 MHexagon hex;
15 hex.SetFillStyle(4000);
16 hex.SetLineColor(17);
17 hex.DrawHexagon(0, 0, 177.5*2);
18
19 fCanvas->SetEditable(kFALSE);
20}
21
22MGStarg::MGStarg(const TGWindow* p, const UInt_t w)
23: MGAccuracy(p, w)
24{
25 SetColorScale(1);
26 DrawText("1.0'", "2.0'", "3.0'", "Mispointing [min]");
27 DrawHexagon();
28}
Note: See TracBrowser for help on using the repository browser.