You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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]
59 lines
1.6 KiB
C++
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;
|
|
};
|