コード例 #1
0
ファイル: Window.cs プロジェクト: dabowheel/space-station-14
        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);
        }