common.h 658 Bytes
Newer Older
Arnaud Blanchard's avatar
Arnaud Blanchard committed
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
31
32
#ifndef COMMON_H
#define COMMON_H

#include <gtk/gtk.h>
#include <blc.h>
#include <image_display.h>


extern GtkWidget *legend;

extern u_int32_t false_colors[256];
extern uint32_t gray_colors[256];
extern uint32_t u_colors[256];
extern uint32_t v_colors[256];
extern uint32_t r_colors[256];
extern uint32_t g_colors[256];
extern uint32_t b_colors[256];
extern uint32_t *color_map;

extern GtkWidget *window, *paned;
extern GdkDevice *pointer_device;
extern blc_array mouse_array;

extern char const *fullscreen_option;



void histogram_cb(GtkToolButton *toolbutton, gpointer pointer_statusbar );
GtkWidget *create_image_display(blc_array *array);

#endif