From 98ba22e7064db57316dfff1ae127feb3dceeb73e Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Thu, 31 Jul 2014 13:58:22 +0200 Subject: Initial commit --- docs/html/class_allegro_drawing_init.html | 241 ++++++++++++++++++++++++++++++ 1 file changed, 241 insertions(+) create mode 100644 docs/html/class_allegro_drawing_init.html (limited to 'docs/html/class_allegro_drawing_init.html') diff --git a/docs/html/class_allegro_drawing_init.html b/docs/html/class_allegro_drawing_init.html new file mode 100644 index 0000000..2196ad0 --- /dev/null +++ b/docs/html/class_allegro_drawing_init.html @@ -0,0 +1,241 @@ + + + + +Rally X: AllegroDrawingInit Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + +
+
Rally X + +
+
ELEN3009 Project by Justin Wernick and David Schneider
+
+
+ + + + + +
+
+ +
+
AllegroDrawingInit Class Reference
+
+
+ +

Class ensures that Allegro's primitive and text drawing is installed and uninstalled when appropriate. + More...

+ +

#include <AllegroWrappers.h>

+ +

List of all members.

+ + + + + + + + + + + + +

+Public Member Functions

 AllegroDrawingInit ()
 Constructor calls al_init_primitives_addon(), al_init_font_addon(), and al_init_ttf_addon() if it is the first instance.
 AllegroDrawingInit (const AllegroDrawingInit &ref)
 Copy constructor, implemented to be included in instance count.
 ~AllegroDrawingInit ()
 Destructor calls al_shutdown_primitives_addon(), al_shutdown_font_addon(), and al_shutdown_ttf_addon() if it is the last instant.

+Private Attributes

AllegroInit _allegro

+Static Private Attributes

static int _initCount = 0
+

Detailed Description

+

Class ensures that Allegro's primitive and text drawing is installed and uninstalled when appropriate.

+

Any classes that draw primitives should include this class as a data member. This class includes AllegroInit, so both of them do not need to be included.

+
Author:
Justin Wernick
+
+David Schneider
+ +

Definition at line 89 of file AllegroWrappers.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
AllegroDrawingInit::AllegroDrawingInit ()
+
+
+ +

Constructor calls al_init_primitives_addon(), al_init_font_addon(), and al_init_ttf_addon() if it is the first instance.

+ +

Definition at line 73 of file AllegroWrappers.cpp.

+ +
+
+ +
+
+ + + + + + + + +
AllegroDrawingInit::AllegroDrawingInit (const AllegroDrawingInitref)
+
+
+ +

Copy constructor, implemented to be included in instance count.

+ +

Definition at line 90 of file AllegroWrappers.cpp.

+ +
+
+ +
+
+ + + + + + + +
AllegroDrawingInit::~AllegroDrawingInit ()
+
+
+ +

Destructor calls al_shutdown_primitives_addon(), al_shutdown_font_addon(), and al_shutdown_ttf_addon() if it is the last instant.

+ +

Definition at line 107 of file AllegroWrappers.cpp.

+ +
+
+

Member Data Documentation

+ +
+ +
+ +

Definition at line 106 of file AllegroWrappers.h.

+ +
+
+ +
+
+ + + + +
int AllegroDrawingInit::_initCount = 0 [static, private]
+
+
+ +

Definition at line 105 of file AllegroWrappers.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator
+ + +
+ +
+ + + + + + + -- cgit v1.2.3