1al_open_native_text_log(3) Library Functions Manual al_open_native_text_log(3)
2
3
4

NAME

6       al_open_native_text_log
7

SYNOPSIS

9              #include <allegro5/allegro_native_dialog.h>
10
11              ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags)
12

DESCRIPTION

14       Opens   a   window   to   which   you  can  append  log  messages  with
15       al_append_native_text_log(3).  This can be useful for debugging if  you
16       don't want to depend on a console being available.
17
18       Use al_close_native_text_log(3) to close the window again.
19
20       The flags available are:
21
22       ALLEGRO_TEXTLOG_NO_CLOSE
23              Prevent the window from having a close button.  Otherwise if the
24              close  button  is   pressed   an   event   is   generated;   see
25              al_get_native_text_log_event_source(3).
26
27       ALLEGRO_TEXTLOG_MONOSPACE
28              Use a monospace font to display the text.
29
30       Returns  NULL  if there was an error opening the window, or if text log
31       windows are not implemented on the platform.
32

SEE ALSO

34       al_append_native_text_log(3), al_close_native_text_log(3)
35
36
37
38Allegro reference manual                            al_open_native_text_log(3)
Impressum