X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Frowitempaintparams.hpp;h=ec66076b8860476644fabf6733b3ee2258d1cef1;hp=5c71edcbbcb10783f7cd06ed1e50758af9f05e3c;hb=9ab27c433c838bd604d77e4ee54f16415f85ab7c;hpb=4c8a6a6d03e2a12f67d910a83589072b478114cb diff --git a/pv/view/rowitempaintparams.hpp b/pv/view/rowitempaintparams.hpp index 5c71edcb..ec66076b 100644 --- a/pv/view/rowitempaintparams.hpp +++ b/pv/view/rowitempaintparams.hpp @@ -21,6 +21,8 @@ #ifndef PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H #define PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H +#include + namespace pv { namespace view { @@ -53,6 +55,11 @@ public: return offset_ / scale_; } +public: + static QFont font(); + + static int text_height(); + private: int left_; int right_;