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) |
Definition at line 114 of file gMenus.cpp.
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 }
ArmageTron_texmode_menuitem::~ArmageTron_texmode_menuitem | ( | ) | [inline] |
void ArmageTron_texmode_menuitem::NewChoice | ( | uSelectItem< bool > * | ) | [inline, private] |
void ArmageTron_texmode_menuitem::NewChoice | ( | char * | , | |
bool | ||||
) | [inline, private] |