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
|
###################################################
# You can copy this to ~/.gtkdiffrc or ./.gtkdiffrc
###################################################
# Main purpose of this file is as follows,
# * To use fixed width fonts.
# * Specify gtkoverview widget's color.
# first(left) overview
style "file1 color"
{
fg[NORMAL] = { 1.0, 0.5, 0.0 } /* slider color, but it's used as XOR */
}
# second(right) overview
style "file2 color"
{
fg[NORMAL] = { 0.0, 1.0, 1.0 } /* slider color, but it's used as XOR */
}
# drawing ares between two overviews, ie. the area in which you can see lines connecting two differences.
style "drawing color"
{
fg[NORMAL] = { 0.0, 0.0, 1.0 }
# bg[NORMAL] = { 1.0, 1.0, 0.0 }
}
# Use style "file1 color" for overview1
widget "*file1 overview" style "file1 color"
# Use style "file2 color" for overview2
widget "*file2 overview" style "file2 color"
# Use style "drawing color" for overview-drawing-area
widget "*drawing overview" style "drawing color"
# If you want to see Japanese, you have to use fontset.
style "diff text"
{
# Fixed width font is recommended.
font = "-adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1"
# fontset = "-sony-fixed-medium-r-normal--*-150-*-*-c-*-iso8859-1,-jis-fixed-medium-r-normal--*-150-*-*-c-*-jisx0208.1983-0,-sony-fixed-medium-r-normal--*-150-*-*-c-*-jisx0201.1976-0"
}
#widget_class "*GtkText" style "diff text"
class "GtkText" style "diff text"
|