|
KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
|
#include <UImageButton.h>
UImageButton에 대한 상속 다이어그램 :
UImageButton에 대한 협력 다이어그램:Public 멤버 함수 | |
| void | SetButtonEnabled (bool bInEnabled) |
| 버튼의 활성화/비활성화 상태를 설정합니다. | |
Public 속성 | |
| TEnumAsByte< ESlateBrushDrawType::Type > | BorderDrawAs = ESlateBrushDrawType::Image |
| Border 이미지의 그리기 방식 (Image, Box, Border, RoundedBox 등) | |
| UTexture2D * | BorderImage = nullptr |
| Border에 적용할 이미지 (null이면 색상만 사용) | |
| FMargin | BorderMargin = FMargin(0.0f) |
| Border 이미지의 여백 (9-slice 방식으로 그릴 때 사용) | |
| bool | bUseFixedSize = false |
| 고정 크기 사용 여부 | |
| float | FixedHeight = 100.0f |
| 고정 높이 (bUseFixedSize가 true일 때 적용) | |
| float | FixedWidth = 200.0f |
| 고정 너비 (bUseFixedSize가 true일 때 적용) | |
| int32 | FontOutlineSize = 0 |
| int32 | FontSize = 48 |
| FLinearColor | HoverButtonColor = FLinearColor(0.2f, 0.2f, 0.2f) |
| FLinearColor | HoverTextColor = FLinearColor(0.8f, 0.9f, 1.f) |
| FText | LabelText = FText::FromString("Button") |
| FLinearColor | NormalButtonColor = FLinearColor(0.1f, 0.1f, 0.1f) |
| FLinearColor | NormalTextColor = FLinearColor::White |
| FOnImageButtonClickedEvent | OnButtonClickedEvent |
| 버튼 클릭 시 발생하는 이벤트 | |
| FLinearColor | PressButtonColor = FLinearColor(0.05f, 0.05f, 0.05f) |
| FLinearColor | PressTextColor = FLinearColor(0.6f, 0.7f, 1.f) |
Protected 멤버 함수 | |
| virtual void | NativeConstruct () override |
| virtual void | NativePreConstruct () override |
| virtual void | NativeTick (const FGeometry &MyGeometry, float InDeltaTime) override |
Private 멤버 함수 | |
| void | ApplyStyle () |
| 설정된 스타일 속성을 위젯에 적용합니다. | |
| void | HandleClicked () |
| void | HandleHovered () |
| void | HandlePressed () |
| void | HandleReleased () |
| void | HandleUnhovered () |
Private 속성 | |
| bool | bBorderBrushInitialized = false |
| bool | bEnabled = true |
| class UBorder * | Border_BG |
| class UButton * | Button_Main |
| FSlateBrush | CachedBorderBrush |
| float | CurrentBrightness = 1.0f |
| FVector2D | CurrentScale = FVector2D(1.f, 1.f) |
| float | LerpSpeed = 20.f |
| class USizeBox * | SizeBox_Root |
| float | TargetBrightness = 1.f |
| FVector2D | TargetScale = FVector2D(1.f, 1.f) |
| class UTextBlock * | Text_Label |
UHoverButton과 동일한 호버/프레스 애니메이션 기능을 제공하며, 추가로 Border 이미지 설정 및 고정 크기 설정이 가능한 버튼 위젯입니다.
UImageButton.h 파일의 18 번째 라인에서 정의되었습니다.
|
private |
설정된 스타일 속성을 위젯에 적용합니다.
UImageButton.cpp 파일의 37 번째 라인에서 정의되었습니다.
다음을 참조함 : bBorderBrushInitialized, Border_BG, BorderDrawAs, BorderImage, BorderMargin, bUseFixedSize, CachedBorderBrush, FixedHeight, FixedWidth, FontOutlineSize, FontSize, LabelText, NormalButtonColor, NormalTextColor, SizeBox_Root, Text_Label.
다음에 의해서 참조됨 : NativePreConstruct().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UImageButton.cpp 파일의 191 번째 라인에서 정의되었습니다.
다음을 참조함 : bEnabled, OnButtonClickedEvent.
다음에 의해서 참조됨 : NativeConstruct().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UImageButton.cpp 파일의 99 번째 라인에서 정의되었습니다.
다음을 참조함 : bBorderBrushInitialized, bEnabled, Border_BG, BorderImage, CachedBorderBrush, HoverButtonColor, HoverTextColor, TargetBrightness, TargetScale, Text_Label.
다음에 의해서 참조됨 : HandleReleased(), NativeConstruct().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UImageButton.cpp 파일의 154 번째 라인에서 정의되었습니다.
다음을 참조함 : bBorderBrushInitialized, bEnabled, Border_BG, BorderImage, CachedBorderBrush, PressButtonColor, PressTextColor, TargetScale, Text_Label.
다음에 의해서 참조됨 : NativeConstruct().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UImageButton.cpp 파일의 180 번째 라인에서 정의되었습니다.
다음을 참조함 : bEnabled, Button_Main, HandleHovered(), HandleUnhovered().
다음에 의해서 참조됨 : NativeConstruct().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UImageButton.cpp 파일의 127 번째 라인에서 정의되었습니다.
다음을 참조함 : bBorderBrushInitialized, bEnabled, Border_BG, BorderImage, CachedBorderBrush, NormalButtonColor, NormalTextColor, TargetBrightness, TargetScale, Text_Label.
다음에 의해서 참조됨 : HandleReleased(), NativeConstruct().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
overrideprotectedvirtual |
UImageButton.cpp 파일의 16 번째 라인에서 정의되었습니다.
다음을 참조함 : Button_Main, HandleClicked(), HandleHovered(), HandlePressed(), HandleReleased(), HandleUnhovered().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
|
overrideprotectedvirtual |
UImageButton.cpp 파일의 10 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplyStyle().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
|
overrideprotectedvirtual |
UImageButton.cpp 파일의 90 번째 라인에서 정의되었습니다.
다음을 참조함 : CurrentScale, LerpSpeed, TargetScale.
| void UImageButton::SetButtonEnabled | ( | bool | bInEnabled | ) |
버튼의 활성화/비활성화 상태를 설정합니다.
| bInEnabled | true면 활성화, false면 비활성화 |
UImageButton.cpp 파일의 199 번째 라인에서 정의되었습니다.
다음을 참조함 : bBorderBrushInitialized, bEnabled, Border_BG, BorderImage, Button_Main, CachedBorderBrush, NormalButtonColor, NormalTextColor, TargetBrightness, TargetScale, Text_Label.
|
private |
UImageButton.h 파일의 150 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle(), HandleHovered(), HandlePressed(), HandleUnhovered(), SetButtonEnabled().
|
private |
UImageButton.h 파일의 146 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleClicked(), HandleHovered(), HandlePressed(), HandleReleased(), HandleUnhovered(), SetButtonEnabled().
|
private |
UImageButton.h 파일의 129 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle(), HandleHovered(), HandlePressed(), HandleUnhovered(), SetButtonEnabled().
| TEnumAsByte<ESlateBrushDrawType::Type> UImageButton::BorderDrawAs = ESlateBrushDrawType::Image |
Border 이미지의 그리기 방식 (Image, Box, Border, RoundedBox 등)
UImageButton.h 파일의 101 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle().
| UTexture2D* UImageButton::BorderImage = nullptr |
Border에 적용할 이미지 (null이면 색상만 사용)
UImageButton.h 파일의 97 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle(), HandleHovered(), HandlePressed(), HandleUnhovered(), SetButtonEnabled().
| FMargin UImageButton::BorderMargin = FMargin(0.0f) |
Border 이미지의 여백 (9-slice 방식으로 그릴 때 사용)
UImageButton.h 파일의 105 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle().
| bool UImageButton::bUseFixedSize = false |
|
private |
UImageButton.h 파일의 126 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleReleased(), NativeConstruct(), SetButtonEnabled().
|
private |
UImageButton.h 파일의 149 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle(), HandleHovered(), HandlePressed(), HandleUnhovered(), SetButtonEnabled().
|
private |
UImageButton.h 파일의 137 번째 라인에서 정의되었습니다.
|
private |
UImageButton.h 파일의 136 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : NativeTick().
| float UImageButton::FixedHeight = 100.0f |
고정 높이 (bUseFixedSize가 true일 때 적용)
UImageButton.h 파일의 119 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle().
| float UImageButton::FixedWidth = 200.0f |
고정 너비 (bUseFixedSize가 true일 때 적용)
UImageButton.h 파일의 115 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle().
| int32 UImageButton::FontOutlineSize = 0 |
UImageButton.h 파일의 71 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle().
| int32 UImageButton::FontSize = 48 |
UImageButton.h 파일의 68 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle().
| FLinearColor UImageButton::HoverButtonColor = FLinearColor(0.2f, 0.2f, 0.2f) |
UImageButton.h 파일의 88 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleHovered().
| FLinearColor UImageButton::HoverTextColor = FLinearColor(0.8f, 0.9f, 1.f) |
UImageButton.h 파일의 77 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleHovered().
| FText UImageButton::LabelText = FText::FromString("Button") |
UImageButton.h 파일의 65 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle().
|
private |
UImageButton.h 파일의 144 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : NativeTick().
| FLinearColor UImageButton::NormalButtonColor = FLinearColor(0.1f, 0.1f, 0.1f) |
UImageButton.h 파일의 85 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle(), HandleUnhovered(), SetButtonEnabled().
| FLinearColor UImageButton::NormalTextColor = FLinearColor::White |
UImageButton.h 파일의 74 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle(), HandleUnhovered(), SetButtonEnabled().
| FOnImageButtonClickedEvent UImageButton::OnButtonClickedEvent |
버튼 클릭 시 발생하는 이벤트
UImageButton.h 파일의 60 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleClicked(), UPopup_MsgBox::InitButton(), UPopup_InputMsg::InitPopup(), UPopup_AskTutorial::NativeConstruct(), ULobbyWidget::NativeConstruct().
| FLinearColor UImageButton::PressButtonColor = FLinearColor(0.05f, 0.05f, 0.05f) |
UImageButton.h 파일의 91 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandlePressed().
| FLinearColor UImageButton::PressTextColor = FLinearColor(0.6f, 0.7f, 1.f) |
UImageButton.h 파일의 80 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandlePressed().
|
private |
UImageButton.h 파일의 123 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle().
|
private |
UImageButton.h 파일의 141 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleHovered(), HandleUnhovered(), SetButtonEnabled().
|
private |
UImageButton.h 파일의 140 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleHovered(), HandlePressed(), HandleUnhovered(), NativeTick(), SetButtonEnabled().
|
private |
UImageButton.h 파일의 132 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyStyle(), HandleHovered(), HandlePressed(), HandleUnhovered(), SetButtonEnabled().