update docs

This commit is contained in:
speedie 2023-04-22 00:20:49 +02:00
parent fc6d479cb3
commit a4d439976a
5 changed files with 19 additions and 10 deletions

Binary file not shown.

View file

@ -193,6 +193,8 @@ id="toc-drawable-context-functions">Drawable context functions</a></li>
functions</a></li> functions</a></li>
<li><a href="#map-functions" id="toc-map-functions">Map <li><a href="#map-functions" id="toc-map-functions">Map
functions</a></li> functions</a></li>
<li><a href="#removed-functions" id="toc-removed-functions">Removed
functions</a></li>
</ul></li> </ul></li>
</ul> </ul>
</nav> </nav>
@ -442,12 +444,6 @@ alpha.</li>
</ul> </ul>
<h2 id="drawable-context-functions">Drawable context functions</h2> <h2 id="drawable-context-functions">Drawable context functions</h2>
<ul> <ul>
<li>~~<code>drw_setfont(Drw *drw, Fnt *set);</code>
<ul>
<li>Sets the font.</li>
<li>NOTE: Applies only if Pango is disabled.~~</li>
<li>Removed, no longer necessary.</li>
</ul></li>
<li><code>drw_setscheme(Drw *drw, Clr *scm);</code> <li><code>drw_setscheme(Drw *drw, Clr *scm);</code>
<ul> <ul>
<li>Sets the color scheme to <code>*scm</code> created by <li>Sets the color scheme to <code>*scm</code> created by
@ -474,5 +470,14 @@ useful shapes, such as a cursor.</li>
<li>Maps the drawable. (makes it visible)</li> <li>Maps the drawable. (makes it visible)</li>
</ul></li> </ul></li>
</ul> </ul>
<h2 id="removed-functions">Removed functions</h2>
<p>Various functions that have been removed for some reason.</p>
<ul>
<li><code>drw_setfont(Drw *drw, Fnt *set);</code>
<ul>
<li>Sets the font.</li>
<li>NOTE: Applies only if Pango is disabled.</li>
</ul></li>
</ul>
</body> </body>
</html> </html>

BIN
code.pdf

Binary file not shown.

View file

@ -143,10 +143,6 @@ size_t clrcount);`
## Drawable context functions ## Drawable context functions
- ~~`drw_setfont(Drw *drw, Fnt *set);`
- Sets the font.
- NOTE: Applies only if Pango is disabled.~~
- Removed, no longer necessary.
- `drw_setscheme(Drw *drw, Clr *scm);` - `drw_setscheme(Drw *drw, Clr *scm);`
- Sets the color scheme to `*scm` created by `drw_scm_create()` - Sets the color scheme to `*scm` created by `drw_scm_create()`
@ -165,3 +161,11 @@ int lpad, const char *text, int invert, Bool markup);`
- `drw_map(Drw *drw, Window win, int x, int y, unsigned int w, unsigned int h);` - `drw_map(Drw *drw, Window win, int x, int y, unsigned int w, unsigned int h);`
- Maps the drawable. (makes it visible) - Maps the drawable. (makes it visible)
## Removed functions
Various functions that have been removed for some reason.
- `drw_setfont(Drw *drw, Fnt *set);`
- Sets the font.
- NOTE: Applies only if Pango is disabled.

Binary file not shown.