source: trunk/MagicSoft/Cosy/gui/MGStarg.cc@ 8618

Last change on this file since 8618 was 7790, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 415 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.5);
26}
Note: See TracBrowser for help on using the repository browser.