FS2_Open
Open source remastering of the Freespace 2 engine
BackgroundChooser Class Reference

#include <backgroundchooser.h>

Inheritance diagram for BackgroundChooser:

Public Types

enum  { IDD = IDD_BACKGROUND_CHOOSER }
 

Public Member Functions

 BackgroundChooser (int numBackgrounds)
 
void OnOK ()
 
void OnCancel ()
 
int GetChosenBackground ()
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnClose ()
 

Protected Attributes

int m_numBackgrounds
 
int m_chosenBackground
 

Detailed Description

Definition at line 13 of file backgroundchooser.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 25 of file backgroundchooser.h.

Constructor & Destructor Documentation

BackgroundChooser::BackgroundChooser ( int  numBackgrounds)

Definition at line 18 of file backgroundchooser.cpp.

Member Function Documentation

void BackgroundChooser::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 29 of file backgroundchooser.cpp.

int BackgroundChooser::GetChosenBackground ( )

Definition at line 84 of file backgroundchooser.cpp.

void BackgroundChooser::OnCancel ( )

Definition at line 72 of file backgroundchooser.cpp.

void BackgroundChooser::OnClose ( )
protected

Definition at line 79 of file backgroundchooser.cpp.

BOOL BackgroundChooser::OnInitDialog ( )
protectedvirtual

Definition at line 45 of file backgroundchooser.cpp.

void BackgroundChooser::OnOK ( )

Definition at line 63 of file backgroundchooser.cpp.

Member Data Documentation

int BackgroundChooser::m_chosenBackground
protected

Definition at line 39 of file backgroundchooser.h.

int BackgroundChooser::m_numBackgrounds
protected

Definition at line 38 of file backgroundchooser.h.


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