Devilution
Diablo devolved - magic behind the 1996 computer game

◆ PanBtnPos

int PanBtnPos[8][5]
Initial value:
= {
{ PANEL_LEFT + 9, PANEL_TOP + 9, 71, 19, TRUE },
{ PANEL_LEFT + 9, PANEL_TOP + 35, 71, 19, FALSE },
{ PANEL_LEFT + 9, PANEL_TOP + 75, 71, 19, TRUE },
{ PANEL_LEFT + 9, PANEL_TOP + 101, 71, 19, FALSE },
{ PANEL_LEFT + 560, PANEL_TOP + 9, 71, 19, TRUE },
{ PANEL_LEFT + 560, PANEL_TOP + 35, 71, 19, FALSE },
{ PANEL_LEFT + 87, PANEL_TOP + 91, 33, 32, TRUE },
{ PANEL_LEFT + 527, PANEL_TOP + 91, 33, 32, TRUE },
}

Maps from panel_button_id to the position and dimensions of a panel button.

Definition at line 170 of file control.cpp.

PANEL_TOP
#define PANEL_TOP
Definition: defs.h:134
PANEL_LEFT
#define PANEL_LEFT
Definition: defs.h:135