Skip to content

Commit 10b18af

Browse files
authored
Merge pull request #127 from ufrshubham/master
Adding Window::ClearBackground
2 parents de0f578 + 8e0c971 commit 10b18af

File tree

175 files changed

+357
-342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+357
-342
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ int main() {
2222
{
2323
BeginDrawing();
2424

25-
ClearBackground(RAYWHITE);
25+
window.ClearBackground(RAYWHITE);
2626

2727
DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
2828

docs/_audio_device_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
<div class="ttc" id="aclassraylib_1_1_audio_device_html_a5555c3a41868046ea8b6ff08195f21bc"><div class="ttname"><a href="classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc">raylib::AudioDevice::IsReady</a></div><div class="ttdeci">bool IsReady() const</div><div class="ttdoc">Check if audio device has been initialized successfully.</div><div class="ttdef"><b>Definition:</b> <a href="_audio_device_8hpp_source.html#l00049">AudioDevice.hpp:49</a></div></div>
123123
<!-- start footer part -->
124124
<hr class="footer"/><address class="footer"><small>
125-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
125+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
126126
<img class="footer" src="doxygen.png" alt="doxygen"/>
127127
</a> 1.8.17
128128
</small></address>

docs/_audio_stream_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
<div class="ttc" id="aclassraylib_1_1_audio_stream_html_a256bc095aacdf0234f5dcb6a764822be"><div class="ttname"><a href="classraylib_1_1_audio_stream.html#a256bc095aacdf0234f5dcb6a764822be">raylib::AudioStream::AudioStream</a></div><div class="ttdeci">AudioStream(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels)</div><div class="ttdoc">Init audio stream (to stream raw audio pcm data)</div><div class="ttdef"><b>Definition:</b> <a href="_audio_stream_8hpp_source.html#l00020">AudioStream.hpp:20</a></div></div>
182182
<!-- start footer part -->
183183
<hr class="footer"/><address class="footer"><small>
184-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
184+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
185185
<img class="footer" src="doxygen.png" alt="doxygen"/>
186186
</a> 1.8.17
187187
</small></address>

docs/_bounding_box_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
<div class="ttc" id="aclassraylib_1_1_bounding_box_html_aee231bf2caca8ab6e4cb6be1f93874c3"><div class="ttname"><a href="classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3">raylib::BoundingBox::CheckCollision</a></div><div class="ttdeci">bool CheckCollision(const ::Ray &amp;ray) const</div><div class="ttdoc">Detect collision between ray and bounding box.</div><div class="ttdef"><b>Definition:</b> <a href="_bounding_box_8hpp_source.html#l00062">BoundingBox.hpp:62</a></div></div>
140140
<!-- start footer part -->
141141
<hr class="footer"/><address class="footer"><small>
142-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
142+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
143143
<img class="footer" src="doxygen.png" alt="doxygen"/>
144144
</a> 1.8.17
145145
</small></address>

docs/_camera2_d_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
<div class="ttc" id="aclassraylib_1_1_camera2_d_html_ad0ceb4263e2bf5a04686e1cae27f4c64"><div class="ttname"><a href="classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64">raylib::Camera2D::GetWorldToScreen</a></div><div class="ttdeci">Vector2 GetWorldToScreen(::Vector2 position) const</div><div class="ttdoc">Returns the screen space position for a 3d world space position.</div><div class="ttdef"><b>Definition:</b> <a href="_camera2_d_8hpp_source.html#l00057">Camera2D.hpp:57</a></div></div>
148148
<!-- start footer part -->
149149
<hr class="footer"/><address class="footer"><small>
150-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
150+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
151151
<img class="footer" src="doxygen.png" alt="doxygen"/>
152152
</a> 1.8.17
153153
</small></address>

docs/_camera3_d_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
<div class="ttc" id="aclassraylib_1_1_camera3_d_html_a6259d44a0a9b08d842fb30530dea19cc"><div class="ttname"><a href="classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc">raylib::Camera3D::GetWorldToScreen</a></div><div class="ttdeci">Vector2 GetWorldToScreen(::Vector3 position) const</div><div class="ttdoc">Returns the screen space position for a 3d world space position.</div><div class="ttdef"><b>Definition:</b> <a href="_camera3_d_8hpp_source.html#l00124">Camera3D.hpp:124</a></div></div>
221221
<!-- start footer part -->
222222
<hr class="footer"/><address class="footer"><small>
223-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
223+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
224224
<img class="footer" src="doxygen.png" alt="doxygen"/>
225225
</a> 1.8.17
226226
</small></address>

docs/_color_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
<div class="ttc" id="aclassraylib_1_1_color_html_ad922c14839a64fc49597059855edb76b"><div class="ttname"><a href="classraylib_1_1_color.html#ad922c14839a64fc49597059855edb76b">raylib::Color::Color</a></div><div class="ttdeci">Color(int hexValue)</div><div class="ttdoc">Get Color structure from hexadecimal value.</div><div class="ttdef"><b>Definition:</b> <a href="_color_8hpp_source.html#l00048">Color.hpp:48</a></div></div>
303303
<!-- start footer part -->
304304
<hr class="footer"/><address class="footer"><small>
305-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
305+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
306306
<img class="footer" src="doxygen.png" alt="doxygen"/>
307307
</a> 1.8.17
308308
</small></address>

docs/_font_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
<div class="ttc" id="aclassraylib_1_1_font_html_a1714ea67ea3913a27fd7f5283bcdbbb4"><div class="ttname"><a href="classraylib_1_1_font.html#a1714ea67ea3913a27fd7f5283bcdbbb4">raylib::Font::DrawText</a></div><div class="ttdeci">Font &amp; DrawText(const std::string &amp;text, ::Rectangle rec, float fontSize, float spacing, bool wordWrap, ::Color tint, int selectStart, int selectLength, ::Color selectText, ::Color selectBack)</div><div class="ttdoc">Draw text using font inside rectangle limits with support for text selection.</div><div class="ttdef"><b>Definition:</b> <a href="_font_8hpp_source.html#l00079">Font.hpp:79</a></div></div>
198198
<!-- start footer part -->
199199
<hr class="footer"/><address class="footer"><small>
200-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
200+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
201201
<img class="footer" src="doxygen.png" alt="doxygen"/>
202202
</a> 1.8.17
203203
</small></address>

docs/_functions_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
<div class="ttc" id="anamespaceraylib_html_afe0adc469dc76944514cda9878393457"><div class="ttname"><a href="namespaceraylib.html#afe0adc469dc76944514cda9878393457">raylib::GetClipboardText</a></div><div class="ttdeci">static std::string GetClipboardText()</div><div class="ttdoc">Get clipboard text content.</div><div class="ttdef"><b>Definition:</b> <a href="_functions_8hpp_source.html#l00052">Functions.hpp:52</a></div></div>
262262
<!-- start footer part -->
263263
<hr class="footer"/><address class="footer"><small>
264-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
264+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
265265
<img class="footer" src="doxygen.png" alt="doxygen"/>
266266
</a> 1.8.17
267267
</small></address>

docs/_gamepad_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
<div class="ttc" id="aclassraylib_1_1_gamepad_html_a51ffa43549a2767723bdc8e780483c85"><div class="ttname"><a href="classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85">raylib::Gamepad::IsAvailable</a></div><div class="ttdeci">static bool IsAvailable(int number)</div><div class="ttdoc">Detect if a gamepad is available.</div><div class="ttdef"><b>Definition:</b> <a href="_gamepad_8hpp_source.html#l00044">Gamepad.hpp:44</a></div></div>
174174
<!-- start footer part -->
175175
<hr class="footer"/><address class="footer"><small>
176-
Generated on Wed Mar 24 2021 01:42:06 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
176+
Generated on Mon Apr 5 2021 19:25:21 for raylib-cpp by &#160;<a href="http://www.doxygen.org/index.html">
177177
<img class="footer" src="doxygen.png" alt="doxygen"/>
178178
</a> 1.8.17
179179
</small></address>

0 commit comments

Comments
 (0)