SAGE
A Simple Academic Game Engine
Loading...
Searching...
No Matches
Sage::CWindowDesc Class Reference

The window descriptor. More...

#include <SageWindowDesc.h>

Inheritance diagram for Sage::CWindowDesc:

Static Protected Attributes

static HWND m_Hwnd = 0
 Window handle.
 
static HINSTANCE m_hInst = 0
 Instance handle.
 
static bool m_bExitSizeMove = true
 User just finished moving/resizing window.
 

Detailed Description

CWindowDesc is a singleton class containing the game's instance handle and the window handle to the primary (in fact the only) window created by this application. Making it a singleton class means that we can avoid passing its member variables around as parameters, which makes the code minisculely faster, and more importantly, reduces function clutter.

Member Data Documentation

◆ m_bExitSizeMove

bool CWindowDesc::m_bExitSizeMove = true
staticprotected

Just finished moving/resizing window.