forked from len0rd/rockbox
Add Rockbox layout to plugin API documentation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18754 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e7ea23b180
commit
c626f47cb5
4 changed files with 212 additions and 78 deletions
|
@ -2221,8 +2221,8 @@ int snprintf(char *buf, size_t size, const char *fmt, ...) ATTRIBUTE_PRINTF(3, 4
|
|||
\param buf
|
||||
\param size
|
||||
\param fmt
|
||||
\return the number of characters printed or that would have been printed if the output was truncated (not including the trailing '\0') upon success
|
||||
\description Write a formatted string =fmt= in buffer =buf= of size =size= (including the trailing '\0'). These support %c, %s, %d and %x only with the width and zero padding flag only.
|
||||
\return the number of characters printed or that would have been printed if the output was truncated (not including the trailing NULL character) upon success
|
||||
\description Write a formatted string =fmt= in buffer =buf= of size =size= (including the trailing NULL character). These support %c, %s, %d and %x only with the width and zero padding flag only.
|
||||
|
||||
int sound_default(int setting)
|
||||
\group sound
|
||||
|
|
|
@ -2,10 +2,75 @@
|
|||
<html>
|
||||
<head>
|
||||
<link href="layout.css" rel="stylesheet" type="text/css" />
|
||||
<title>Plugin API - INDEX</title>
|
||||
<link rel="STYLESHEET" type="text/css" href="http://www.rockbox.org/style.css">
|
||||
<link rel="shortcut icon" href="http://www.rockbox.org/favicon.ico">
|
||||
<title>Rockbox Plugin API - INDEX</title>
|
||||
<meta name="author" content="Rockbox Contributors">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table border=0 cellpadding=7 cellspacing=0>
|
||||
<tr valign="top">
|
||||
<td bgcolor="#6887bb" valign="top">
|
||||
<br>
|
||||
<div align="center"><a href="http://www.rockbox.org/">
|
||||
<img src="http://www.rockbox.org/rockbox100.png" width=99 height=30 border=0 alt="Rockbox.org home"></a>
|
||||
</div>
|
||||
<div style="margin-top:20px">
|
||||
<div class="submenu">
|
||||
Downloads
|
||||
</div>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/package.png' align='top'> <a class="menulink" href="http://www.rockbox.org/download/">releases</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/bomb.png' align='top'> <a class="menulink" href="http://build.rockbox.org">current build</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/style.png' align='top'> <a class="menulink" href="http://www.rockbox.org/twiki/bin/view/Main/RockboxExtras">extras</a>
|
||||
<div class="submenu">
|
||||
Documentation
|
||||
|
||||
</div>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/page_white_acrobat.png' align='top'> <a class="menulink" href="http://www.rockbox.org/manual.shtml">manual</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/application_edit.png' align='top'> <a class="menulink" href="http://www.rockbox.org/twiki/">wiki</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/book_open.png' align='top'> <a class="menulink" href="http://www.rockbox.org/twiki/bin/view/Main/DocsIndex">docs index</a>
|
||||
<div class="submenu">
|
||||
Support
|
||||
</div>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/email.png' align='top'> <a class="menulink" href="http://www.rockbox.org/mail/">mailing lists</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/group.png' align='top'> <a class="menulink" href="http://www.rockbox.org/irc/">IRC</a><br>
|
||||
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/comment_edit.png' align='top'> <a class="menulink" href="http://forums.rockbox.org/">forums</a>
|
||||
<div class="submenu">
|
||||
Tracker
|
||||
</div>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/bug.png' align='top'> <a class="menulink" href="http://www.rockbox.org/tracker/index.php?type=2">bugs</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/brick.png' align='top'> <a class="menulink" href="http://www.rockbox.org/tracker/index.php?type=4">patches</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/lightbulb.png' align='top'> <a class="menulink" href="http://www.rockbox.org/tracker/index.php?type=1">requests</a><br>
|
||||
<div class="submenu">
|
||||
Search
|
||||
</div>
|
||||
|
||||
<form id="fsform" action="http://www.rockbox.org/tracker/index.php" method="get" onSubmit="return fsstrip();">
|
||||
<input id="taskid" name="show_task" type="text" size="10" maxlength="10" accesskey="t"><br>
|
||||
<input class="mainbutton" type="submit" value="Flyspray #">
|
||||
</form>
|
||||
<br>
|
||||
<form action="http://www.google.com/search">
|
||||
<input name=as_q size=10><br>
|
||||
<input value="Search" type=submit>
|
||||
<input type=hidden name=as_sitesearch value="www.rockbox.org">
|
||||
</form>
|
||||
<p><form action="https://www.paypal.com/cgi-bin/webscr" method="get">
|
||||
<input type="hidden" name="cmd" value="_xclick">
|
||||
<input type="hidden" name="business" value="bjorn@haxx.se">
|
||||
<input type="hidden" name="item_name" value="Donation to the Rockbox project">
|
||||
<input type="hidden" name="no_shipping" value="1">
|
||||
<input type="hidden" name="cn" value="Note to the Rockbox team">
|
||||
<input type="hidden" name="currency_code" value="USD">
|
||||
|
||||
<input type="hidden" name="tax" value="0">
|
||||
<input type="image" src="http://www.rockbox.org/paypal-donate.gif" name="submit">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
<td class="plugincontent">
|
||||
<h1>Plugin API reference</h1>
|
||||
<ul>
|
||||
%GROUP_START%
|
||||
|
@ -18,6 +83,8 @@
|
|||
</li>
|
||||
%GROUP_END%
|
||||
</ul>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,77 +1,77 @@
|
|||
body
|
||||
.plugincontent
|
||||
{
|
||||
font-family: Verdana;
|
||||
}
|
||||
|
||||
li
|
||||
.plugincontent li
|
||||
{
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
code
|
||||
.plugincontent code
|
||||
{
|
||||
color: #00A;
|
||||
}
|
||||
|
||||
.see, .see a
|
||||
.plugincontent .see, .plugincontent .see a
|
||||
{
|
||||
color: #559;
|
||||
}
|
||||
|
||||
.group
|
||||
.plugincontent .group
|
||||
{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.group h3
|
||||
.plugincontent .group h3
|
||||
{
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
h2
|
||||
.plugincontent h2
|
||||
{
|
||||
color: #D11;
|
||||
}
|
||||
|
||||
a
|
||||
.plugincontent a
|
||||
{
|
||||
color: blue;
|
||||
}
|
||||
|
||||
a:hover
|
||||
.plugincontent a:hover
|
||||
{
|
||||
color: red;
|
||||
}
|
||||
|
||||
.top
|
||||
.plugincontent .top
|
||||
{
|
||||
font-size: 10px;
|
||||
color: green;
|
||||
}
|
||||
|
||||
.extra
|
||||
.plugincontent .extra
|
||||
{
|
||||
font-weight: bold;
|
||||
color: #992;
|
||||
}
|
||||
|
||||
dl
|
||||
.plugincontent dl
|
||||
{
|
||||
border-left: 1px solid #CCC;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
dt, dd
|
||||
.plugincontent dt, .plugincontent dd
|
||||
{
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
dd
|
||||
.plugincontent dd
|
||||
{
|
||||
margin-left: 12em;
|
||||
}
|
||||
|
||||
dt
|
||||
.plugincontent dt
|
||||
{
|
||||
clear: left;
|
||||
display: block;
|
||||
|
@ -80,29 +80,28 @@ dt
|
|||
width: 12em;
|
||||
}
|
||||
|
||||
hr
|
||||
.plugincontent hr
|
||||
{
|
||||
border: 1px solid #CCCCCC;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
#content
|
||||
.plugincontent #content
|
||||
{
|
||||
margin-left: 14em;
|
||||
margin-right: 1em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#menu
|
||||
.plugincontent #menu
|
||||
{
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
position: absolute;
|
||||
left: 120px; /* I hate IE */
|
||||
width: 14em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#menu ul
|
||||
.plugincontent #menu ul
|
||||
{
|
||||
padding-left: 1em;
|
||||
}
|
|
@ -2,13 +2,79 @@
|
|||
<html>
|
||||
<head>
|
||||
<link href="layout.css" rel="stylesheet" type="text/css" />
|
||||
<title>Plugin API - %GROUP_NAME%</title>
|
||||
<link rel="STYLESHEET" type="text/css" href="http://www.rockbox.org/style.css">
|
||||
<link rel="shortcut icon" href="http://www.rockbox.org/favicon.ico">
|
||||
<title>Rockbox Plugin API - %GROUP_NAME%</title>
|
||||
<meta name="author" content="Rockbox Contributors">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table border=0 cellpadding=7 cellspacing=0>
|
||||
<tr valign="top">
|
||||
<td bgcolor="#6887bb" valign="top">
|
||||
<br>
|
||||
<div align="center">
|
||||
<a href="http://www.rockbox.org/">
|
||||
<img src="http://www.rockbox.org/rockbox100.png" width=99 height=30 border=0 alt="Rockbox.org home"></a>
|
||||
</div>
|
||||
<div style="margin-top:20px">
|
||||
<div class="submenu">
|
||||
Downloads
|
||||
</div>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/package.png' align='top'> <a class="menulink" href="http://www.rockbox.org/download/">releases</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/bomb.png' align='top'> <a class="menulink" href="http://build.rockbox.org">current build</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/style.png' align='top'> <a class="menulink" href="http://www.rockbox.org/twiki/bin/view/Main/RockboxExtras">extras</a>
|
||||
<div class="submenu">
|
||||
Documentation
|
||||
|
||||
</div>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/page_white_acrobat.png' align='top'> <a class="menulink" href="http://www.rockbox.org/manual.shtml">manual</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/application_edit.png' align='top'> <a class="menulink" href="http://www.rockbox.org/twiki/">wiki</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/book_open.png' align='top'> <a class="menulink" href="http://www.rockbox.org/twiki/bin/view/Main/DocsIndex">docs index</a>
|
||||
<div class="submenu">
|
||||
Support
|
||||
</div>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/email.png' align='top'> <a class="menulink" href="http://www.rockbox.org/mail/">mailing lists</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/group.png' align='top'> <a class="menulink" href="http://www.rockbox.org/irc/">IRC</a><br>
|
||||
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/comment_edit.png' align='top'> <a class="menulink" href="http://forums.rockbox.org/">forums</a>
|
||||
<div class="submenu">
|
||||
Tracker
|
||||
</div>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/bug.png' align='top'> <a class="menulink" href="http://www.rockbox.org/tracker/index.php?type=2">bugs</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/brick.png' align='top'> <a class="menulink" href="http://www.rockbox.org/tracker/index.php?type=4">patches</a><br>
|
||||
<img width=16 height=16 src='http://www.rockbox.org/silk_icons/lightbulb.png' align='top'> <a class="menulink" href="http://www.rockbox.org/tracker/index.php?type=1">requests</a><br>
|
||||
<div class="submenu">
|
||||
Search
|
||||
</div>
|
||||
|
||||
<form id="fsform" action="http://www.rockbox.org/tracker/index.php" method="get" onSubmit="return fsstrip();">
|
||||
<input id="taskid" name="show_task" type="text" size="10" maxlength="10" accesskey="t"><br>
|
||||
<input class="mainbutton" type="submit" value="Flyspray #">
|
||||
</form>
|
||||
<br>
|
||||
<form action="http://www.google.com/search">
|
||||
<input name=as_q size=10><br>
|
||||
<input value="Search" type=submit>
|
||||
<input type=hidden name=as_sitesearch value="www.rockbox.org">
|
||||
</form>
|
||||
<p><form action="https://www.paypal.com/cgi-bin/webscr" method="get">
|
||||
<input type="hidden" name="cmd" value="_xclick">
|
||||
<input type="hidden" name="business" value="bjorn@haxx.se">
|
||||
<input type="hidden" name="item_name" value="Donation to the Rockbox project">
|
||||
<input type="hidden" name="no_shipping" value="1">
|
||||
<input type="hidden" name="cn" value="Note to the Rockbox team">
|
||||
<input type="hidden" name="currency_code" value="USD">
|
||||
|
||||
<input type="hidden" name="tax" value="0">
|
||||
<input type="image" src="http://www.rockbox.org/paypal-donate.gif" name="submit">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
<td class="plugincontent">
|
||||
<div id="menu">%MENU%</div>
|
||||
<div id="content">
|
||||
<a link="top"></a>
|
||||
<a id="top"></a>
|
||||
<h2>%GROUP_NAME%</h2>
|
||||
<span class="group">
|
||||
%FUNCTION_START%
|
||||
|
@ -42,9 +108,11 @@
|
|||
%SEE_END%
|
||||
|
||||
<a href="#top" class="top">To top</a><hr />
|
||||
|
||||
%FUNCTION_END%
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue