Skip to content

Commit 5ca7266

Browse files
committed
Updated documentation
1 parent a2eefb7 commit 5ca7266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/classqsf_1_1QResourceStream.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ <h2 class="groupheader">Member Function Documentation</h2>
254254
</dd>
255255
</dl>
256256
<dl class="section return"><dt>Returns</dt><dd>Reference to *this (the same object).</dd></dl>
257-
<p>Opens a file and then returns reference, discards informations about file being opened properly. Such a structure allows writing code like that: </p><div class="fragment"><div class="line"><a class="code" href="classqsf_1_1QResourceStream.html#addfbb80ca88c26cc283d5d0d1fcb5a16">QResourceStream</a> resource;</div><div class="line"></div><div class="line"><span class="comment">/* Other code */</span></div><div class="line"></div><div class="line">someSprite.loadFromStream(resource(<span class="stringliteral">&quot;://BitFont.ttf&quot;</span>));</div><div class="line">someMusic.loadFromStream(resource(<span class="stringliteral">&quot;://BitMusic.wav&quot;</span>));</div></div><!-- fragment --><p> So you don't need to declare many instances of <a class="el" href="classqsf_1_1QResourceStream.html" title="sf::InputStream reading QResource files ">QResourceStream</a>. </p>
257+
<p>Opens a file and then returns reference, discards informations about file being opened properly. Such a structure allows writing code like that: </p><div class="fragment"><div class="line"><a class="code" href="classqsf_1_1QResourceStream.html#addfbb80ca88c26cc283d5d0d1fcb5a16">QResourceStream</a> resource;</div><div class="line"></div><div class="line"><span class="comment">/* Other code */</span></div><div class="line"></div><div class="line">someTexture.loadFromStream(resource(<span class="stringliteral">&quot;://BitTexture.png&quot;</span>));</div><div class="line">someMusic.loadFromStream(resource(<span class="stringliteral">&quot;://BitMusic.wav&quot;</span>));</div></div><!-- fragment --><p> So you don't need to declare many instances of <a class="el" href="classqsf_1_1QResourceStream.html" title="sf::InputStream reading QResource files ">QResourceStream</a>. </p>
258258

259259
</div>
260260
</div>

0 commit comments

Comments
 (0)