GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SCREEN_H (3)

NAME

SCREEN_W, SCREEN_H - Global define to obtain the size of the screen. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

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)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro SCREEN_W (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.