forked from blackfiveimaging/photoprint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pp_cms.h
66 lines (53 loc) · 1.56 KB
/
pp_cms.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
56
57
58
59
60
61
62
63
64
65
66
#ifndef __PP_CMS_H__
#define __PP_CMS_H__
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtktable.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkhbox.h>
#include <gtk/gtkcombo.h>
#include <gtk/gtkspinbutton.h>
#include "profilemanager/lcmswrapper.h"
#include "configdb.h"
#include "photoprint_state.h"
G_BEGIN_DECLS
#define PP_CMS_TYPE (pp_cms_get_type())
#define PP_CMS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PP_CMS_TYPE, pp_CMS))
#define PP_CMS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PP_CMS_TYPE, pp_CMSClass))
#define IS_PP_CMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PP_CMS_TYPE))
#define IS_PP_CMS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PP_CMS_TYPE))
typedef struct _pp_CMS pp_CMS;
typedef struct _pp_CMSClass pp_CMSClass;
struct _pp_CMS
{
GtkVBox box;
ProfileManager *pm;
GtkWidget *intent;
GtkWidget *colourspace;
GtkWidget *printeractive;
GtkWidget *printerprof;
GtkWidget *greyactive;
GtkWidget *greyprof;
GtkWidget *rgbactive;
GtkWidget *rgbprof;
GtkWidget *cmykactive;
GtkWidget *cmykprof;
GtkWidget *monitoractive;
GtkWidget *monitorprof;
GtkWidget *displaymode;
GtkWidget *indicator[3];
GtkWidget *statusline[3];
};
struct _pp_CMSClass
{
GtkVBoxClass parent_class;
void (*changed)(pp_CMS *book);
};
GType pp_cms_get_type (void);
GtkWidget* pp_cms_new (ProfileManager *pm);
void pp_cms_refresh(pp_CMS *ob);
void pp_cms_populate(pp_CMS *ob,PhotoPrint_State *db);
void pp_cms_depopulate(pp_CMS *ob,PhotoPrint_State *db);
void pp_cms_run_dialog(PhotoPrint_State *db,GtkWindow *parent);
G_END_DECLS
#endif /* __PP_CMS_H__ */