Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

sjgui::CSizeTmpl< T > Class Template Reference

This is a template of a class describing a size primitive. More...

#include <wnd.h>

List of all members.

Public Member Functions

 CSizeTmpl (T w=T(), T h=T())
 Initializes class to some point.

void SetWidth (T w)
 Set width.

void SetHeight (T h)
 Set height.

void SetSize (T w, T h)
 Set size.

GetWidth ()
 Width.

GetHeight ()
 Height.

 operator CPointTmpl ()
 Convert to point.

CPointTmpl< T > Sz ()
 Convert to point.

const CPointTmpl< T > & operator= (const CRectTmpl< T > &rect) const
 Takes size of the rectangle.


Detailed Description

template<class T>
class sjgui::CSizeTmpl< T >

This is a template of a class describing a size primitive.

Used to define size of the structure in X and Y direction.

Author:
Alexander Shyrokov
Version:
Revision
1.1.1.1


The documentation for this class was generated from the following file:
sjgui logo
Quick Links:

 News
 Description
 Screen Shots
 Projects
 Downloads
 Source Code
 Help/FAQ
 Want to help?
 Credits
 Disclaimer


Documentation:

 Documentation
 Reference
 Lessons


Useful links:

sjcomp logo
sjcomp

opengl logo

nehe logo

SourceForge.net Logo

Last modified:


Started by Alexander Shyrokov. Generated at Wed Apr 28 12:31:06 2004 for the sjgui by doxygen 1.3.1. SourceForge.net Logo