dl
| Public 类型 | Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
dl::Background类 参考

绘图背景 更多...

#include <dl_ui_background.h>

Public 类型

enum class  Type { NONE , SPRITE , SPRITE9 }
 

Public 成员函数

BackgroundClone ()
 
void Set (gcSprite spr)
 
void Set (Sprite9 *spr9)
 
void Clear ()
 
Size GetSize ()
 
void SetSize (const Size &size)
 
void SetOffset (const Point &offset)
 设置偏移 更多...
 
Point GetOffset ()
 
void SetExtra (const Point &extra)
 设置额外大小 更多...
 
Point GetExtra ()
 
CoorGetCoor ()
 
bool IsPickup ()
 
void Render ()
 
void SetOrder (float order)
 
void SetUI (bool ui)
 
 ~Background ()
 

静态 Public 成员函数

static BackgroundCreate ()
 

详细描述

绘图背景

在文件 dl_ui_background.h20 行定义.

成员枚举类型说明

◆ Type

enum class dl::Background::Type
strong
枚举值
NONE 
SPRITE 
SPRITE9 

在文件 dl_ui_background.h23 行定义.

构造及析构函数说明

◆ ~Background()

dl::Background::~Background ( )
inline

在文件 dl_ui_background.h216 行定义.

成员函数说明

◆ Clear()

void dl::Background::Clear ( )
inline

在文件 dl_ui_background.h74 行定义.

◆ Clone()

Background * dl::Background::Clone ( )
inline

在文件 dl_ui_background.h36 行定义.

◆ Create()

static Background * dl::Background::Create ( )
inlinestatic

在文件 dl_ui_background.h30 行定义.

◆ GetCoor()

Coor * dl::Background::GetCoor ( )
inline

在文件 dl_ui_background.h146 行定义.

◆ GetExtra()

Point dl::Background::GetExtra ( )
inline

在文件 dl_ui_background.h140 行定义.

◆ GetOffset()

Point dl::Background::GetOffset ( )
inline

在文件 dl_ui_background.h128 行定义.

◆ GetSize()

Size dl::Background::GetSize ( )
inline

在文件 dl_ui_background.h90 行定义.

◆ IsPickup()

bool dl::Background::IsPickup ( )
inline

在文件 dl_ui_background.h159 行定义.

◆ Render()

void dl::Background::Render ( )
inline

在文件 dl_ui_background.h172 行定义.

◆ Set() [1/2]

void dl::Background::Set ( gcSprite  spr)
inline

在文件 dl_ui_background.h55 行定义.

◆ Set() [2/2]

void dl::Background::Set ( Sprite9 spr9)
inline

在文件 dl_ui_background.h67 行定义.

◆ SetExtra()

void dl::Background::SetExtra ( const Point extra)
inline

设置额外大小

注解
一般来说还要设置偏移,以居中

在文件 dl_ui_background.h136 行定义.

◆ SetOffset()

void dl::Background::SetOffset ( const Point offset)
inline

设置偏移

在文件 dl_ui_background.h124 行定义.

◆ SetOrder()

void dl::Background::SetOrder ( float  order)
inline

在文件 dl_ui_background.h187 行定义.

◆ SetSize()

void dl::Background::SetSize ( const Size size)
inline

在文件 dl_ui_background.h107 行定义.

◆ SetUI()

void dl::Background::SetUI ( bool  ui)
inline

在文件 dl_ui_background.h202 行定义.


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