2025-05-08 22:20:32 +01:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Components/EditableTextBox.h"
|
2025-05-09 16:02:07 +01:00
|
|
|
#include "CoreMinimal.h"
|
2025-05-09 22:20:16 +01:00
|
|
|
#include <Components/TextBlock.h>
|
2025-05-16 16:44:17 +01:00
|
|
|
#include <ModeInputTextBox.h>
|
2025-05-08 22:20:32 +01:00
|
|
|
#include "MagicFloatInput.generated.h"
|
|
|
|
|
|
|
|
/**
|
2025-05-09 16:02:07 +01:00
|
|
|
*
|
2025-05-08 22:20:32 +01:00
|
|
|
*/
|
|
|
|
UCLASS()
|
2025-05-09 16:02:07 +01:00
|
|
|
class MYPROJECT_API UMagicFloatInput : public UEditableTextBox {
|
2025-05-09 16:18:28 +01:00
|
|
|
|
2025-05-09 16:02:07 +01:00
|
|
|
GENERATED_BODY()
|
|
|
|
|
2025-05-16 16:44:17 +01:00
|
|
|
void HandleOnTextCommitted(FText const & Text, ETextCommit::Type CommitMethod)
|
|
|
|
override;
|
2025-05-09 16:02:07 +01:00
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere)
|
2025-05-09 22:20:16 +01:00
|
|
|
UTextBlock * sourceInput;
|
2025-05-09 23:18:45 +01:00
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere)
|
|
|
|
UTextBlock * myVerifier;
|
2025-05-16 16:44:17 +01:00
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere)
|
|
|
|
UMagicFloatInput * next;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere)
|
|
|
|
UModeInputTextBox * cmdInput;
|
2025-05-08 22:20:32 +01:00
|
|
|
};
|