Esempio n. 1
0
        public Window(string windowTitle, Vector2i size, IResourceManager resourceManager)
            : base(windowTitle, size, resourceManager)
        {
            closeButton = new ImageButton
            {
                ImageNormal = "closewindow"
            };

            closeButton.Clicked += CloseButtonClicked;
            title          = new Label(windowTitle, "CALIBRI", _resourceManager);
            gradient       = new GradientBox();
            DrawBackground = true;
            Update(0);
        }