File: xeno_style_fill.h

package info (click to toggle)
xenophilia 0.8-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 840 kB
  • ctags: 1,202
  • sloc: ansic: 11,181; makefile: 188; python: 47
file content (69 lines) | stat: -rw-r--r-- 1,823 bytes parent folder | download | duplicates (2)
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
67
68
69
/*
 *	xeno_style_fill.h
 */

#ifndef XENO_STYLE_FILL_H
#define XENO_STYLE_FILL_H

#include "xeno_style.h"

void		xeno_gradient_set_unrealize		(XenoGradientSet *gradient_set);
void		xeno_gradient_set_realize		(XenoGradientSet *gradient_set,
											 GtkStyle		*style);

GdkPixmap *	xeno_gradient_get				(GtkStyle		*style,
											 GdkWindow		*window,
											 GtkStateType 	state_type,
											 GtkWidget		*widget,
											 gint			width,
											 gint			height);

void		xeno_gradient_color				(const GtkStyle *style,
											 GtkStateType	state_type,
											 gfloat			f,
											 XenoColor		*dst);

void		xeno_style_fill_background		(GtkStyle		*style,
											 GdkDrawable	*drawable,
											 GtkStateType	state_type,
											 GdkRectangle	*area,
											 GtkWidget		*widget,
											 gint			x,
											 gint			y,
											 gint			width,
											 gint			height);

void		xeno_style_fill_base			(GtkStyle		*style,
											 GdkWindow		*window,
											 GtkStateType	state_type,
											 GdkRectangle	*area,
											 GtkWidget		*widget,
											 gint			x,
											 gint			y,
											 gint			width,
											 gint			height);

#if XENO_GTK2
void		xeno_style_real_fill_background	(GtkStyle		*style,
											 GdkDrawable	*drawable,
											 GtkStateType	state_type,
											 GdkRectangle	*area,
											 GtkWidget		*widget,
											 gint			x,
											 gint			y,
											 gint			width,
											 gint			height);

void		xeno_style_real_fill_base		(GtkStyle		*style,
											 GdkWindow		*window,
											 GtkStateType	state_type,
											 GdkRectangle	*area,
											 GtkWidget		*widget,
											 gint			x,
											 gint			y,
											 gint			width,
											 gint			height);
#endif

#endif /* XENO_STYLE_FILL_H */