PuzzleSDK
FontTest.cpp 文件参考
#include "FontTest.h"
#include "../testResource.h"
#include "2d/CCFontAtlasCache.h"
#include "2d/CCFontFreeType.h"
+ FontTest.cpp 的引用(Include)关系图:

浏览源代码.

枚举

enum  {
  kTagLabel1 , kTagLabel2 , kTagLabel3 , kTagLabel4 ,
  kTagColor1 , kTagColor2 , kTagColor3
}
 

变量

 USING_NS_CC
 
static std::string fontList []
 
static int vAlignIdx = 0
 
static TextVAlignment verticalAlignment []
 

枚举类型说明

◆ anonymous enum

anonymous enum
枚举值
kTagLabel1 
kTagLabel2 
kTagLabel3 
kTagLabel4 
kTagColor1 
kTagColor2 
kTagColor3 

在文件 FontTest.cpp32 行定义.

32 {
37
41};
@ kTagColor1
Definition: FontTest.cpp:38
@ kTagLabel4
Definition: FontTest.cpp:36
@ kTagColor2
Definition: FontTest.cpp:39
@ kTagLabel1
Definition: FontTest.cpp:33
@ kTagLabel3
Definition: FontTest.cpp:35
@ kTagLabel2
Definition: FontTest.cpp:34
@ kTagColor3
Definition: FontTest.cpp:40

变量说明

◆ fontList

std::string fontList[]
static
初始值:
=
{
"fonts/A Damn Mess.ttf",
"fonts/Abberancy.ttf",
"fonts/Abduction.ttf",
"fonts/Paint Boy.ttf",
"fonts/Schwarzwald.ttf",
"fonts/Scissor Cuts.ttf",
}

在文件 FontTest.cpp44 行定义.

◆ USING_NS_CC

USING_NS_CC

在文件 FontTest.cpp30 行定义.

◆ vAlignIdx

int vAlignIdx = 0
static

在文件 FontTest.cpp54 行定义.

被这些函数引用 FontTest::showFont().

◆ verticalAlignment

TextVAlignment verticalAlignment[]
static
初始值:
=
{
TextVAlignment::TOP,
TextVAlignment::CENTER,
TextVAlignment::BOTTOM,
}

在文件 FontTest.cpp55 行定义.

被这些函数引用 FontNoReplacementTest::onEnter() , 以及 FontTest::showFont().