Esempio n. 1
0
        public override void Render(DrawArgs drawArgs)
        {
            if (IsPushed())
            {
                if (lmm == null)
                {
                    lmm = new LayerManagerMenu(_parentWorld, this);
                }

                lmm.Render(drawArgs);
            }
        }
Esempio n. 2
0
		public override void Render(DrawArgs drawArgs)
		{
			if(IsPushed())
			{
				if(lmm == null)
					lmm = new LayerManagerMenu(_parentWorld, this);

				lmm.Render(drawArgs);
			}
		}
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref= "T:WorldWind.Menu.LayerMenuItem"/> class.
 /// </summary>
 /// <param name="parent"></param>
 /// <param name="renderableObject"></param>
 public LayerMenuItem(LayerManagerMenu parent, RenderableObject renderableObject)
 {
     m_renderableObject = renderableObject;
     m_parent           = parent;
 }
Esempio n. 4
0
			/// <summary>
			/// Initializes a new instance of the <see cref= "T:WorldWind.Menu.LayerMenuItem"/> class.
			/// </summary>
			/// <param name="parent"></param>
			/// <param name="renderableObject"></param>
			public LayerMenuItem(LayerManagerMenu parent, RenderableObject renderableObject)
			{
				m_renderableObject = renderableObject;
				m_parent = parent;
			}