File: industrial1.h

package info (click to toggle)
gtk-industrial-engine 0.2.36.6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,136 kB
  • ctags: 332
  • sloc: ansic: 3,286; xml: 908; makefile: 341; sh: 133
file content (34 lines) | stat: -rw-r--r-- 692 bytes parent folder | download
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
#define RADIO_SIZE 13
#define CHECK_SIZE 13

#define SCALE_SIZE 5

typedef enum {
  INDUSTRIAL_FIELDS_CONTRAST,
  INDUSTRIAL_FIELDS_CONTRAST_CENTER,
  INDUSTRIAL_FIELDS_ROUNDED_BUTTONS,
  INDUSTRIAL_FIELDS_WIDE
} IndustrialFields;

typedef struct 
{
  guint refcount;
  double contrast;
  double contrast_center;
  gboolean rounded_buttons;
  gboolean wide;
  IndustrialFields fields;
} IndustrialRcData;

typedef struct 
{
  GHashTable *shading_hash;

  double contrast;
  double contrast_center;
  gboolean rounded_buttons;
} IndustrialData;

void industrial_initialize_style (GtkStyleClass *klass,
				  GtkStyleClass *parent);
void industrial_shade (GdkColor * a, GdkColor * b, float k);