all repos — dotfiles @ cd0f8a3a1417bae2e35334da7e24c00d543dcc5f

my *nix dotfiles

themes/whitey/gtk-2.0/misc.rc (view raw)

  1#
  2# Gimp
  3#
  4style "gimp_spin_scale" {
  5  xthickness = 6
  6  ythickness = 4
  7
  8  bg[NORMAL] = @base_color
  9
 10  engine "pixmap" {
 11    image {
 12      function = FLAT_BOX
 13      detail   = "entry_bg"
 14      state    = NORMAL
 15      file     = "Others/null.svg"
 16      stretch  = TRUE
 17    }
 18    image {
 19      function = FLAT_BOX
 20      detail   = "entry_bg"
 21      state    = ACTIVE
 22      file     = "Others/null.svg"
 23      stretch  = TRUE
 24    }
 25
 26    # Spin-Up LTR
 27    image {
 28      function        = BOX
 29      state           = NORMAL
 30      detail          = "spinbutton_up"
 31      file            = "Spin/ltr-up.png"
 32      border          = { 1, 5, 5, 0 }
 33      stretch         = TRUE
 34      overlay_file    = "Arrows/up-alt.png"
 35      overlay_stretch = FALSE
 36      direction       = LTR
 37    }
 38    image {
 39      function        = BOX
 40      state           = PRELIGHT
 41      detail          = "spinbutton_up"
 42      file            = "Spin/ltr-up-hover.png"
 43      border          = { 1, 5, 5, 0 }
 44      stretch         = TRUE
 45      overlay_file    = "Arrows/up-alt-hover.png"
 46      overlay_stretch = FALSE
 47      direction       = LTR
 48    }
 49    image {
 50      function        = BOX
 51      state           = ACTIVE
 52      detail          = "spinbutton_up"
 53      file            = "Spin/ltr-up-active.png"
 54      border          = { 1, 5, 5, 0 }
 55      stretch         = TRUE
 56      overlay_file    = "Arrows/up.png"
 57      overlay_stretch = FALSE
 58      direction       = LTR
 59    }
 60    image {
 61      function        = BOX
 62      state           = INSENSITIVE
 63      detail          = "spinbutton_up"
 64      file            = "Spin/ltr-up-insensitive.png"
 65      border          = { 1, 5, 5, 0 }
 66      stretch         = TRUE
 67      overlay_file    = "Arrows/up-alt-insensitive.png"
 68      overlay_stretch = FALSE
 69      direction       = LTR
 70    }
 71
 72    # Spin-Up RTL
 73    image {
 74      function        = BOX
 75      state           = NORMAL
 76      detail          = "spinbutton_up"
 77      file            = "Spin/rtl-up.png"
 78      border          = { 1, 5, 5, 0 }
 79      stretch         = TRUE
 80      overlay_file    = "Arrows/up-alt.png"
 81      overlay_stretch = FALSE
 82      direction       = RTL
 83    }
 84    image {
 85      function        = BOX
 86      state           = PRELIGHT
 87      detail          = "spinbutton_up"
 88      file            = "Spin/rtl-up-hover.png"
 89      border          = { 1, 5, 5, 0 }
 90      stretch         = TRUE
 91      overlay_file    = "Arrows/up-alt-hover.png"
 92      overlay_stretch = FALSE
 93      direction       = RTL
 94    }
 95    image {
 96      function        = BOX
 97      state           = ACTIVE
 98      detail          = "spinbutton_up"
 99      file            = "Spin/rtl-up-active.png"
100      border          = { 1, 5, 5, 0 }
101      stretch         = TRUE
102      overlay_file    = "Arrows/up.png"
103      overlay_stretch = FALSE
104      direction       = RTL
105    }
106    image {
107      function        = BOX
108      state           = INSENSITIVE
109      detail          = "spinbutton_up"
110      file            = "Spin/rtl-up-insensitive.png"
111      border          = { 1, 5, 5, 0 }
112      stretch         = TRUE
113      overlay_file    = "Arrows/up-alt-insensitive.png"
114      overlay_stretch = FALSE
115      direction       = RTL
116    }
117
118    # Spin-Down LTR
119    image {
120      function        = BOX
121      state           = NORMAL
122      detail          = "spinbutton_down"
123      file            = "Spin/ltr-down.png"
124      border          = { 1, 5, 1, 5 }
125      stretch         = TRUE
126      overlay_file    = "Arrows/down-alt.png"
127      overlay_stretch = FALSE
128      direction       = LTR
129    }
130    image {
131      function        = BOX
132      state           = PRELIGHT
133      detail          = "spinbutton_down"
134      file            = "Spin/ltr-down-hover.png"
135      border          = { 1, 5, 1, 5 }
136      stretch         = TRUE
137      overlay_file    = "Arrows/down-alt-hover.png"
138      overlay_stretch = FALSE
139      direction       = LTR
140    }
141    image {
142      function        = BOX
143      state           = ACTIVE
144      detail          = "spinbutton_down"
145      file            = "Spin/ltr-down-active.png"
146      border          = { 1, 5, 1, 5 }
147      stretch         = TRUE
148      overlay_file    = "Arrows/down.png"
149      overlay_stretch = FALSE
150      direction       = LTR
151    }
152    image {
153      function        = BOX
154      state           = INSENSITIVE
155      detail          = "spinbutton_down"
156      file            = "Spin/ltr-down-insensitive.png"
157      border          = { 1, 5, 1, 5 }
158      stretch         = TRUE
159      overlay_file    = "Arrows/down-alt-insensitive.png"
160      overlay_stretch = FALSE
161      direction       = LTR
162    }
163
164    # Spin-Down RTL
165    image {
166      function        = BOX
167      state           = NORMAL
168      detail          = "spinbutton_down"
169      file            = "Spin/rtl-down.png"
170      border          = { 1, 5, 1, 5 }
171      stretch         = TRUE
172      overlay_file    = "Arrows/down-alt.png"
173      overlay_stretch = FALSE
174      direction       = RTL
175    }
176    image {
177      function        = BOX
178      state           = PRELIGHT
179      detail          = "spinbutton_down"
180      file            = "Spin/rtl-down-hover.png"
181      border          = { 1, 5, 1, 5 }
182      stretch         = TRUE
183      overlay_file    = "Arrows/down-alt-hover.png"
184      overlay_stretch = FALSE
185      direction       = RTL
186    }
187    image {
188      function        = BOX
189      state           = ACTIVE
190      detail          = "spinbutton_down"
191      file            = "Spin/rtl-down-active.png"
192      border          = { 1, 5, 1, 5 }
193      stretch         = TRUE
194      overlay_file    = "Arrows/down.png"
195      overlay_stretch = FALSE
196      direction       = RTL
197    }
198    image {
199      function        = BOX
200      state           = INSENSITIVE
201      detail          = "spinbutton_down"
202      file            = "Spin/rtl-down-insensitive.png"
203      border          = { 1, 5, 1, 5 }
204      stretch         = TRUE
205      overlay_file    = "Arrows/down-alt-insensitive.png"
206      overlay_stretch = FALSE
207      direction       = RTL
208    }
209  }
210}
211
212style "gimp_toolbox_frame" {
213  engine "pixmap" {
214    image {
215      function = SHADOW
216    }
217  }
218}
219
220# Disable gradients completely for GimpSpinScale
221class "GimpSpinScale"                    style "gimp_spin_scale"
222# Remove borders from "Wilbert frame" in Gimp
223widget_class "*<GimpToolbox>*<GtkFrame>" style "gimp_toolbox_frame"