File: common.rc

package info (click to toggle)
guitarix 0.36.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 139,468 kB
  • sloc: cpp: 317,557; python: 42,482; ansic: 18,301; fortran: 2,012; sh: 662; makefile: 422; xml: 208; perl: 183; pascal: 74; lisp: 32
file content (160 lines) | stat: -rw-r--r-- 4,308 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
style "guitarix_caption"
{
  font_name = "sans 8"
}

style "guitarix_regler"
{
  GxRegler::value-spacing = 2
  GxRegler::value-border = { 6, 6, 3, 3 }
  font_name = "sans 7.5"
  GxRegler::value-color = {
    { 0, 20971, 52428, 10485, 52428 }} 
}

style "guitarix_value_display"
{
  GxRegler::value-spacing = 1
  GxRegler::value-border = { 1, 1, 2, 2 }
  fg[NORMAL] = 	{ 0.7, 0.7, 0.7 }
  fg[ACTIVE] = { 0.2, 0.2, 0.2 }
  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  fg[INSENSITIVE] = { 0.0, 0.0, 0.0 }
  fg[SELECTED] = { 0.8, 0.8, 0.8 }
  font_name = "sans 7.5"
}

style "guitarix_switch"
{
  xthickness = 0
  ythickness = 0
  GtkButton::inner-border = {0, 0, 0, 0}
  GtkButton::default-border = {0, 0, 0, 0}
  GtkButton::focus-line-width = 0
  GtkButton::focus-padding = 0
  GtkButton::interior-focus = 0
  GtkButton::child-displacement-x = 0
  GtkButton::child-displacement-y = 0
  engine "clearlooks" {
    #disable_focus = TRUE
    style = CLASSIC
  }
}

style "guitarix_small_button"
{
  GtkButton::inner-border = {0, 0, 0, 0}
  GtkButton::default-border = {0, 0, 0, 0}
  GtkButton::focus-line-width = 0
  GtkButton::focus-padding = 0
  GtkButton::interior-focus = 0
  GtkButton::inner-spacing = 0
  GtkButton::child-displacement-x = 0
  GtkButton::child-displacement-y = 0
}

style "guitarix_selector"
{
  #cairo_set_source_rgba(cr, 0.4, 1, 0.2, 0.8)
  fg[NORMAL] = 	{ 0.32, 0.8, 0.16 }
  GtkRange::trough-border = 2
  GtkRange::stepper-size = 8
  GtkRange::stepper-spacing = 2
  GxRegler::value-border = { 2, 0, 0, 0 }
  font_name = "sans 7.5"
  xthickness = 10
  ythickness = 1
}

style "guitarix_waveview"
{
  GxWaveView::box-gradient = {
    { 26214, 65536, 13107, 0, 52428 }, # 0.4, 1, 0.2, 0, 0.8
	{ 52428, 13107, 65536, 13107, 52428 }} # 0.8, 0.2, 1, 0.2, 0.8

  fg[NORMAL] = 	{ 0.48, 0.48, 0.12 } # RGBA: 0.8, 0.8, 0.2, 0.6
  font_name = "sans 6"
}

style "guitarix_slider"
{
  GxRegler::value-border = {0, 0, 0, 0}
}

style "guitarix_eqslider"
{
  font_name = "sans 6"
}

style "guitarix_bold_label"
{
  font_name = "sans bold 8"
}

style "guitarix_fastmeter"
{
  GxFastMeter::clr-bottom = "#003808"
  GxFastMeter::clr-middle = "#00ff00"
  GxFastMeter::clr-top    = "#ff0000"
  GxFastMeter::over       = "#ff0000"
}

style "guitarix_iredit"
{
  GxIREdit::sample-graph-color-out = { 20000, 20000, 20000, 65535 }
  GxIREdit::shade-alpha = 0.6
  GxIREdit::gain-line-color = { 0, 60000, 0, 65535 }
}

style "guitarix_playhead"
{
  stock["portdisplay"] = {{"playhead.png"}}
  GxRegler::show-value = 0
}

style "guitarix_slevel"
{
  stock["levelslider"] = {{"simplelevelslider.png"}}
  GxRegler::show-value = 0
  GxLevelSlider::slider--width = 3
}


widget "*.lmw" style:highest "guitarix_slevel"
widget "*.playhead" style:highest "guitarix_playhead"
widget "*.smallbutton" style:highest "guitarix_small_button"
widget "*.effekt_label" style:highest "guitarix_caption"
widget "*.filter_box.*.effekt_label" style:highest "guitarix_bold_label"
class "*GxRegler" style:highest "guitarix_regler"
class "*GxSwitch" style:highest "guitarix_switch"
class "*GxWaveView" style:highest "guitarix_waveview"
class "*GxHSlider" style:highest "guitarix_slider"
class "*GxEQSlider" style:highest "guitarix_eqslider"
class "*GxSelector" style:highest "guitarix_selector"
class "*GxFastMeter" style:highest "guitarix_fastmeter"
class "*GxIREdit" style:highest "guitarix_iredit"
class "*GxSimpleValueDisplay" style:highest "guitarix_value_display"


style "always-show-value"
{
  GxRegler::show-value = 1
}

widget "*.ui.tuner_reference_pitch" style:highest "always-show-value"
widget "*.amp.out_amp" style:highest "always-show-value"
widget "*.show_always" style:highest "always-show-value"
widget "*.midi_out.channel_?.channel" style:highest "always-show-value"
widget "*.midi_out.channel_?.program" style:highest "always-show-value"
widget "*.gx_distortion.split_low_freq" style:highest "always-show-value"
widget "*.gx_distortion.split_middle_freq" style:highest "always-show-value"
widget "*.gx_distortion.split_high_freq" style:highest "always-show-value"

style "justahack"
{
  fg[NORMAL] = {1.0, 1.0, 1.0 }
  fg[PRELIGHT] = {0.2, 1.0, 0.2 }
  fg[SELECTED] = {1.0, 0.0, 0.0 }
  fg[INSENSITIVE] = {0.4, 0.1, 0.1 }
}
widget "gtkmm__GtkWindow.gtkmm__GtkEventBox.gtkmm__GxPaintBox.gtkmm__GtkLabel" style:highest "justahack"