Advanced Strategic Command
Public Types | Public Member Functions | List of all members
PG_ListBoxDataItem< T > Class Template Reference

#include <multilistbox.h>

Inheritance diagram for PG_ListBoxDataItem< T >:
Inheritance graph
[legend]

Public Types

typedef T DataType
 

Public Member Functions

 PG_ListBoxDataItem (PG_Widget *parent, int height, const std::string &text, const T &data, SDL_Surface *icon=NULL)
 
getData ()
 

Detailed Description

template<typename T>
class PG_ListBoxDataItem< T >

Definition at line 25 of file multilistbox.h.

Member Typedef Documentation

template<typename T>
typedef T PG_ListBoxDataItem< T >::DataType

Definition at line 27 of file multilistbox.h.

Constructor & Destructor Documentation

template<typename T>
PG_ListBoxDataItem< T >::PG_ListBoxDataItem ( PG_Widget *  parent,
int  height,
const std::string &  text,
const T &  data,
SDL_Surface *  icon = NULL 
)
inline

Definition at line 31 of file multilistbox.h.

Member Function Documentation

template<typename T>
T PG_ListBoxDataItem< T >::getData ( )
inline

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