/// <inheritdoc /> /// <summary> /// </summary> public EditorLayerEditor(EditorScreen screen, EditorScreenView view) { Screen = screen; Size = new ScalableVector2(230, 194); Image = UserInterface.EditorEditLayerPanel; CreateHeader(); CreateColorEditor(); View = view; // ReSharper disable once PossibleNullReferenceException View.LayerCompositor.SelectedLayerIndex.ValueChanged += OnSelectedLayerChanged; }
/// <inheritdoc /> /// <summary> /// </summary> /// <param name="view"></param> /// <param name="map"></param> public EditorControlBar(EditorScreenView view, Qua map) { View = view; Map = map; Size = new ScalableVector2(WindowManager.Width, 38); Tint = ColorHelper.HexToColor("#161616"); Alpha = 1; CreateLeftSideButtons(); CreateRightSideButtons(); CreateTextAudioTime(); CreateTimeProgressBar(); CreateDraggableProgressButton(); }