ui_tooltip.c File Reference

#include "../client.h"
#include "node/ui_node_window.h"
#include "ui_tooltip.h"
#include "ui_nodes.h"
#include "ui_parse.h"
#include "ui_render.h"
#include "ui_input.h"
Include dependency graph for ui_tooltip.c:

Go to the source code of this file.

Functions

int UI_DrawTooltip (const char *string, int x, int y, int maxWidth)
 Generic tooltip function.
void UI_Tooltip (uiNode_t *node, int x, int y)
 Wrapper for UI tooltips.

Variables

static const vec4_t tooltipBG = { 0.0f, 0.0f, 0.0f, 0.7f }
static const vec4_t tooltipColor = { 0.0f, 0.8f, 0.0f, 1.0f }

Detailed Description

Definition in file ui_tooltip.c.


Function Documentation

int UI_DrawTooltip ( const char *  string,
int  x,
int  y,
int  maxWidth 
)
void UI_Tooltip ( uiNode_t node,
int  x,
int  y 
)

Variable Documentation

const vec4_t tooltipBG = { 0.0f, 0.0f, 0.0f, 0.7f } [static]

Definition at line 35 of file ui_tooltip.c.

Referenced by UI_DrawTooltip().

const vec4_t tooltipColor = { 0.0f, 0.8f, 0.0f, 1.0f } [static]

Definition at line 36 of file ui_tooltip.c.

Referenced by UI_DrawTooltip().


Generated by  doxygen 1.6.2