YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YSLib::UI::Visual类 参考

可视状态。 更多...

#include <ywgtview.h>

YSLib::UI::Visual 的协作图:

Public 成员函数

 Visual (const Rect &={})
 构造:使用指定边界。
 
bool IsVisible () const ynothrow
 
SPos GetX () const ynothrow
 
SPos GetY () const ynothrow
 
SDst GetWidth () const ynothrow
 
SDst GetHeight () const ynothrow
 
const PointGetLocation () const ynothrow
 
const SizeGetSize () const ynothrow
 
PointGetLocationRef () ynothrow
 
SizeGetSizeRef () ynothrow
 
void SetVisible (bool _tempArgName)
 
void SetX (SPos x)
 设置位置:横坐标。
 
void SetY (SPos y)
 设置位置:纵坐标。
 
void SetWidth (SDst w)
 设置大小:宽。
 
void SetHeight (SDst h)
 设置大小:高。
 
void SetLocation (const Point &_tempArgName)
 设置位置。
 
void SetLocation (SPos x, SPos y)
 设置位置。
 
void SetSize (const Size &_tempArgName)
 设置大小。
 
void SetSize (SDst w, SDst h)
 设置大小。
 

Private 属性

bool visible
 可见性。
 
Point location
 左上角所在位置(相对于容器的偏移坐标)。
 
Size size
 部件大小。
 

详细描述

可视状态。

警告
非虚析构。
自从
build 168

在文件 ywgtview.h60 行定义.

构造及析构函数说明

Visual::Visual ( const Rect r = {})

构造:使用指定边界。

自从
build 337

在文件 ywgtview.cpp36 行定义.

成员函数说明

SDst YSLib::UI::Visual::GetHeight ( ) const
inline

在文件 ywgtview.h79 行定义.

const Point& YSLib::UI::Visual::GetLocation ( ) const
inline

在文件 ywgtview.h80 行定义.

Point& YSLib::UI::Visual::GetLocationRef ( )
inline
自从
build 307

在文件 ywgtview.h83 行定义.

const Size& YSLib::UI::Visual::GetSize ( ) const
inline

在文件 ywgtview.h81 行定义.

Size& YSLib::UI::Visual::GetSizeRef ( )
inline
自从
build 307

在文件 ywgtview.h85 行定义.

SDst YSLib::UI::Visual::GetWidth ( ) const
inline

在文件 ywgtview.h78 行定义.

SPos YSLib::UI::Visual::GetX ( ) const
inline

在文件 ywgtview.h76 行定义.

SPos YSLib::UI::Visual::GetY ( ) const
inline

在文件 ywgtview.h77 行定义.

bool YSLib::UI::Visual::IsVisible ( ) const
inline

在文件 ywgtview.h74 行定义.

void YSLib::UI::Visual::SetHeight ( SDst  h)
inline

设置大小:高。

注解
非虚 public 实现。

在文件 ywgtview.h110 行定义.

void YSLib::UI::Visual::SetLocation ( const Point _tempArgName)
inline

设置位置。

在文件 ywgtview.h115 行定义.

void YSLib::UI::Visual::SetLocation ( SPos  x,
SPos  y 
)
inline

设置位置。

注解
非虚 public 实现。

在文件 ywgtview.h120 行定义.

void YSLib::UI::Visual::SetSize ( const Size _tempArgName)
inline

设置大小。

注解
public 实现。

在文件 ywgtview.h126 行定义.

void YSLib::UI::Visual::SetSize ( SDst  w,
SDst  h 
)
inline

设置大小。

注解
非虚 public 实现。

在文件 ywgtview.h131 行定义.

void YSLib::UI::Visual::SetVisible ( bool  _tempArgName)
inline

在文件 ywgtview.h87 行定义.

void YSLib::UI::Visual::SetWidth ( SDst  w)
inline

设置大小:宽。

注解
非虚 public 实现。

在文件 ywgtview.h104 行定义.

void YSLib::UI::Visual::SetX ( SPos  x)
inline

设置位置:横坐标。

注解
非虚 public 实现。

在文件 ywgtview.h92 行定义.

void YSLib::UI::Visual::SetY ( SPos  y)
inline

设置位置:纵坐标。

注解
非虚 public 实现。

在文件 ywgtview.h98 行定义.

类成员变量说明

Point YSLib::UI::Visual::location
private

左上角所在位置(相对于容器的偏移坐标)。

在文件 ywgtview.h64 行定义.

Size YSLib::UI::Visual::size
private

部件大小。

在文件 ywgtview.h65 行定义.

bool YSLib::UI::Visual::visible
private

可见性。

在文件 ywgtview.h63 行定义.


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