public void GLDraw()
        {
            var Drawer = new clsDrawHorizontalPosOnTerrain();

            Drawer.Map        = parentMapLink.Source;
            Drawer.Horizontal = pos;
            if (Program.frmMainInstance.SelectedScriptMarker == this)
            {
                GL.LineWidth(4.5F);
                Drawer.Colour = new SRgba(1.0F, 1.0F, 0.5F, 1.0F);
            }
            else
            {
                GL.LineWidth(3.0F);
                Drawer.Colour = new SRgba(1.0F, 1.0F, 0.0F, 0.75F);
            }
            Drawer.ActionPerform();
        }
示例#2
0
 public void GLDraw()
 {
     clsDrawHorizontalPosOnTerrain Drawer = new clsDrawHorizontalPosOnTerrain();
     Drawer.Map = _ParentMapLink.Source;
     Drawer.Horizontal = _Pos;
     if ( Program.frmMainInstance.SelectedScriptMarker == this )
     {
         GL.LineWidth(4.5F);
         Drawer.Colour = new sRGBA_sng(1.0F, 1.0F, 0.5F, 1.0F);
     }
     else
     {
         GL.LineWidth(3.0F);
         Drawer.Colour = new sRGBA_sng(1.0F, 1.0F, 0.0F, 0.75F);
     }
     Drawer.ActionPerform();
 }