-
Notifications
You must be signed in to change notification settings - Fork 10
/
pp_imageinfo.h
55 lines (44 loc) · 1.38 KB
/
pp_imageinfo.h
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef __PP_IMAGEINFO_H__
#define __PP_IMAGEINFO_H__
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtktable.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkexpander.h>
#include <gtk/gtkhbox.h>
#include <gtk/gtklabel.h>
#include "layout.h"
G_BEGIN_DECLS
#define PP_IMAGEINFO_TYPE (pp_imageinfo_get_type())
#define PP_IMAGEINFO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PP_IMAGEINFO_TYPE, pp_ImageInfo))
#define PP_IMAGEINFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PP_IMAGEINFO_TYPE, pp_ImageInfoClass))
#define IS_PP_IMAGEINFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PP_IMAGEINFO_TYPE))
#define IS_PP_IMAGEINFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PP_IMAGEINFO_TYPE))
typedef struct _pp_ImageInfo pp_ImageInfo;
typedef struct _pp_ImageInfoClass pp_ImageInfoClass;
struct Signature;
class Thread;
struct _pp_ImageInfo
{
GtkExpander expander;
GtkWidget *table;
GtkWidget *filename;
GtkWidget *dimensions;
GtkWidget *physicalsize;
GtkWidget *resolution;
GtkWidget *profile;
GtkWidget *scrollwin;
ThreadFunction *thread;
Layout *layout;
};
struct _pp_ImageInfoClass
{
GtkExpanderClass parent_class;
void (*changed)(pp_ImageInfo *ii);
};
GType pp_imageinfo_get_type (void);
GtkWidget* pp_imageinfo_new (Layout *layout);
void pp_imageinfo_refresh(pp_ImageInfo *ob);
void pp_imageinfo_change_image(pp_ImageInfo *ob);
G_END_DECLS
#endif /* __PP_IMAGEINFO_H__ */