protected override void initialize() { texture = Global.Content.Load <Texture2D>(@"Graphics/Windowskins/Message_Window"); Src_Rect = new Rectangle(0, 0, 0, 0); Background = new Parchment_Box(48, 32); loc = new Vector2(48, 48); }
public ChapterTransitionAlternateTitle(string label) { Label = new TextSprite( Config.UI_FONT, Global.Content, "HelpBlue", new Vector2(8, 2), label); Label.opacity = 0; Label.stereoscopic = Config.CH_TRANS_BANNER_DEPTH; Window = new Parchment_Box( Math.Max(72, ((Label.text_width + 7) / 8) * 8 + 16), 20); Window.opacity = 0; this.draw_offset = new Vector2(40, 0); }