ArmageTron_texmode_menuitem Class Reference

Inheritance diagram for ArmageTron_texmode_menuitem:

Inheritance graph
[legend]
Collaboration diagram for ArmageTron_texmode_menuitem:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ArmageTron_texmode_menuitem (uMenu *m, char const *tit, int &targ, bool font=false)
 ~ArmageTron_texmode_menuitem ()

Private Member Functions

void NewChoice (uSelectItem< bool > *)
void NewChoice (char *, bool)


Detailed Description

Definition at line 114 of file gMenus.cpp.


Constructor & Destructor Documentation

ArmageTron_texmode_menuitem::ArmageTron_texmode_menuitem ( uMenu m,
char const *  tit,
int &  targ,
bool  font = false 
) [inline]

Definition at line 118 of file gMenus.cpp.

References uMenuItemSelection< T >::NewChoice().

00120             :uMenuItemSelection<int>
00121     (m,tit,"$texture_menuitem_help",targ){
00122 
00123         if(!font)
00124             uMenuItemSelection<int>::NewChoice
00125             ("$texture_off_text","$texture_off_help",-1);
00126 #ifndef DEDICATED
00127         uMenuItemSelection<int>::NewChoice
00128         ("$texture_nearest_text","$texture_nearest_help",GL_NEAREST);
00129 
00130         uMenuItemSelection<int>::NewChoice
00131         ("$texture_bilinear_text","$texture_bilinear_help",GL_LINEAR);
00132 
00133         if(!font)
00134         {
00135             uMenuItemSelection<int>::NewChoice
00136             ("$texture_mipmap_nearest_text",
00137              "$texture_mipmap_nearest_help",
00138              GL_NEAREST_MIPMAP_NEAREST);
00139             uMenuItemSelection<int>::NewChoice
00140             ("$texture_mipmap_bilinear_text",
00141              "$texture_mipmap_bilinear_help",
00142              GL_LINEAR_MIPMAP_NEAREST);
00143             uMenuItemSelection<int>::NewChoice
00144             ("$texture_mipmap_trilinear_text",
00145              "$texture_mipmap_trilinear_help",
00146              GL_LINEAR_MIPMAP_LINEAR);
00147         }
00148     #endif
00149     }

Here is the call graph for this function:

ArmageTron_texmode_menuitem::~ArmageTron_texmode_menuitem (  )  [inline]

Definition at line 151 of file gMenus.cpp.

00151 {};


Member Function Documentation

void ArmageTron_texmode_menuitem::NewChoice ( uSelectItem< bool > *   )  [inline, private]

Definition at line 115 of file gMenus.cpp.

00115 {};

void ArmageTron_texmode_menuitem::NewChoice ( char *  ,
bool   
) [inline, private]

Definition at line 116 of file gMenus.cpp.

00116 {};


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:20:34 2008 for Armagetron Advanced by  doxygen 1.5.4