CDM  v0.9
Console Draw Motor, C librarly for quickly developing Windows console applications with advanced graphics. https://github.com/komo97/CDM
CDMContext Struct Reference

A context in which CDM will run. It contains the handle for the console window, color information buffers, character buffers, the size of the window inside it's rect and an event structure to get key events. More...

Data Fields

HANDLE mainBuffer
 
HANDLE inputBuffer
 
CONSOLE_SCREEN_BUFFER_INFOEX inf
 
CDMTiles contents
 
CDMTiles lastFrameContents
 
CDMRect rect
 The rectangle which contains the width and height of the context. READ ONLY. More...
 
CDMEvent events
 The event structure that contains every CDM input. More...
 
CDMBool clip
 

Detailed Description

A context in which CDM will run. It contains the handle for the console window, color information buffers, character buffers, the size of the window inside it's rect and an event structure to get key events.

Author
Komo
Date
30/4/2018
Examples:
main.cpp.

Field Documentation

◆ clip

CDMBool clip

◆ contents

CDMTiles contents

◆ events

CDMEvent events

The event structure that contains every CDM input.

Examples:
main.cpp.

◆ inf

CONSOLE_SCREEN_BUFFER_INFOEX inf

◆ inputBuffer

HANDLE inputBuffer

◆ lastFrameContents

CDMTiles lastFrameContents

◆ mainBuffer

HANDLE mainBuffer

◆ rect

CDMRect rect

The rectangle which contains the width and height of the context. READ ONLY.

Examples:
main.cpp.