Esempio n. 1
0
        protected override void OnNoClick(Game g, Widget w)
        {
            game.Gui.DisposeOverlay(this);

            ConfirmDenyOverlay overlay = new ConfirmDenyOverlay(game, IsAlways(w));

            overlay.Url = Identifier;
            game.Gui.ShowOverlay(overlay, true);
        }
Esempio n. 2
0
        protected override void OnNoClick(Game g, Widget w)
        {
            CloseOverlay();
            string url = Metadata.Substring(3);

            ConfirmDenyOverlay overlay = new ConfirmDenyOverlay(game, IndexOfWidget(w) >= 2);

            overlay.Metadata = Metadata;
            game.Gui.ShowOverlay(overlay, true);
        }
Esempio n. 3
0
        protected override void OnNoClick(Game g, Widget w, MouseButton btn, int x, int y)
        {
            if (btn != MouseButton.Left)
            {
                return;
            }
            CloseOverlay();
            string url = Metadata.Substring(3);

            ConfirmDenyOverlay overlay = new ConfirmDenyOverlay(game, IndexOfWidget(w) >= 2);

            overlay.Metadata = Metadata;
            game.Gui.ShowOverlay(overlay, true);
        }