载入中...
搜索中...
未找到
eve::editor::EditorDock类 参考

Simple editor chrome regions: left / right / top / bottom / center. 更多...

#include <EditorDock.h>

Public 成员函数

 EditorDock ()
 Editor dock.
 
void setRegionSize (const std::string &region, float pixels)
 Sets the region size.
 
float getRegionSize (const std::string &region) const
 Returns the region size.
 
void layout (float screenW, float screenH)
 Layout.
 
float getRegionX (const std::string &region) const
 Returns the region x.
 
float getRegionY (const std::string &region) const
 Returns the region y.
 
float getRegionW (const std::string &region) const
 Returns the region w.
 
float getRegionH (const std::string &region) const
 Returns the region h.
 

详细描述

Simple editor chrome regions: left / right / top / bottom / center.

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

构造及析构函数说明

◆ EditorDock()

eve::editor::EditorDock::EditorDock ( )

Editor dock.

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

成员函数说明

◆ getRegionH()

float eve::editor::EditorDock::getRegionH ( const std::string &  region) const

Returns the region h.

在文件 EditorDock.cpp 第 76 行定义.

引用了 r.

被这些函数引用 eve::editor::EditorWorkspace::getRegionH().

◆ getRegionSize()

float eve::editor::EditorDock::getRegionSize ( const std::string &  region) const

Returns the region size.

在文件 EditorDock.cpp 第 22 行定义.

◆ getRegionW()

float eve::editor::EditorDock::getRegionW ( const std::string &  region) const

Returns the region w.

在文件 EditorDock.cpp 第 71 行定义.

引用了 r.

被这些函数引用 eve::editor::EditorWorkspace::getRegionW().

◆ getRegionX()

float eve::editor::EditorDock::getRegionX ( const std::string &  region) const

Returns the region x.

在文件 EditorDock.cpp 第 61 行定义.

引用了 r.

被这些函数引用 eve::editor::EditorWorkspace::getRegionX().

◆ getRegionY()

float eve::editor::EditorDock::getRegionY ( const std::string &  region) const

Returns the region y.

在文件 EditorDock.cpp 第 66 行定义.

引用了 r.

被这些函数引用 eve::editor::EditorWorkspace::getRegionY().

◆ layout()

void eve::editor::EditorDock::layout ( float  screenW,
float  screenH 
)

Layout.

在文件 EditorDock.cpp 第 29 行定义.

引用了 bottom, left, right, s , 以及 top.

被这些函数引用 eve::editor::EditorWorkspace::layout().

◆ setRegionSize()

void eve::editor::EditorDock::setRegionSize ( const std::string &  region,
float  pixels 
)

Sets the region size.

在文件 EditorDock.cpp 第 14 行定义.

引用了 pixels.

被这些函数引用 eve::editor::EditorWorkspace::setRegionSize().


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