/usr/share/doc/renpy/html/skins.html is in renpy-doc 6.15.7-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Skins — Ren'Py Documentation</title>
<link rel="stylesheet" href="_static/screen.css" type="text/css" media="screen, projection"/>
<link rel="stylesheet" href="_static/renpydoc.css" type="text/css" media="print" />
<!--[if lt IE 8]>
<link rel="stylesheet" href="_static/renpydoc.css" type="text/css" media="screen, projection"/>
<![endif]-->
<link rel="stylesheet" href="_static/renpydoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '6.15.6',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="Ren'Py Documentation" href="index.html" />
<link rel="next" title="Full Changelog" href="changelog.html" />
<link rel="prev" title="Text Editor Integration" href="editor.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="changelog.html" title="Full Changelog"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="editor.html" title="Text Editor Integration"
accesskey="P">previous</a> |</li>
<li> <img src="_static/logo.png" width=19 height=21 align=center>
<li> <a href="http://www.renpy.org/">Ren'Py Home</a> |
<li><a href="index.html">Ren'Py Documentation</a></li>
</ul>
</div>
<div class="container">
<div class="span4">
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="editor.html"
title="previous chapter">Text Editor Integration</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="changelog.html"
title="next chapter">Full Changelog</a></p>
<h4>Search</h4>
<div id="cse-search-form" style="width: 100%;"></div>
<div class="copydata">
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
<br>
</div>
</div>
</div>
</div>
<div class="document span20 last">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="skins">
<span id="id1"></span><h1>Skins<a class="headerlink" href="#skins" title="Permalink to this headline">ΒΆ</a></h1>
<p>Ren'Py supports skinning the launcher - changing what the launcher
looks like. To do this, follow the following steps:</p>
<p>Skins are specific to the Ren'Py version in use, and can't be
expected to be forward or backwards compatible.</p>
<ol class="arabic">
<li><p class="first">Open the launcher in the launcher. This can be done from the
preferences screen.</p>
</li>
<li><p class="first">Create the skin.rpy script file.</p>
</li>
<li><p class="first">Copy the following code into skin.rpy:</p>
<div class="highlight-renpy"><div class="highlight"><pre><span class="k">init</span> <span class="k">python</span><span class="p">:</span>
<span class="c"># The color of non-interactive text.</span>
<span class="n">TEXT</span> <span class="o">=</span> <span class="s">"#545454"</span>
<span class="c"># Colors for buttons in various states.</span>
<span class="n">IDLE</span> <span class="o">=</span> <span class="s">"#42637b"</span>
<span class="n">HOVER</span> <span class="o">=</span> <span class="s">"#d86b45"</span>
<span class="n">DISABLED</span> <span class="o">=</span> <span class="s">"#808080"</span>
<span class="c"># Colors for reversed text buttons (selected list entries).</span>
<span class="n">REVERSE_IDLE</span> <span class="o">=</span> <span class="s">"#78a5c5"</span>
<span class="n">REVERSE_HOVER</span> <span class="o">=</span> <span class="s">"#d86b45"</span>
<span class="n">REVERSE_TEXT</span> <span class="o">=</span> <span class="s">"#ffffff"</span>
<span class="c"># Colors for the scrollbar thumb.</span>
<span class="n">SCROLLBAR_IDLE</span> <span class="o">=</span> <span class="s">"#dfdfdf"</span>
<span class="n">SCROLLBAR_HOVER</span> <span class="o">=</span> <span class="s">"#d86b45"</span>
<span class="c"># An image used as a separator pattern.</span>
<span class="n">PATTERN</span> <span class="o">=</span> <span class="s">"pattern.png"</span>
<span class="c"># A displayable used for the background of everything.</span>
<span class="n">BACKGROUND</span> <span class="o">=</span> <span class="s">"background.png"</span>
<span class="c"># A displayable used for the background of windows</span>
<span class="c"># containing commands, preferences, and navigation info.</span>
<span class="n">WINDOW</span> <span class="o">=</span> <span class="n">Frame</span><span class="p">(</span><span class="s">"window.png"</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="n">tile</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span>
<span class="c"># A displayable used for the background of the projects list.</span>
<span class="n">PROJECTS_WINDOW</span> <span class="o">=</span> <span class="n">Null</span><span class="p">()</span>
<span class="c"># A displayable used the background of information boxes.</span>
<span class="n">INFO_WINDOW</span> <span class="o">=</span> <span class="s">"#f9f9f9"</span>
<span class="c"># Colors for the titles of information boxes.</span>
<span class="n">ERROR_COLOR</span> <span class="o">=</span> <span class="s">"#d15353"</span>
<span class="n">INFO_COLOR</span> <span class="o">=</span> <span class="s">"#545454"</span>
<span class="n">INTERACTION_COLOR</span> <span class="o">=</span> <span class="s">"#d19753"</span>
<span class="n">QUESTION_COLOR</span> <span class="o">=</span> <span class="s">"#d19753"</span>
<span class="c"># The color of input text.</span>
<span class="n">INPUT_COLOR</span> <span class="o">=</span> <span class="s">"#d86b45"</span>
</pre></div>
</div>
</li>
</ol>
<ol class="arabic simple" start="4">
<li>Modify skin.rpy to skin the launcher. Place the image files you use
into the launcher's game directory.</li>
</ol>
<p>An incorrect skin.rpy file could prevent the launcher from
starting. To fix it, you'll need to remove skin.rpy and skin.rpyc from
the launcher's game directory, start the launcher, and then put them
back.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="changelog.html" title="Full Changelog"
>next</a> |</li>
<li class="right" >
<a href="editor.html" title="Text Editor Integration"
>previous</a> |</li>
<li> <img src="_static/logo.png" width=19 height=21 align=center>
<li> <a href="http://www.renpy.org/">Ren'Py Home</a> |
<li><a href="index.html">Ren'Py Documentation</a></li>
</ul>
</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'en' });
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('012476843541036121001:gx3sqkoaxkm');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
var options = new google.search.DrawOptions();
options.enableSearchboxOnly("http://www.google.com/cse?cx=012476843541036121001:gx3sqkoaxkm");
customSearchControl.draw('cse-search-form', options);
}, true);
</script>
</body>
</html>
|