HSoccerView.h
Go to the documentation of this file.
00001 // HSoccerView.h : interface of the HSoccerView class, derived from HBaseView
00002 // Adds application-specific data and members for each view
00003 
00004 #ifndef _HSoccerView_H
00005 #define _HSoccerView_H
00006 
00007 #include "HBaseView.h"
00008 #include "HUtility.h"
00009 #include "HSnapGrid.h"
00010 
00011 class HSelectionSet;
00012 
00013 
00014 class HSoccerView : public HBaseView
00015 {
00016 
00017 public:
00018 
00019     HSoccerView(    HBaseModel *model,
00020                             const char *    alias = 0,  
00021                             const char *    driver_type = 0,
00022                             const char *    instance_name = 0,
00023                             void *          window_handle = 0,
00024                             void *          colormap = 0,
00025                             void *          clip_override = 0);
00026     ~HSoccerView();
00027 
00028     void    Init();
00029 
00031     void    ProcessText();
00032 
00034     void    DeleteLayers();
00035 
00037     HSnapGrid * GetSnapGrid() {return (m_pSnapGrid);}
00038 
00040     bool        GetSnap() {return (m_bSnap);}
00041 
00043     void        SetSnap(bool snap) {m_bSnap = snap;}
00044 
00045 protected:
00046 
00048     HSnapGrid * m_pSnapGrid;
00049 
00051     bool        m_bSnap;
00052 };
00053 
00054 #endif 
00055 
00056 
00057 
00058