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

Seven-panel selection transaction used by Pcg photo mode. 更多...

#include <PcgPhotoModePanels.h>

Public 成员函数

Result< void > select (int panel)
 Select startup panel 0..6 and atomically publish all button/panel states.
 
int getSelected () const noexcept
 Return current panel index.
 
bool isActive (int panel) const noexcept
 Return whether one panel and its button are active.
 
PcgUiRequestStatus consumeScrollReset () noexcept
 Consume request to rebuild selected scroll content at its top.
 
uint64_t getRevision () const noexcept
 Return monotonically increasing successful selection revision.
 

详细描述

Seven-panel selection transaction used by Pcg photo mode.

在文件 PcgPhotoModePanels.h 第 11 行定义.

成员函数说明

◆ consumeScrollReset()

PcgUiRequestStatus eve::ui::PcgPhotoModePanels::consumeScrollReset ( )
noexcept

Consume request to rebuild selected scroll content at its top.

在文件 PcgPhotoModePanels.cpp 第 9 行定义.

引用了 eve::ui::None, eve::ui::Requested , 以及 v.

◆ getRevision()

uint64_t eve::ui::PcgPhotoModePanels::getRevision ( ) const
inlinenoexcept

Return monotonically increasing successful selection revision.

在文件 PcgPhotoModePanels.h 第 18 行定义.

◆ getSelected()

int eve::ui::PcgPhotoModePanels::getSelected ( ) const
inlinenoexcept

Return current panel index.

在文件 PcgPhotoModePanels.h 第 15 行定义.

◆ isActive()

bool eve::ui::PcgPhotoModePanels::isActive ( int  panel) const
noexcept

Return whether one panel and its button are active.

在文件 PcgPhotoModePanels.cpp 第 8 行定义.

◆ select()

Result< void > eve::ui::PcgPhotoModePanels::select ( int  panel)

Select startup panel 0..6 and atomically publish all button/panel states.

在文件 PcgPhotoModePanels.cpp 第 7 行定义.

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


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