logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_display_orientation - Allegro 5 API

Description

       Return the display orientation, which can be one of the following:

       • ALLEGRO_DISPLAY_ORIENTATION_UNKNOWN

       • ALLEGRO_DISPLAY_ORIENTATION_0_DEGREES

       • ALLEGRO_DISPLAY_ORIENTATION_90_DEGREES

       • ALLEGRO_DISPLAY_ORIENTATION_180_DEGREES

       • ALLEGRO_DISPLAY_ORIENTATION_270_DEGREES

       • ALLEGRO_DISPLAY_ORIENTATION_FACE_UP

       • ALLEGRO_DISPLAY_ORIENTATION_FACE_DOWN

Name

       al_get_display_orientation - Allegro 5 API

Since

       5.1.0

Allegro reference manual                                                     al_get_display_orientation(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              int al_get_display_orientation(ALLEGRO_DISPLAY* display)

See Also