Files
Naked-Desire/Source/NakedDesire/UI/Phone/PhoneStatusBar.h
T
2026-06-03 21:42:24 +03:00

27 lines
645 B
C++

// © 2025 Naked People Team. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "CommonUserWidget.h"
#include "PhoneStatusBar.generated.h"
class UCommonTextBlock;
UCLASS()
class NAKEDDESIRE_API UPhoneStatusBar : public UCommonUserWidget
{
GENERATED_BODY()
UPROPERTY(meta = (BindWidget))
TObjectPtr<UCommonTextBlock> TimeText;
protected:
virtual void NativeTick(const FGeometry& MyGeometry, float InDeltaTime) override;
private:
// Last HH:MM string pushed to TimeText; the tick re-reads the clock each frame but only
// touches the widget when the displayed minute actually changes.
FString CachedTimeString;
};