Table of Contents

 
WriteButtonStats
 

Purpose

Writes the stats of all the buttons to a text file

 

Protoype

void CButtonMngr::WriteButtonStats (string str_filename = "button_stats.txt")
 

Parameters

filename the name or location of the file to output data
 

Description

This function is strictly for debugging purposes. It dumps all the objects and their properties stored in the button manager to a data file for viewing. You can specify your own data file or use the one provided for you.

 

Use

CButtonMngr button;
button.WriteButtonStats();
 

Prev: Stick