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

图形用户界面样式。 更多...

#include "YSLib/UI/ystyle.h"
#include "YSLib/UI/ywindow.h"
ystyle.cpp 的引用(Include)关系图:

浏览源代码.

函数

YSL_BEGIN bool DrawRectRoundCorner (const Graphics &g, const Point &pt, const Size &s, Color c)
 
void RectDrawArrow (const Graphics &g, const Point &pt, SDst half_size, Rotation rot, Color c)
 
void DrawArrow (const Graphics &g, const Rect &r, SDst half_size, Rotation rot, Color c)
 
void DrawCross (const Graphics &g, const Point &pt, const Size &s, Color c)
 
hsl_t ColorToHSL (Color c)
 
Color HSLToColor (hsl_t c)
 

详细描述

图形用户界面样式。

版本
r648
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 194
创建时间:
2010-05-01 13:52:56 +0800
修改时间:
2013-03-13 12:58 +0800
文本编码:
UTF-8
模块名称:
YSLib::UI::YStyle

在文件 ystyle.cpp 中定义.

函数说明

hsl_t ColorToHSL ( Color  c)

在文件 ystyle.cpp149 行定义.

参考 h.

参考自 YSL_BEGIN::RectDrawCheckBox().

这是这个函数的调用关系图:

void DrawArrow ( const Graphics &  g,
const Rect &  r,
SDst  half_size,
Rotation  rot,
Color  c 
)
void DrawCross ( const Graphics &  g,
const Point &  pt,
const Size &  s,
Color  c 
)

在文件 ystyle.cpp135 行定义.

参考 DrawLineSeg() , 以及 YB_LIKELY.

参考自 DecorateAsCloseButton().

函数调用图:

这是这个函数的调用关系图:

YSL_BEGIN bool DrawRectRoundCorner ( const Graphics &  g,
const Point &  pt,
const Size &  s,
Color  c 
)

在文件 ystyle.cpp38 行定义.

参考 DrawHLineSeg(),YSLib::Drawing::DrawPoint(),DrawVLineSeg() , 以及 YB_LIKELY.

参考自 YSL_BEGIN::RectDrawButton().

函数调用图:

这是这个函数的调用关系图:

Color HSLToColor ( hsl_t  c)

在文件 ystyle.cpp188 行定义.

参考自 DrawThumbBackground(),YSL_BEGIN::RectDrawButton() , 以及 YSL_BEGIN::RectDrawCheckBox().

这是这个函数的调用关系图:

void RectDrawArrow ( const Graphics &  g,
const Point &  pt,
SDst  half_size,
Rotation  rot,
Color  c 
)

在文件 ystyle.cpp64 行定义.

参考 DrawHLineSeg(),DrawVLineSeg(),YSLib::Drawing::RDeg0,YSLib::Drawing::RDeg180,YSLib::Drawing::RDeg270,YSLib::Drawing::RDeg90 , 以及 YAssert.

参考自 DrawArrow().

函数调用图:

这是这个函数的调用关系图: