start working on therac console ui

This commit is contained in:
wonkyhonky2024
2025-05-06 21:24:10 +01:00
parent 5679901793
commit 6c98e84ea0
12 changed files with 684 additions and 8 deletions

View File

@ -0,0 +1,9 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "MyUserWidget.h"
void UMyUserWidget::NativeOnInitialized() {
OpIdTextBlock->SetText(FText::FromString("testo6667"));
}

View File

@ -0,0 +1,22 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include <Components/TextBlock.h>
#include "MyUserWidget.generated.h"
/**
*
*/
UCLASS()
class MYPROJECT_API UMyUserWidget : public UUserWidget
{
GENERATED_BODY()
UPROPERTY(meta=(BindWidget))
UTextBlock * OpIdTextBlock;
void NativeOnInitialized() override;
};