fix colors in therac ui widget; start working on magical floats
This commit is contained in:
BIN
Content/LinacLab/MyMyUserWidget.uasset
(Stored with Git LFS)
BIN
Content/LinacLab/MyMyUserWidget.uasset
(Stored with Git LFS)
Binary file not shown.
6
Source/MyProject/Private/MagicFloatInput.cpp
Normal file
6
Source/MyProject/Private/MagicFloatInput.cpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
|
||||||
|
#include "MagicFloatInput.h"
|
||||||
|
|
||||||
|
void UMagicFloatInput::HandleOnTextCommitted(const FText& inText, ETextCommit::Type inCommitMethod) {}
|
18
Source/MyProject/Public/MagicFloatInput.h
Normal file
18
Source/MyProject/Public/MagicFloatInput.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "CoreMinimal.h"
|
||||||
|
#include "Components/EditableTextBox.h"
|
||||||
|
#include "MagicFloatInput.generated.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
UCLASS()
|
||||||
|
class MYPROJECT_API UMagicFloatInput : public UEditableTextBox
|
||||||
|
{
|
||||||
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
void HandleOnTextCommitted(const FText& Text, ETextCommit::Type CommitMethod) override;
|
||||||
|
};
|
Reference in New Issue
Block a user