ui_node_todo.c File Reference

A node allowing to tag a GUI with comment (only visible on debug mode). More...

#include "../ui_nodes.h"
#include "../ui_parse.h"
#include "../ui_draw.h"
#include "../ui_tooltip.h"
#include "../ui_render.h"
#include "ui_node_todo.h"
#include "ui_node_abstractnode.h"
#include "../../input/cl_input.h"
Include dependency graph for ui_node_todo.c:

Go to the source code of this file.

Functions

static void UI_TodoNodeDrawTooltip (uiNode_t *node, int x, int y)
 Custom tooltip of todo node.
static void UI_TodoNodeDraw (uiNode_t *node)
static void UI_TodoNodeDrawOverWindow (uiNode_t *node)
static void UI_TodoNodeLoading (uiNode_t *node)
static void UI_TodoNodeLoaded (uiNode_t *node)
void UI_RegisterTodoNode (uiBehaviour_t *behaviour)

Detailed Description

A node allowing to tag a GUI with comment (only visible on debug mode).

Definition in file ui_node_todo.c.


Function Documentation

void UI_RegisterTodoNode ( uiBehaviour_t behaviour  ) 
static void UI_TodoNodeDraw ( uiNode_t node  )  [static]
static void UI_TodoNodeDrawOverWindow ( uiNode_t node  )  [static]

Definition at line 68 of file ui_node_todo.c.

References mousePosX, mousePosY, and UI_TodoNodeDrawTooltip().

Referenced by UI_RegisterTodoNode().

static void UI_TodoNodeDrawTooltip ( uiNode_t node,
int  x,
int  y 
) [static]

Custom tooltip of todo node.

Parameters:
[in] node Node we request to draw tooltip
[in] x Position x of the mouse
[in] y Position y of the mouse

Definition at line 42 of file ui_node_todo.c.

References Q_strcat(), uiNode_s::text, UI_DrawTooltip(), and UI_GetReferenceString().

Referenced by UI_TodoNodeDrawOverWindow().

static void UI_TodoNodeLoaded ( uiNode_t node  )  [static]

Definition at line 78 of file ui_node_todo.c.

References uiNode_s::invis, qtrue, and uiNode_s::size.

Referenced by UI_RegisterTodoNode().

static void UI_TodoNodeLoading ( uiNode_t node  )  [static]

Definition at line 73 of file ui_node_todo.c.

References uiNode_s::color, and Vector4Set.

Referenced by UI_RegisterTodoNode().


Generated by  doxygen 1.6.2