Files
UnrealEngineUWP/Engine/Source/Developer/ProjectLauncher/Private/Widgets/Cook/SProjectLauncherCookOnTheFlySettings.h
Chris Gagnon 9ccd8c9ec4 Target Platform API added to provide more information about variants and variant support.
Device Services Refactoring to create the concept of a physical device.
Game launcher and device viewer UI changes to show these new concepts.
#codereview Max.Preussner, Matt.Kuhlenschmidt

[CL 2290918 by Chris Gagnon in Main branch]
2014-09-09 12:20:43 -04:00

59 lines
1.6 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Implements the cook-by-the-book settings panel.
*/
class SProjectLauncherCookOnTheFlySettings
: public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SProjectLauncherCookOnTheFlySettings) { }
SLATE_END_ARGS()
public:
/**
* Destructor.
*/
~SProjectLauncherCookOnTheFlySettings( );
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 check state changes of the 'Incremental' check box.
void HandleIncrementalCheckBoxCheckStateChanged( ESlateCheckBoxState::Type NewState );
// Callback for determining the checked state of the 'Incremental' check box.
ESlateCheckBoxState::Type HandleIncrementalCheckBoxIsChecked( ) const;
// Callback for changing the selected profile in the profile manager.
void HandleProfileManagerProfileSelected( const ILauncherProfilePtr& SelectedProfile, const ILauncherProfilePtr& PreviousProfile );
// Callback for determining the visibility of a validation error icon.
EVisibility HandleValidationErrorIconVisibility( ELauncherProfileValidationErrors::Type Error ) const;
// Callback for getting the cookers additional options
FText HandleCookOptionsTextBlockText() const;
// Callback for changing the cookers additional options
void HandleCookerOptionsCommitted(const FText& NewText, ETextCommit::Type CommitType);
private:
// Holds a pointer to the data model.
FProjectLauncherModelPtr Model;
};