Niotso  git revision 558726a9f13d7c3423a683dd2f4323589b66c310
The New Implementation of The Sims Online
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Constant Groups | Enumerations | Functions | Variables
Graphics.hpp File Reference
#include <gl/gl.h>
#include <gl/glext.h>

Go to the source code of this file.

Namespaces

 Graphics
 

Constant Groups

 Graphics
 

Enumerations

enum  Graphics::TextAlignment {
  Graphics::ALIGN_LEFT_TOP, Graphics::ALIGN_LEFT_CENTER, Graphics::ALIGN_CENTER_TOP, Graphics::ALIGN_CENTER_CENTER,
  Graphics::ALIGN_RIGHT_TOP, Graphics::ALIGN_RIGHT_CENTER
}
 

Functions

int Graphics::Initialize ()
 
void Graphics::Shutdown ()
 
int Graphics::InitGL ()
 
void Graphics::ResizeViewport (unsigned width, unsigned height)
 
void Graphics::DrawText (Image_t *Image, const wchar_t *String, int x, int y, unsigned width, unsigned height, TextAlignment Alignment, int font, COLORREF Color)
 
Image_tGraphics::StringImage (const wchar_t *String, int font, COLORREF Color)
 

Variables

HDC Graphics::hDC
 
HGLRC Graphics::hRC