AL_IPHONE_SET_STATUSBAR_ORIENTATION(3)
πΈ NAME πΈ
okay so this is the Library Functions Manual moment for al_iphone_set_statusbar_orientation β the Allegro 5 API function that sets the orientation of the status bar. iconic little iPhone helper, no cap π
β¨ SYNOPSIS β¨
bestie, hereβs the exact summoning ritual:
#include <allegro5/allegro_iphone.h>
void al_iphone_set_statusbar_orientation(int o)
π DESCRIPTION π
It sets the orientation of the status bar, and it can be one of these four constants. thatβs the whole vibe check:
ALLEGRO_IPHONE_STATUSBAR_ORIENTATION_PORTRAITALLEGRO_IPHONE_STATUSBAR_ORIENTATION_PORTRAIT_UPSIDE_DOWNALLEGRO_IPHONE_STATUSBAR_ORIENTATION_LANDSCAPE_RIGHTALLEGRO_IPHONE_STATUSBAR_ORIENTATION_LANDSCAPE_LEFT
so you pass one of those in as o, and the status bar gets its orientation set. slay π
π¦ SINCE π¦
this one has been serving since 5.1.0 β¨
source/version: Allegro reference manual, Allegro 5 API, 5.1.0 β date: not listed on the page, bestie π«Ά
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms