Skip to content

Commit 85b19d7

Browse files
committed
initial commit
1 parent 2e3451b commit 85b19d7

File tree

4 files changed

+499
-0
lines changed

4 files changed

+499
-0
lines changed

_layout.html5

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!DOCTYPE html>
2+
<html$if(lang)$ lang="$lang$"$endif$>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="generator" content="pandoc">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
7+
$for(author-meta)$
8+
<meta name="author" content="$author-meta$">
9+
$endfor$
10+
$if(date-meta)$
11+
<meta name="dcterms.date" content="$date-meta$">
12+
$endif$
13+
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
14+
<style type="text/css">code{white-space: pre;}</style>
15+
<!--[if lt IE 9]>
16+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
17+
<![endif]-->
18+
$if(quotes)$
19+
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
20+
$endif$
21+
$if(highlighting-css)$
22+
<style type="text/css">
23+
$highlighting-css$
24+
</style>
25+
$endif$
26+
$for(css)$
27+
<link rel="stylesheet" href="$css$">
28+
$endfor$
29+
$if(math)$
30+
$math$
31+
$endif$
32+
$for(header-includes)$
33+
$header-includes$
34+
$endfor$
35+
</head>
36+
<body>
37+
$for(include-before)$
38+
$include-before$
39+
$endfor$
40+
$if(title)$
41+
<header>
42+
<h1 class="title">$title$</h1>
43+
$if(subtitle)$
44+
<h1 class="subtitle">$subtitle$</h1>
45+
$endif$
46+
$for(author)$
47+
<h2 class="author">$author$</h2>
48+
$endfor$
49+
$if(date)$
50+
<h3 class="date">$date$</h3>
51+
$endif$
52+
</header>
53+
$endif$
54+
$if(toc)$
55+
<nav id="$idprefix$TOC">
56+
$toc$
57+
</nav>
58+
$endif$
59+
$body$
60+
$for(include-after)$
61+
$include-after$
62+
$endfor$
63+
</body>
64+
</html>

index.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<html>
2+
<head>
3+
<title></title>
4+
<frameset rows="100%, 0" style="border: 0px">
5+
<frame name="visibleframe" src="main.html" noresize="noresize"></frame>
6+
<frame name="hiddenframe" src="about:blank" noresize="noresize"></frame>
7+
</frameset>
8+
</head>
9+
</html>

main.html

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5+
<title>Cocos2d-x Programmers Guide</title>
6+
7+
<meta name="keywords" content="" />
8+
<meta name="description" content="" />
9+
10+
<style type="text/css">
11+
html {
12+
}
13+
body {
14+
background-color: #fdf6e3;
15+
margin: 0 auto;
16+
font-family: Georgia, Palatino, serif;
17+
color: #444444;
18+
line-height: 1.2; /*Jason was 1 */
19+
max-width: 960px;
20+
padding: 30px;
21+
}
22+
code {
23+
background-color: #eee8d5;
24+
padding: 2px;
25+
}
26+
27+
#wrap {
28+
width:900px;
29+
margin:0 auto;
30+
}
31+
#left_col {
32+
float:left;
33+
width:250px;
34+
}
35+
#right_col {
36+
float:right;
37+
width:650px;
38+
}
39+
a {
40+
color: #b58900;
41+
margin: 0;
42+
padding: 0;
43+
vertical-align: baseline;
44+
text-decoration: none;
45+
}
46+
a:hover {
47+
text-decoration: none;
48+
color: #cb4b16;
49+
}
50+
a:visited {
51+
color: #cb4b16;
52+
}
53+
ul, ol {
54+
padding: 0;
55+
margin: 0;
56+
list-style-type: none;
57+
}
58+
li {
59+
line-height: 24px;
60+
list-style-type: none;
61+
}
62+
li ul, li ul {
63+
height: 1%;
64+
list-style-type: none;
65+
margin-left: 24px;
66+
display: block;
67+
padding: 5px 10px;
68+
color: #59503e;
69+
text-decoration: none;
70+
font-weight: bold;
71+
}
72+
</style>
73+
74+
</head>
75+
<body>
76+
77+
<div id="wrap">
78+
<div id="left_col">
79+
<h2>Chapters</h2>
80+
<ul>
81+
<li><a href="intro.html" target="inlineframe">Intro</a></li>
82+
<li><a href="1.html" target="inlineframe">Ch 1: About Cocos2d-x</a></li>
83+
<li><a href="2.html" target="inlineframe">Ch 2: Basic Concepts</a></li>
84+
<li><a href="3.html" target="inlineframe">Ch 3: Sprites</a></li>
85+
<li><a href="4.html" target="inlineframe">Ch 4: Actions</a></li>
86+
<li><a href="5.html" target="inlineframe">Ch 5: Scenes</a></li>
87+
<li><a href="6.html" target="inlineframe">Ch 6: UI</a></li>
88+
<li><a href="7.html" target="inlineframe">Ch 7: Other Node Types</a></li>
89+
<li><a href="8.html" target="inlineframe">Ch 8: Event Dispatch</a></li>
90+
<li><a href="9.html" target="inlineframe">Ch 9: 3D</a></li>
91+
<li><a href="10.html" target="inlineframe">Ch 10: Lua</a></li>
92+
<li><a href="11.html" target="inlineframe">Ch 11: Services</a></li>
93+
<li><a href="12.html" target="inlineframe">Ch 12: Physics</a></li>
94+
<li><a href="13.html" target="inlineframe">Ch 13: Audio</a></li>
95+
<li><a href="14.html" target="inlineframe">Ch 14: Advanced Topics</a></li>
96+
<li><a href="A.html" target="inlineframe">Appx A: Prerequisites</a></li>
97+
<li><a href="B.html" target="inlineframe">Appx B: Android (Terminal) Setup</a></li>
98+
<li><a href="C.html" target="inlineframe">Appx C: Android (Eclipse) Setup</a></li>
99+
<li><a href="D.html" target="inlineframe">Appx D: iOS Setup</a></li>
100+
<li><a href="E.html" target="inlineframe">Appx E: Mac OSX Setup</a></li>
101+
<li><a href="F.html" target="inlineframe">Appx F: Linux Setup</a></li>
102+
<li><a href="G.html" target="inlineframe">Appx G: Windows Setup</a></li>
103+
<li><a href="H.html" target="inlineframe">Appx H: Windows Phone Setup</a></li>
104+
<li><a href="I.html" target="inlineframe">Appx I: New/Empty Project</a></li>
105+
</ul>
106+
</div>
107+
<div id="right_col">
108+
<iframe name="inlineframe" src="intro.html" frameborder="0" scrolling="auto" width=900 height=800 marginwidth=5 marginheight=5 ></iframe>
109+
</div>
110+
</div>
111+
112+
</html>

0 commit comments

Comments
 (0)