Example #1
0
        public void Set(Situation Situation)
        {
            Assistment.Texts.Text oben = new Assistment.Texts.Text();
            oben.preferedFont = ObenFont;
            oben.addRegex(@"Initiative                \d" + Situation.Akteur.FertigkeitsWert("Initiative"));
            oben.addAbsatz();
            oben.addRegex(Situation.Akteur.Charakter.VollstandigerName + "'s ");
            oben.addRegex(@"\d" + Situation.Name + @"\d");
            oben.alignment = .5f;

            DrawBox gOben = oben.Geometry(3);

            gOben.setup(new RectangleF(new PointF(), Size));
            SizeOben = new SizeF(Size.Width, gOben.box.Height);
            SizeUnten = new SizeF(Size.Width, Size.Height - SizeOben.Height);
            SizeF SizeUntenMitAbstand = SizeUnten.sub(Abstand);

            this[1, 0] = new FixedBox(SizeOben, gOben);

            FixedBox f = new FixedBox(SizeUntenMitAbstand, Situation.GetDrawBox(SizeUntenMitAbstand));
            this[2, 0] = f.Geometry(Abstand);
            f.Alignment = new SizeF(0.5f, 0f);
        }
Example #2
0
 public Assistment.Texts.Text GetText(string s, Color Color)
 {
     Assistment.Texts.Text t = new Assistment.Texts.Text();
     t.preferedFont = Druck;
     t.addWort(s, new SolidBrush(Color));
     return t;
 }
Example #3
0
 public override string ToString()
 {
     Assistment.Texts.Text t = new Assistment.Texts.Text();
     InCString(t);
     return t.ToString();
 }