You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Add a filter and column to show Unsaved Assets. Add a filter and modify the source control column to show uncontrolled assets #jira UE-168231 #rb patrick.laflamme #preflight 6361417a397c7af8966cec38 [CL 22890180 by aditya ravichandran in ue5-main branch]
30 lines
1.0 KiB
C++
30 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Widgets/Images/SLayeredImage.h"
|
|
#include "SourceControlHelpers.h"
|
|
#include "SceneOutlinerTreeItemSCC.h"
|
|
|
|
class SSourceControlWidget : public SLayeredImage
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SSourceControlWidget) {}
|
|
SLATE_END_ARGS()
|
|
|
|
/** Construct this widget */
|
|
void Construct(const FArguments& InArgs, TSharedPtr<FSceneOutlinerTreeItemSCC> InItemSourceControl);
|
|
|
|
private:
|
|
|
|
virtual FReply OnMouseButtonDoubleClick(const FGeometry& InMyGeometry, const FPointerEvent& InMouseEvent) override;
|
|
|
|
void UpdateSourceControlState(FSourceControlStatePtr SourceControlState);
|
|
void UpdateUncontrolledChangelistState(TSharedPtr<FUncontrolledChangelistState> UncontrolledChangelistState);
|
|
|
|
void UpdateWidget(FSourceControlStatePtr SourceControlState, const TSharedPtr<FUncontrolledChangelistState>& UncontrolledChangelistState);
|
|
|
|
/** The object that keeps the source control state for the outliner */
|
|
TSharedPtr<FSceneOutlinerTreeItemSCC> ItemSourceControl;
|
|
};
|