Exemple #1
0
        public Boolean Init(GUIGraphicEngine guiGraphicEngine)
        {
            this.guiGraphicEngine = guiGraphicEngine;

            if (guiGraphicEngine.Init() == false)
            {
                return(false);
            }

            root = new GUI.Controls.GUIRoot(guiGraphicEngine.Size);

            return(true);
        }
Exemple #2
0
        internal void PrvDraw(GUIGraphicEngine guiGraphicEngine)
        {
            if (drawEnabled)
            {
                guiGraphicEngine.PushBounds(Bounds);

                Draw(guiGraphicEngine);

                foreach (GUIWindow child in childs)
                {
                    child.PrvDraw(guiGraphicEngine);
                }

                guiGraphicEngine.PopBounds();
            }
        }
Exemple #3
0
 public abstract void Draw(GUIGraphicEngine guiGraphicEngine);