X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Frowpainter.h;h=480a2dd56c58a946e7fe99626795e1edc5131ed5;hb=4db3e641ed6765e005343010cb90ee8af26f8f99;hp=03998513dc20854a6c7be9a70c36de505cd93bd4;hpb=2b44b0ef4d76ce24b6aa67edb5407a594bcdbb87;p=lyx.git diff --git a/src/rowpainter.h b/src/rowpainter.h index 03998513dc..480a2dd56c 100644 --- a/src/rowpainter.h +++ b/src/rowpainter.h @@ -58,8 +58,9 @@ public: void paintSelection(); private: + void paintSeparator(double orig_x, double width, FontInfo const & font); void paintForeignMark(double orig_x, Language const * lang, int desc = 0); - void paintMisspelledMark(double orig_x, int desc, bool changed); + void paintMisspelledMark(double orig_x, bool changed); void paintHebrewComposeChar(pos_type & vpos, FontInfo const & font); void paintArabicComposeChar(pos_type & vpos, FontInfo const & font); void paintChars(pos_type & vpos, FontInfo const & font, @@ -68,13 +69,19 @@ private: void paintFromPos(pos_type & vpos, bool changed); void paintInset(Inset const * inset, pos_type const pos); void paintInlineCompletion(Font const & font); - + /// return left margin int leftMargin() const; /// return the label font for this row FontInfo labelFont() const; + /// + void paintLabel(); + /// + void paintTopLevelLabel(); + + /// contains painting related information. PainterInfo & pi_; @@ -104,6 +111,10 @@ private: int const yo_; // current baseline double x_; int width_; + float solid_line_thickness_; + int solid_line_offset_; + float dotted_line_thickness_; + int dotted_line_offset_; }; } // namespace lyx