Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Size Struct Reference

#include <guidefs.h>

Public Member Functions

bool operator== (const Size &other)
 
bool operator!= (const Size &other)
 
 Size ()
 
 Size (float cwidth, float cheight)
 

Public Attributes

float width
 
float height
 

Detailed Description

Definition at line 52 of file guidefs.h.

Constructor & Destructor Documentation

Size::Size ( )
inline

Definition at line 67 of file guidefs.h.

67  : width( 0.0 )
68  , height( 0.0 ) {}
Size::Size ( float  cwidth,
float  cheight 
)
inline

Definition at line 69 of file guidefs.h.

69  :
70  width( cwidth )
71  , height( cheight )
72  {}

Member Function Documentation

bool Size::operator!= ( const Size other)
inline

Definition at line 61 of file guidefs.h.

62  {
63  return !(*this == other);
64  }
bool Size::operator== ( const Size other)
inline

Definition at line 57 of file guidefs.h.

References height, and width.

58  {
59  return width == other.width && height == other.height;
60  }

Member Data Documentation


The documentation for this struct was generated from the following file: