载入中...
搜索中...
未找到
eve::ui::PcgPhotoModeRuntimeUI类 参考

Backend-neutral state of one Pcg PhotoModeUIHelper prefab instance. 更多...

#include <PcgPhotoModeRuntimeUI.h>

Public 成员函数

Result< void > configure (int kind, const std::string &name, const std::string &value, float sliderValue, float minimum, float maximum, bool bannerImageFound=true)
 Configure one widget family and publish its initial callback revision.
 
void markSliderUsed (bool value=true) noexcept
 Mark that the next slider update also refreshes its input text.
 
Result< void > setSliderValue (float value)
 Apply a slider value and consume the input synchronization flag.
 
PcgPhotoModeInputStatus applyFloatInput (const std::string &value) noexcept
 Parse, clamp, and apply text using Pcg GetAndSetFloatValue semantics.
 
int getKind () const noexcept
 Returns the kind.
 
const std::string & getName () const noexcept
 Returns the name.
 
const std::string & getValueText () const noexcept
 Returns the value text.
 
float getValue () const noexcept
 Returns the value.
 
float getMinimum () const noexcept
 Returns the minimum.
 
float getMaximum () const noexcept
 Returns the maximum.
 
bool getWholeNumbers () const noexcept
 Returns the whole numbers.
 
bool getUsingSlider () const noexcept
 Returns the using slider.
 
bool getInputRefresh () const noexcept
 Returns the input refresh.
 
bool getLabelVisible () const noexcept
 Returns the label visible.
 
bool getSecondLabelVisible () const noexcept
 Returns the second label visible.
 
bool getSliderVisible () const noexcept
 Returns the slider visible.
 
bool getInputVisible () const noexcept
 Returns the input visible.
 
bool getToggleVisible () const noexcept
 Returns the toggle visible.
 
bool getButtonVisible () const noexcept
 Returns the button visible.
 
bool getDropdownVisible () const noexcept
 Returns the dropdown visible.
 
bool getImageVisible () const noexcept
 Returns the image visible.
 
bool getHeaderVisible () const noexcept
 Returns the header visible.
 
bool getColorVisible () const noexcept
 Returns the color visible.
 
bool getVector2Visible () const noexcept
 Returns the vector 2 visible.
 
bool getVector3Visible () const noexcept
 Returns the vector 3 visible.
 
uint64_t getInitialCallbackRevision () const noexcept
 Returns the initial callback revision.
 

静态 Public 成员函数

static std::string updateWrap (const std::string &value)
 Wrap metrics text with Pcg's exact 68-column algorithm.
 

详细描述

Backend-neutral state of one Pcg PhotoModeUIHelper prefab instance.

在文件 PcgPhotoModeRuntimeUI.h 第 25 行定义.

成员函数说明

◆ applyFloatInput()

PcgPhotoModeInputStatus eve::ui::PcgPhotoModeRuntimeUI::applyFloatInput ( const std::string &  value)
noexcept

Parse, clamp, and apply text using Pcg GetAndSetFloatValue semantics.

在文件 PcgPhotoModeRuntimeUI.cpp 第 51 行定义.

引用了 eve::ui::Applied, eve::ui::Ignored, s , 以及 text.

◆ configure()

Result< void > eve::ui::PcgPhotoModeRuntimeUI::configure ( int  kind,
const std::string &  name,
const std::string &  value,
float  sliderValue,
float  minimum,
float  maximum,
bool  bannerImageFound = true 
)

◆ getButtonVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getButtonVisible ( ) const
inlinenoexcept

Returns the button visible.

在文件 PcgPhotoModeRuntimeUI.h 第 69 行定义.

◆ getColorVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getColorVisible ( ) const
inlinenoexcept

Returns the color visible.

在文件 PcgPhotoModeRuntimeUI.h 第 77 行定义.

◆ getDropdownVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getDropdownVisible ( ) const
inlinenoexcept

Returns the dropdown visible.

在文件 PcgPhotoModeRuntimeUI.h 第 71 行定义.

◆ getHeaderVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getHeaderVisible ( ) const
inlinenoexcept

Returns the header visible.

在文件 PcgPhotoModeRuntimeUI.h 第 75 行定义.

◆ getImageVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getImageVisible ( ) const
inlinenoexcept

Returns the image visible.

在文件 PcgPhotoModeRuntimeUI.h 第 73 行定义.

◆ getInitialCallbackRevision()

uint64_t eve::ui::PcgPhotoModeRuntimeUI::getInitialCallbackRevision ( ) const
inlinenoexcept

Returns the initial callback revision.

在文件 PcgPhotoModeRuntimeUI.h 第 83 行定义.

◆ getInputRefresh()

bool eve::ui::PcgPhotoModeRuntimeUI::getInputRefresh ( ) const
inlinenoexcept

Returns the input refresh.

在文件 PcgPhotoModeRuntimeUI.h 第 57 行定义.

◆ getInputVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getInputVisible ( ) const
inlinenoexcept

Returns the input visible.

在文件 PcgPhotoModeRuntimeUI.h 第 65 行定义.

◆ getKind()

int eve::ui::PcgPhotoModeRuntimeUI::getKind ( ) const
inlinenoexcept

Returns the kind.

在文件 PcgPhotoModeRuntimeUI.h 第 41 行定义.

◆ getLabelVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getLabelVisible ( ) const
inlinenoexcept

Returns the label visible.

在文件 PcgPhotoModeRuntimeUI.h 第 59 行定义.

◆ getMaximum()

float eve::ui::PcgPhotoModeRuntimeUI::getMaximum ( ) const
inlinenoexcept

Returns the maximum.

在文件 PcgPhotoModeRuntimeUI.h 第 51 行定义.

◆ getMinimum()

float eve::ui::PcgPhotoModeRuntimeUI::getMinimum ( ) const
inlinenoexcept

Returns the minimum.

在文件 PcgPhotoModeRuntimeUI.h 第 49 行定义.

◆ getName()

const std::string & eve::ui::PcgPhotoModeRuntimeUI::getName ( ) const
inlinenoexcept

Returns the name.

在文件 PcgPhotoModeRuntimeUI.h 第 43 行定义.

◆ getSecondLabelVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getSecondLabelVisible ( ) const
inlinenoexcept

Returns the second label visible.

在文件 PcgPhotoModeRuntimeUI.h 第 61 行定义.

◆ getSliderVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getSliderVisible ( ) const
inlinenoexcept

Returns the slider visible.

在文件 PcgPhotoModeRuntimeUI.h 第 63 行定义.

◆ getToggleVisible()

bool eve::ui::PcgPhotoModeRuntimeUI::getToggleVisible ( ) const
inlinenoexcept

Returns the toggle visible.

在文件 PcgPhotoModeRuntimeUI.h 第 67 行定义.

◆ getUsingSlider()

bool eve::ui::PcgPhotoModeRuntimeUI::getUsingSlider ( ) const
inlinenoexcept

Returns the using slider.

在文件 PcgPhotoModeRuntimeUI.h 第 55 行定义.

◆ getValue()

float eve::ui::PcgPhotoModeRuntimeUI::getValue ( ) const
inlinenoexcept

Returns the value.

在文件 PcgPhotoModeRuntimeUI.h 第 47 行定义.

◆ getValueText()

const std::string & eve::ui::PcgPhotoModeRuntimeUI::getValueText ( ) const
inlinenoexcept

Returns the value text.

在文件 PcgPhotoModeRuntimeUI.h 第 45 行定义.

◆ getVector2Visible()

bool eve::ui::PcgPhotoModeRuntimeUI::getVector2Visible ( ) const
inlinenoexcept

Returns the vector 2 visible.

在文件 PcgPhotoModeRuntimeUI.h 第 79 行定义.

◆ getVector3Visible()

bool eve::ui::PcgPhotoModeRuntimeUI::getVector3Visible ( ) const
inlinenoexcept

Returns the vector 3 visible.

在文件 PcgPhotoModeRuntimeUI.h 第 81 行定义.

◆ getWholeNumbers()

bool eve::ui::PcgPhotoModeRuntimeUI::getWholeNumbers ( ) const
inlinenoexcept

Returns the whole numbers.

在文件 PcgPhotoModeRuntimeUI.h 第 53 行定义.

◆ markSliderUsed()

void eve::ui::PcgPhotoModeRuntimeUI::markSliderUsed ( bool  value = true)
inlinenoexcept

Mark that the next slider update also refreshes its input text.

在文件 PcgPhotoModeRuntimeUI.h 第 32 行定义.

引用了 value.

◆ setSliderValue()

Result< void > eve::ui::PcgPhotoModeRuntimeUI::setSliderValue ( float  value)

Apply a slider value and consume the input synchronization flag.

在文件 PcgPhotoModeRuntimeUI.cpp 第 44 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, s, eve::Result< T >::success() , 以及 value.

◆ updateWrap()

std::string eve::ui::PcgPhotoModeRuntimeUI::updateWrap ( const std::string &  value)
static

Wrap metrics text with Pcg's exact 68-column algorithm.

在文件 PcgPhotoModeRuntimeUI.cpp 第 59 行定义.

引用了 p , 以及 text.

被这些函数引用 eve::ui::exposePcgPhotoModeRuntimeUIBindings().


该类的文档由以下文件生成: