Files
UnrealEngineUWP/Engine/Source/Developer/ProjectLauncher/Private/Widgets/Package/SProjectLauncherPackagePage.h
Jamie Dale a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
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]
2015-01-07 09:52:40 -05:00

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;
};