Table of Contents

 
GetScreenWidth
 

Purpose

Returns the screen's width in pixels

 

Protoype

int CVideo::GetScreenWidth ()
 

Description

This function finds the current width of the primary surface in pixels

 

Use

CVideo video;
int i_width = video.GetScreenWidth();
 

Prev: GetScreenHeight