blob: 2d1f8abc29f010b8ba2d43a9d985df60906eecc6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/**
* @file
* @brief Functions for x11
**/
// TODO enne - slowly morph this into tilesdl.h
#ifndef LIBGUI_H
#define LIBGUI_H
#ifdef USE_TILE
#include <stdio.h>
#include "libconsole.h"
struct coord_def;
struct crawl_view_geometry;
void gui_init_view_params(crawl_view_geometry &geom);
// If mouse on dungeon map, returns true and sets gc.
// Otherwise, it just returns false.
bool gui_get_mouse_grid_pos(coord_def &gc);
#ifndef USE_TILE_WEB
static inline constexpr bool is_tiles() { return true; }
#endif
#endif // USE_TILE
#endif // LIBGUI_H
|