screen_w(3) - Linux man page
Name
SCREEN_W, SCREEN_H - Global define to obtain the size of the screen. Allegro game programming library.
Synopsis
#include <allegro.h>
#define SCREEN_W;
#define SCREEN_H;
Description
Global defines that return the width and height of the screen, or zero if the screen has not been
initialised yet. Example:
char buf[100];
...
uszprintf(buf, sizeof(buf),
"The screen size is %d x %d pixels",
SCREEN_W, SCREEN_H);
See Also
screen(3), set_gfx_mode(3), virtual_w(3),
virtual_h(3)
Referenced By
ex3buf(3),
ex3d(3),
exaccel(3),
exalpha(3),
exbitmap(3),
exblend(3),
excamera(3),
excolmap(3),
exconfig(3),
exdbuf(3),
exflame(3),
exflip(3),
exfont(3),
exhello(3),
exjoy(3),
exkeys(3),
exlights(3),
exmem(3),
exmidi(3),
exmouse(3),
expackf(3),
expal(3),
exsample(3),
exscale(3),
exscn3d(3),
exscroll(3),
exshade(3),
exspline(3),
exsprite(3),
exstars(3),
exstream(3),
exswitch(3),
exsyscur(3),
extimer(3),
extrans(3),
extruec(3),
exunicod(3),
exupdate(3),
exxfade(3),
exzbuf(3)