UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_node_battlescape.cpp File Reference

The battlescape node identify the part of the screen the engine use to render battlescape map. More...

Include dependency graph for ui_node_battlescape.cpp:

Go to the source code of this file.

Functions

static void UI_SetRenderRect (int x, int y, int width, int height)
 Determine the position and size of the render.
void UI_RegisterBattlescapeNode (uiBehaviour_t *behaviour)

Detailed Description

The battlescape node identify the part of the screen the engine use to render battlescape map.

Todo
Maybe we should capture the input with it, instead of using client namespace MS_*

Definition in file ui_node_battlescape.cpp.

Function Documentation

◆ UI_RegisterBattlescapeNode()

void UI_RegisterBattlescapeNode ( uiBehaviour_t * behaviour)

◆ UI_SetRenderRect()

void UI_SetRenderRect ( int x,
int y,
int width,
int height )
static

Determine the position and size of the render.

Definition at line 39 of file ui_node_battlescape.cpp.

References viddef.

Referenced by uiBattleScapeNode::draw(), uiBattleScapeNode::onSizeChanged(), uiBattleScapeNode::onWindowClosed(), and uiBattleScapeNode::onWindowOpened().