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()
|
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 |
||
| ) |
Configure one widget family and publish its initial callback revision.
在文件 PcgPhotoModeRuntimeUI.cpp 第 12 行定义.
引用了 eve::ui::BannerImage, eve::ui::Button, eve::ui::Color, eve::ui::DisplayIntSlider, eve::ui::DisplaySlider, eve::ui::Dropdown, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::ui::Field, eve::ui::Header, eve::ui::IntSlider, eve::InvalidArgument, eve::ui::Label, maximum, minimum, name, eve::ui::Slider, eve::Result< T >::success(), text, eve::ui::Toggle, value, eve::ui::Vector2 , 以及 eve::ui::Vector3.
◆ getButtonVisible()
|
inlinenoexcept |
Returns the button visible.
在文件 PcgPhotoModeRuntimeUI.h 第 69 行定义.
◆ getColorVisible()
|
inlinenoexcept |
Returns the color visible.
在文件 PcgPhotoModeRuntimeUI.h 第 77 行定义.
◆ getDropdownVisible()
|
inlinenoexcept |
Returns the dropdown visible.
在文件 PcgPhotoModeRuntimeUI.h 第 71 行定义.
◆ getHeaderVisible()
|
inlinenoexcept |
Returns the header visible.
在文件 PcgPhotoModeRuntimeUI.h 第 75 行定义.
◆ getImageVisible()
|
inlinenoexcept |
Returns the image visible.
在文件 PcgPhotoModeRuntimeUI.h 第 73 行定义.
◆ getInitialCallbackRevision()
|
inlinenoexcept |
Returns the initial callback revision.
在文件 PcgPhotoModeRuntimeUI.h 第 83 行定义.
◆ getInputRefresh()
|
inlinenoexcept |
Returns the input refresh.
在文件 PcgPhotoModeRuntimeUI.h 第 57 行定义.
◆ getInputVisible()
|
inlinenoexcept |
Returns the input visible.
在文件 PcgPhotoModeRuntimeUI.h 第 65 行定义.
◆ getKind()
|
inlinenoexcept |
Returns the kind.
在文件 PcgPhotoModeRuntimeUI.h 第 41 行定义.
◆ getLabelVisible()
|
inlinenoexcept |
Returns the label visible.
在文件 PcgPhotoModeRuntimeUI.h 第 59 行定义.
◆ getMaximum()
|
inlinenoexcept |
Returns the maximum.
在文件 PcgPhotoModeRuntimeUI.h 第 51 行定义.
◆ getMinimum()
|
inlinenoexcept |
Returns the minimum.
在文件 PcgPhotoModeRuntimeUI.h 第 49 行定义.
◆ getName()
|
inlinenoexcept |
Returns the name.
在文件 PcgPhotoModeRuntimeUI.h 第 43 行定义.
◆ getSecondLabelVisible()
|
inlinenoexcept |
Returns the second label visible.
在文件 PcgPhotoModeRuntimeUI.h 第 61 行定义.
◆ getSliderVisible()
|
inlinenoexcept |
Returns the slider visible.
在文件 PcgPhotoModeRuntimeUI.h 第 63 行定义.
◆ getToggleVisible()
|
inlinenoexcept |
Returns the toggle visible.
在文件 PcgPhotoModeRuntimeUI.h 第 67 行定义.
◆ getUsingSlider()
|
inlinenoexcept |
Returns the using slider.
在文件 PcgPhotoModeRuntimeUI.h 第 55 行定义.
◆ getValue()
|
inlinenoexcept |
Returns the value.
在文件 PcgPhotoModeRuntimeUI.h 第 47 行定义.
◆ getValueText()
|
inlinenoexcept |
Returns the value text.
在文件 PcgPhotoModeRuntimeUI.h 第 45 行定义.
◆ getVector2Visible()
|
inlinenoexcept |
Returns the vector 2 visible.
在文件 PcgPhotoModeRuntimeUI.h 第 79 行定义.
◆ getVector3Visible()
|
inlinenoexcept |
Returns the vector 3 visible.
在文件 PcgPhotoModeRuntimeUI.h 第 81 行定义.
◆ getWholeNumbers()
|
inlinenoexcept |
Returns the whole numbers.
在文件 PcgPhotoModeRuntimeUI.h 第 53 行定义.
◆ markSliderUsed()
|
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()
|
static |
Wrap metrics text with Pcg's exact 68-column algorithm.
在文件 PcgPhotoModeRuntimeUI.cpp 第 59 行定义.
该类的文档由以下文件生成:
- src/modules/ui/PcgPhotoModeRuntimeUI.h
- src/modules/ui/PcgPhotoModeRuntimeUI.cpp