Create parent InteractiveWidget for UserWidgets
This commit is contained in:
parent
a86c56fccb
commit
4c795a3a27
|
@ -6,13 +6,14 @@
|
||||||
#include "OptionsUIWidget.h"
|
#include "OptionsUIWidget.h"
|
||||||
#include "Blueprint/UserWidget.h"
|
#include "Blueprint/UserWidget.h"
|
||||||
#include "Components/Button.h"
|
#include "Components/Button.h"
|
||||||
|
#include "UI/NakatomiInteractiveWidget.h"
|
||||||
#include "MainMenuUIWidget.generated.h"
|
#include "MainMenuUIWidget.generated.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
UCLASS()
|
UCLASS()
|
||||||
class NAKATOMI_API UMainMenuUIWidget : public UUserWidget
|
class NAKATOMI_API UMainMenuUIWidget : public UNakatomiInteractiveWidget
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -7,13 +7,14 @@
|
||||||
#include "Components/CheckBox.h"
|
#include "Components/CheckBox.h"
|
||||||
#include "Components/Button.h"
|
#include "Components/Button.h"
|
||||||
#include "Components/TextBlock.h"
|
#include "Components/TextBlock.h"
|
||||||
|
#include "UI/NakatomiInteractiveWidget.h"
|
||||||
#include "OptionsUIWidget.generated.h"
|
#include "OptionsUIWidget.generated.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
UCLASS()
|
UCLASS()
|
||||||
class NAKATOMI_API UOptionsUIWidget : public UUserWidget
|
class NAKATOMI_API UOptionsUIWidget : public UNakatomiInteractiveWidget
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
|
|
@ -6,13 +6,14 @@
|
||||||
#include "OptionsUIWidget.h"
|
#include "OptionsUIWidget.h"
|
||||||
#include "Blueprint/UserWidget.h"
|
#include "Blueprint/UserWidget.h"
|
||||||
#include "Components/Button.h"
|
#include "Components/Button.h"
|
||||||
|
#include "UI/NakatomiInteractiveWidget.h"
|
||||||
#include "PauseUIWidget.generated.h"
|
#include "PauseUIWidget.generated.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
UCLASS()
|
UCLASS()
|
||||||
class NAKATOMI_API UPauseUIWidget : public UUserWidget
|
class NAKATOMI_API UPauseUIWidget : public UNakatomiInteractiveWidget
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
|
||||||
|
#include "../UI/NakatomiInteractiveWidget.h"
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "CoreMinimal.h"
|
||||||
|
#include "Blueprint/UserWidget.h"
|
||||||
|
#include "NakatomiInteractiveWidget.generated.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
UCLASS()
|
||||||
|
class NAKATOMI_API UNakatomiInteractiveWidget : public UUserWidget
|
||||||
|
{
|
||||||
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
};
|
Loading…
Reference in New Issue