public smartPageViewer(IEnumerable <String> __content, int _height, int __width, int __leftRightMargin = 0, int __leftRightPadding = 0) : base(_height, __width, __leftRightMargin, __leftRightPadding) { content = new textContentLines(); content.insert(__content, innerWidth); //margin.top = 1; //margin.bottom = 2; //ageManager = new textPageManager<String>(); refresh(); }
public smartInfoLineSection(Int32 linePos, IPlatform platform, int __leftRightMargin = 0, int __leftRightPadding = 2) : base("-", "=", platform.width, __leftRightMargin, __leftRightPadding) { height = platform.height; if (linePos < 0) { linePos = platform.height - linePos; } if (linePos > 1) { margin.top = linePos - 1; } padding.top = 0; contentLines = new textContentLines(this); setStyle(textSectionLineStyleName.heading); }
/// <summary> /// Deklarisanje linijskog templejta /// </summary> /// <param name="__bgDecoration"></param> /// <param name="__width"></param> /// <param name="__leftRightMargin"></param> /// <param name="__leftRightPadding"></param> public textLineContent(string __mrDecoration, string __bgDecoration, int __width, int __leftRightMargin, int __leftRightPadding) : base(__mrDecoration, __bgDecoration, __width, __leftRightMargin, __leftRightPadding) { height = 1; contentLines = new textContentLines(this); }