src/ui/uMenu.cpp File Reference

#include "tSysTime.h"
#include "uMenu.h"
#include "rSysdep.h"
#include "rScreen.h"
#include "rViewport.h"
#include "rTexture.h"
#include "tRecorder.h"
#include "tString.h"
#include "math.h"
#include "uInputQueue.h"
#include "rConsole.h"
#include "uInput.h"
#include "tDirectories.h"
#include "tToDo.h"
#include "tException.h"
#include <iterator>
#include "rRender.h"
#include "rSDL.h"
#include <vector>

Include dependency graph for uMenu.cpp:

Go to the source code of this file.

Functions

static void arrow (REAL x, REAL y, REAL dy, REAL size)

Variables

static REAL text_height = .11
static REAL titlefac = 1.2
int menuentries = 0
static bool repeat = false
static bool disphelp = false
static REAL lastkey
static bool su_inMenu = false
static
rNoAutoDisplayAtNewlineCallback 
su_noNewline (uMenu::MenuActive)
static tCallbackenter_anchor = NULL
static tCallbackleave_anchor = NULL
static tCallbackbackground_anchor = NULL


Function Documentation

static void arrow ( REAL  x,
REAL  y,
REAL  dy,
REAL  size 
) [inline, static]

Definition at line 115 of file uMenu.cpp.

References BeginLineLoop(), RenderEnd(), sr_glOut, and Vertex().

Referenced by uMenu::OnEnter().

00115                                                          {
00116 #ifndef DEDICATED
00117     if (sr_glOut){
00118         BeginLineLoop();
00119         Vertex(x,y+2*dy*size);
00120         Vertex(x+size,y);
00121         Vertex(x+.3*size,y);
00122         Vertex(x+.3*size,y-2*dy*size);
00123         Vertex(x-.3*size,y-2*dy*size);
00124         Vertex(x-.3*size,y);
00125         Vertex(x-size,y);
00126         RenderEnd();
00127     }
00128 #endif
00129 }

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

tCallback * background_anchor = NULL [static]

Definition at line 1303 of file uMenu.cpp.

bool disphelp = false [static]

Definition at line 134 of file uMenu.cpp.

tCallback* enter_anchor = NULL [static]

Definition at line 1303 of file uMenu.cpp.

REAL lastkey [static]

Definition at line 135 of file uMenu.cpp.

tCallback * leave_anchor = NULL [static]

Definition at line 1303 of file uMenu.cpp.

int menuentries = 0

Definition at line 108 of file uMenu.cpp.

bool repeat = false [static]

Definition at line 131 of file uMenu.cpp.

Referenced by cWidget::WithColorFunctions::ProcessGradient().

bool su_inMenu = false [static]

Definition at line 139 of file uMenu.cpp.

rNoAutoDisplayAtNewlineCallback su_noNewline(uMenu::MenuActive) [static]

REAL text_height = .11 [static]

Definition at line 103 of file uMenu.cpp.

REAL titlefac = 1.2 [static]

Definition at line 106 of file uMenu.cpp.


Generated on Sat Mar 15 23:20:17 2008 for Armagetron Advanced by  doxygen 1.5.4