AL_IPHONE_SET_STATUSBAR_ORIENTATION(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

🌸 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_PORTRAIT
  • ALLEGRO_IPHONE_STATUSBAR_ORIENTATION_PORTRAIT_UPSIDE_DOWN
  • ALLEGRO_IPHONE_STATUSBAR_ORIENTATION_LANDSCAPE_RIGHT
  • ALLEGRO_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