Exemple #1
0
        public MenuManager(string name, Logic.Widgets.MapViewer mapViewer)
            : base(name)
        {
            this.BackColor = Color.Transparent;
            blockInput     = true;
            openMenus      = new List <IMenu>();
            //rwLock = new ReaderWriterLockSlim();

            this.mapViewer = mapViewer;

            //lblTest = new Label("lblTest");
            //lblTest.Location = new Point(100, 100);
            //lblTest.AutoSize = true;
            //lblTest.Font = Graphics.FontManager.LoadFont("PMDCP", 32);
            //lblTest.Text = "Test Menu Opened";

            //this.AddWidget(lblTest);
        }
        public MenuManager(string name, Logic.Widgets.MapViewer mapViewer)
            : base(name)
        {
            this.BackColor = Color.Transparent;
            blockInput = true;
            openMenus = new List<IMenu>();
            //rwLock = new ReaderWriterLockSlim();

            this.mapViewer = mapViewer;

            //lblTest = new Label("lblTest");
            //lblTest.Location = new Point(100, 100);
            //lblTest.AutoSize = true;
            //lblTest.Font = Graphics.FontManager.LoadFont("PMU", 24);
            //lblTest.Text = "Test Menu Opened";

            //this.AddWidget(lblTest);
        }