Browse Source

Add a note about autoreleased canvases in the documentation.

tags/v0.99.beta17
Sam Hocevar sam 15 years ago
parent
commit
239593a070
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      doc/migrating.dox

+ 4
- 0
doc/migrating.dox View File

@@ -112,6 +112,8 @@ int main(void)

- \b caca_init(): use caca_create_canvas() to create a \e libcaca canvas,
followed by caca_create_display() to attach a \e libcaca display to it.
Alternatively, caca_create_display() with a NULL argument will create a
canvas automatically.
- \b caca_set_delay(): use caca_set_display_time().
- \b caca_get_feature(): deprecated.
- \b caca_set_feature(): deprecated, see caca_set_dither_antialias(),
@@ -128,6 +130,8 @@ int main(void)
- \b caca_refresh(): use caca_refresh_display().
- \b caca_end(): use caca_free_display() to detach the \e libcaca display,
followed by caca_free_canvas() to free the underlying \e libcaca canvas.
Alternatively, if the canvas was created by caca_create_display(), it
will be automatically destroyed by caca_free_display().

\subsection bar2 Event handling



Loading…
Cancel
Save