al_append_native_text_log(3alleg5)

al_append_native_text_log3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro_native_dialog.h>
void al_append_native_text_log(ALLEGRO_TEXTLOG *textlog,
   char const *format, ...)

Overview

Appends a line of text to the message log window and scrolls to the bottom (if the line would not be visible otherwise). This works like printf. A line is continued until you add a newline character.

If the window is NULL then this function will fall back to calling printf. This makes it convenient to support logging to a window or a terminal.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.