~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/DefaultStyle.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
                        }
52
52
                }
53
53
                
54
 
                public override Color LineNumberFgHighlighted {
 
54
                public override Cairo.Color LineNumberFgHighlighted {
55
55
                        get {
56
 
                                return new Gdk.Color (122, 118, 103);
 
56
                                return new Cairo.Color (122 / 255.0, 118 / 255.0, 103 / 255.0);
57
57
                        }
58
58
                }
59
 
                Color iconBarBg;
60
 
                public override Color IconBarBg {
 
59
                Cairo.Color iconBarBg;
 
60
                public override Cairo.Color IconBarBg {
61
61
                        get {
62
62
                                return iconBarBg;
63
63
                        }
64
64
                }
65
65
 
66
 
                Color iconBarSeperator;
67
 
                public override Color IconBarSeperator {
 
66
                Cairo.Color iconBarSeperator;
 
67
                public override Cairo.Color IconBarSeperator {
68
68
                        get {
69
69
                                return iconBarSeperator;
70
70
                        }
76
76
                        }
77
77
                }
78
78
 
79
 
                public override Color FoldLineHighlighted {
 
79
                public override Cairo.Color FoldLineHighlighted {
80
80
                        get {
81
 
                                return new Gdk.Color (122, 118, 103);
 
81
                                return new Cairo.Color (122 / 255.0, 118 / 255.0 , 103 / 255.0);
82
82
                        }
83
83
                }
84
84
                
89
89
                        }
90
90
                }
91
91
 
92
 
                public override Color LineMarker {
 
92
                public override Cairo.Color LineMarker {
93
93
                        get {
94
 
                                return new Gdk.Color (212, 208, 193);
 
94
                                return new Cairo.Color (212 / 255.0, 208 / 255.0, 193 / 255.0);
95
95
                        }
96
96
                }
97
97
 
98
 
                public override Color Ruler {
 
98
                public override Cairo.Color Ruler {
99
99
                        get {
100
 
                                return new Gdk.Color (172, 168, 153);
 
100
                                return new Cairo.Color (172 / 255.0, 168 / 255.0, 153 / 255.0);
101
101
                        }
102
102
                }
103
103
                
129
129
                        this.selectionStyle = new ChunkStyle (style.Text (StateType.Selected), style.Base (StateType.Selected));
130
130
                        this.defaultStyle = new ChunkStyle (style.Text (StateType.Normal), style.Base (StateType.Normal));
131
131
                        this.lineNumberStyle = new ChunkStyle (new Gdk.Color (172, 168, 153), style.Base (StateType.Normal));
132
 
                        this.iconBarBg = style.Background (StateType.Normal);
133
 
                        this.iconBarSeperator = style.Background (StateType.Active);
 
132
                        this.iconBarBg = ToCairoColor (style.Background (StateType.Normal));
 
133
                        this.iconBarSeperator = ToCairoColor (style.Background (StateType.Active));
134
134
                }
135
135
 
136
136
        }