
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1659 4e206d99-4929-0410-ac5d-dfc041789085
25 lines
No EOL
794 B
HTML
25 lines
No EOL
794 B
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html>
|
|
<head>
|
|
<title>height= (SFML::VideoMode)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
</head>
|
|
<body class="standalone-code">
|
|
<pre>/* call-seq:
|
|
* mode.width=(new_width) -> new_width
|
|
*
|
|
* Video mode width, in pixels.
|
|
*/
|
|
static VALUE VideoMode_SetWidth( VALUE self, VALUE aValue )
|
|
{
|
|
sf::VideoMode *object = NULL;
|
|
Data_Get_Struct( self, sf::VideoMode, object );
|
|
return INT2FIX( object->Width = NUM2UINT( aValue ) );
|
|
}</pre>
|
|
</body>
|
|
</html> |