2 /* Circ.Frontend.GtkSharp : GTK# frontend for Circ
3 * Copyright (C) 2007 LAVAL Jérémie
5 * This file is licensed under the terms of the LGPL.
7 * For the complete licence see the file COPYING.
12 using System
.Collections
.Generic
;
14 namespace Circ
.Frontend
.GtkSharp
18 public GtkText(string text
)
24 public readonly Queue
<TextTransformation
> textTrans
= new Queue
<TextTransformation
>();
27 public struct TextTransformation
29 public readonly int startIndex
;
30 public readonly int endIndex
;
32 public readonly TextTag
[] tags
;
33 public readonly Gdk
.Pixbuf image
;
35 public TextTransformation(int start
, int end
, TextTag
[] tags
)
37 this.startIndex
= start
;
43 public TextTransformation(int start
, int end
, TextTag tag
): this(start
, end
, new TextTag
[] { tag }
)
47 public TextTransformation(int start
, int end
, Gdk
.Pixbuf img
)
49 this.startIndex
= start
;