SCREEN_H

Global define to obtain the size of the screen.

Description

#define SCREEN_H;
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);
Examples using this:

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: