File: thinice_theme.h

package info (click to toggle)
gtk-engines-thinice 1.0.3-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 620 kB
  • ctags: 87
  • sloc: sh: 7,275; ansic: 2,225; makefile: 73
file content (48 lines) | stat: -rw-r--r-- 988 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#include <gtk/gtk.h>
#include <gmodule.h>

/* Default stuff */
#define DEFAULT_SCROLLSHAPE       SCROLL_SHAPED
#define DEFAULT_SCROLLBARMARKS    MARKS_ON 
#define DEFAULT_SCROLLBUTTONMARKS MARKS_ON
#define DEFAULT_HANDLEBOXMARKS    MARKS_ON

#define DEFAULT_SLIDER_WIDTH      11
#define DEFAULT_MIN_SLIDER_SIZE   9

typedef struct
  {
    gint                scrollbar_type;
    gint                scrollbar_marks;
    gint                scroll_button_marks;
    gint                handlebox_marks;
  }
ThemeRcData;

typedef struct
  {
    gint                scrollbar_type;
    gint                scrollbar_marks;
    gint                scroll_button_marks;
    gint                handlebox_marks;
  }
ThemeStyleData;

enum
  {
    TOKEN_RECTSCROLLBAR = G_TOKEN_LAST + 1,
    TOKEN_SCROLLBARMARKS,
    TOKEN_SCROLLBUTTONMARKS,
    TOKEN_HANDLEBOXMARKS,
    TOKEN_TRUE,
    TOKEN_FALSE
  };
  
enum
  {
    SCROLL_SHAPED = 0,
    SCROLL_RECT,
    MARKS_ON = 0,
    MARKS_OFF
  };