File: al_open_native_text_log.3

package info (click to toggle)
allegro5 2%3A5.0.10-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 14,856 kB
  • ctags: 15,948
  • sloc: ansic: 87,540; cpp: 9,693; objc: 3,491; python: 2,057; sh: 829; makefile: 93; perl: 37; pascal: 24
file content (41 lines) | stat: -rw-r--r-- 1,038 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH al_open_native_text_log 3 "" "Allegro reference manual"
.SH NAME
.PP
al_open_native_text_log \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro_native_dialog.h>

ALLEGRO_TEXTLOG\ *al_open_native_text_log(char\ const\ *title,\ int\ flags)
\f[]
.fi
.SH DESCRIPTION
.PP
Opens a window to which you can append log messages with
al_append_native_text_log(3).
This can be useful for debugging if you don\[aq]t want to depend on a
console being available.
.PP
Use al_close_native_text_log(3) to close the window again.
.PP
The flags available are:
.TP
.B ALLEGRO_TEXTLOG_NO_CLOSE
Prevent the window from having a close button.
Otherwise if the close button is pressed an event is generated; see
al_get_native_text_log_event_source(3).
.RS
.RE
.TP
.B ALLEGRO_TEXTLOG_MONOSPACE
Use a monospace font to display the text.
.RS
.RE
.PP
Returns NULL if there was an error opening the window, or if text log
windows are not implemented on the platform.
.SH SEE ALSO
.PP
al_append_native_text_log(3), al_close_native_text_log(3)