You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE) This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText. [CL 2399803 by Jamie Dale in Main branch]
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
|
|
/**
|
|
* Implements the profile page for the session launcher wizard.
|
|
*/
|
|
class SProjectLauncherPackagePage
|
|
: public SCompoundWidget
|
|
{
|
|
public:
|
|
|
|
SLATE_BEGIN_ARGS(SProjectLauncherPackagePage) { }
|
|
SLATE_END_ARGS()
|
|
|
|
public:
|
|
|
|
/**
|
|
* Destructor.
|
|
*/
|
|
~SProjectLauncherPackagePage( );
|
|
|
|
public:
|
|
|
|
/**
|
|
* Constructs the widget.
|
|
*
|
|
* @param InArgs The Slate argument list.
|
|
* @param InModel The data model.
|
|
*/
|
|
void Construct( const FArguments& InArgs, const FProjectLauncherModelRef& InModel );
|
|
|
|
private:
|
|
|
|
// Callback for getting the content text of the 'Cook Mode' combo button.
|
|
FText HandlePackagingModeComboButtonContentText( ) const;
|
|
|
|
// Callback for clicking an item in the 'Cook Mode' menu.
|
|
void HandlePackagingModeMenuEntryClicked( ELauncherProfilePackagingModes::Type PackagingMode );
|
|
|
|
// Callback for getting the visibility of the packaging settings area.
|
|
EVisibility HandlePackagingSettingsAreaVisibility( ) const;
|
|
|
|
// Callback for changing the selected profile in the profile manager.
|
|
void HandleProfileManagerProfileSelected( const ILauncherProfilePtr& SelectedProfile, const ILauncherProfilePtr& PreviousProfile );
|
|
|
|
private:
|
|
|
|
// Holds a pointer to the data model.
|
|
FProjectLauncherModelPtr Model;
|
|
};
|