File: map-object-preview.h

package info (click to toggle)
gimp 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 222,880 kB
  • sloc: ansic: 870,914; python: 10,965; lisp: 10,857; cpp: 7,355; perl: 4,536; sh: 1,753; xml: 972; yacc: 609; lex: 348; javascript: 150; makefile: 42
file content (26 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (3)
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
#ifndef __MAPOBJECT_PREVIEW_H__
#define __MAPOBJECT_PREVIEW_H__

#define PREVIEW_WIDTH 200
#define PREVIEW_HEIGHT 200

#define WIRESIZE 16

/* Externally visible variables */
/* ============================ */

extern gdouble    mat[3][4];
extern gint       lightx,lighty;

/* Externally visible functions */
/* ============================ */

void     compute_preview_image  (void);
gboolean preview_draw           (GtkWidget *widget,
                                 cairo_t   *cr);
gint     check_light_hit        (gint            xpos,
                                 gint            ypos);
void     update_light           (gint            xpos,
                                 gint            ypos);

#endif  /* __MAPOBJECT_PREVIEW_H__ */