Iliad
Painting Plugin for UnrealEngine4 by Praxinos
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
IOdysseyChannelSlider Class Referenceabstract
Inheritance diagram for IOdysseyChannelSlider:
SOdysseyLeafWidget SOdysseyChannelSlider_A SOdysseyChannelSlider_B SOdysseyChannelSlider_C SOdysseyChannelSlider_G SOdysseyChannelSlider_HSL_H SOdysseyChannelSlider_HSL_L SOdysseyChannelSlider_HSL_S SOdysseyChannelSlider_HSV_H SOdysseyChannelSlider_HSV_S SOdysseyChannelSlider_HSV_V SOdysseyChannelSlider_K SOdysseyChannelSlider_Lab_a SOdysseyChannelSlider_Lab_b SOdysseyChannelSlider_Lab_L SOdysseyChannelSlider_M SOdysseyChannelSlider_R SOdysseyChannelSlider_Y SOdysseyChannelSlider_YUV_U SOdysseyChannelSlider_YUV_V SOdysseyChannelSlider_YUV_Y

Public Member Functions

 IOdysseyChannelSlider (uint32 iFormat)
 
::ul3::FPixelValue GetColorForProportion (float t) const
 
float GetProportionForColor (const ::ul3::FPixelValue &iColor) const
 
virtual FReply OnMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
 
virtual FReply OnMouseButtonUp (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
 
virtual FReply OnMouseMove (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override
 
- Public Member Functions inherited from SOdysseyLeafWidget
virtual ~SOdysseyLeafWidget ()
 
void Construct (const FArguments &InArgs)
 
void SetDesiredHeight (TAttribute< FOptionalSize > InDesiredHeight)
 
void SetDesiredWidth (TAttribute< FOptionalSize > InDesiredWidth)
 
void SetMaxDesiredHeight (TAttribute< FOptionalSize > InMaxDesiredHeight)
 
void SetMaxDesiredWidth (TAttribute< FOptionalSize > InMaxDesiredWidth)
 
void SetMinDesiredHeight (TAttribute< FOptionalSize > InMinDesiredHeight)
 
void SetMinDesiredWidth (TAttribute< FOptionalSize > InMinDesiredWidth)
 

Public Attributes

IOdysseyChannelSlider ODYSSEY_LEAF_WIDGET_CONSTRUCT_ARGS
 
- Public Attributes inherited from SOdysseyLeafWidget
SOdysseyLeafWidget ODYSSEY_LEAF_WIDGET_CONSTRUCT_ARGS
 

Protected Member Functions

virtual void Init ()
 
virtual void InitInternalBuffers () const override
 
virtual void PaintInternalBuffer (int iReason=0) const override
 
- Protected Member Functions inherited from SOdysseyLeafWidget
void CheckResize (const FVector2D &iNewSize) const
 
virtual void OnResizeEvent (const FVector2D &iNewSize) const
 

Protected Attributes

TAttribute< ::ul3::FPixelValue > mColor
 
uint32 mFormat
 
FOnColorChange OnColorChangeCallback
 
- Protected Attributes inherited from SOdysseyLeafWidget
FVector2D ExternalSize
 
FVector2D InternalSize
 
TUniquePtr< FSlateBrush > ItemBrush
 
TUniquePtr< FOdysseySurfaceEditablesurface
 

Constructor & Destructor Documentation

◆ IOdysseyChannelSlider()

IOdysseyChannelSlider::IOdysseyChannelSlider ( uint32  iFormat)

Member Function Documentation

◆ GetColorForProportion()

ul3::FPixelValue IOdysseyChannelSlider::GetColorForProportion ( float  t) const

◆ GetProportionForColor()

float IOdysseyChannelSlider::GetProportionForColor ( const ::ul3::FPixelValue &  iColor) const

◆ Init()

void IOdysseyChannelSlider::Init ( )
protectedvirtual

Reimplemented from SOdysseyLeafWidget.

◆ InitInternalBuffers()

void IOdysseyChannelSlider::InitInternalBuffers ( ) const
overrideprotectedvirtual

Reimplemented from SOdysseyLeafWidget.

◆ OnMouseButtonDown()

FReply IOdysseyChannelSlider::OnMouseButtonDown ( const FGeometry &  MyGeometry,
const FPointerEvent &  MouseEvent 
)
overridevirtual

◆ OnMouseButtonUp()

FReply IOdysseyChannelSlider::OnMouseButtonUp ( const FGeometry &  MyGeometry,
const FPointerEvent &  MouseEvent 
)
overridevirtual

◆ OnMouseMove()

FReply IOdysseyChannelSlider::OnMouseMove ( const FGeometry &  MyGeometry,
const FPointerEvent &  MouseEvent 
)
overridevirtual

◆ PaintInternalBuffer()

void IOdysseyChannelSlider::PaintInternalBuffer ( int  iReason = 0) const
overrideprotectedvirtual

Reimplemented from SOdysseyLeafWidget.

Member Data Documentation

◆ mColor

TAttribute< ::ul3::FPixelValue > IOdysseyChannelSlider::mColor
protected

◆ mFormat

uint32 IOdysseyChannelSlider::mFormat
protected

◆ ODYSSEY_LEAF_WIDGET_CONSTRUCT_ARGS

IOdysseyChannelSlider IOdysseyChannelSlider::ODYSSEY_LEAF_WIDGET_CONSTRUCT_ARGS
Initial value:
{}
public:
void Construct( const FArguments& InArgs )

◆ OnColorChangeCallback

FOnColorChange IOdysseyChannelSlider::OnColorChangeCallback
protected
ODYSSEY_LEAF_WIDGET_CONSTRUCT_ATTRIBUTES
#define ODYSSEY_LEAF_WIDGET_CONSTRUCT_ATTRIBUTES
Definition: SOdysseyLeafWidget.h:28
SOdysseyLeafWidget::Construct
void Construct(const FArguments &InArgs)
Definition: SOdysseyLeafWidget.cpp:22