Design Pattern Examples
Overview of object-oriented design patterns
Display Struct Reference

Represents a "display" window, in which to render Flyweight images. This "display" window is then printed to the console window at a specified coordinate to render a "frame" of motion in the "display". More...

#include <Flyweight_Display.h>

Collaboration diagram for Display:
Collaboration graph

Public Attributes

char ** area
 2-dimensional array of strings, representing rows. Each row is zero-terminated.
 
int width
 Width of each row.
 
int height
 Height of each row.
 

Detailed Description

Represents a "display" window, in which to render Flyweight images. This "display" window is then printed to the console window at a specified coordinate to render a "frame" of motion in the "display".

Definition at line 18 of file Flyweight_Display.h.

Member Data Documentation

◆ area

char** area

2-dimensional array of strings, representing rows. Each row is zero-terminated.

Definition at line 20 of file Flyweight_Display.h.

Referenced by _Flyweight_ClearDisplay(), _Flyweight_ShowDisplay(), BigResource_Render(), Display_Create(), and Display_Destroy().

◆ height

int height

◆ width

int width

Width of each row.

Definition at line 21 of file Flyweight_Display.h.

Referenced by _Flyweight_ClearDisplay(), BigResource_Render(), Display_Create(), and Display_Destroy().


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