diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 03:13:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 03:13:10 +0000 |
commit | 3c57dd931145d43f2b0aef96c4d178135956bf91 (patch) | |
tree | 3de698981e9f0cc2c4f9569b19a5f3595e741f6b /plug-ins/map-object/map-object-preview.h | |
parent | Initial commit. (diff) | |
download | gimp-3c57dd931145d43f2b0aef96c4d178135956bf91.tar.xz gimp-3c57dd931145d43f2b0aef96c4d178135956bf91.zip |
Adding upstream version 2.10.36.upstream/2.10.36
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plug-ins/map-object/map-object-preview.h')
-rw-r--r-- | plug-ins/map-object/map-object-preview.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plug-ins/map-object/map-object-preview.h b/plug-ins/map-object/map-object-preview.h new file mode 100644 index 0000000..400b767 --- /dev/null +++ b/plug-ins/map-object/map-object-preview.h @@ -0,0 +1,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_expose (GtkWidget *widget, + GdkEventExpose *eevent); +gint check_light_hit (gint xpos, + gint ypos); +void update_light (gint xpos, + gint ypos); + +#endif /* __MAPOBJECT_PREVIEW_H__ */ |