Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
al_open_native_text_log(3)  Library Functions Manual  al_open_native_text_log(3)

NAME
     al_open_native_text_log - Allegro 5 API

SYNOPSIS
	    #include <allegro5/allegro_native_dialog.h>

	    ALLEGRO_TEXTLOG *al_open_native_text_log(char const *title, int flags)

DESCRIPTION
     Opens  a  window  to  which  you can append log messages with al_append_na-
     tive_text_log(3).	This can be useful for debugging if you  don't	want  to
     depend on a console being available.

     Use al_close_native_text_log(3) to close the window again.

     The flags available are:

     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_na-
	    tive_text_log_event_source(3).

     ALLEGRO_TEXTLOG_MONOSPACE
	    Use a monospace font to display the text.

     Returns  NULL if there was an error opening the window, or if text log win-
     dows are not implemented on the platform.

	    Note: On Android, logs can be viewed using logcat.

SEE ALSO
     al_append_native_text_log(3), al_close_native_text_log(3)

Allegro reference manual			      al_open_native_text_log(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=al_open_native_text_log&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help