]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_kerninset.h
Fix event loop to no longer eat CPU
[lyx.git] / src / mathed / math_kerninset.h
index 48d50638b817ea07a3ef28e8f410b66bb4313c50..817fbb4cf1e56c677ad9e83bb7c086e54057a97f 100644 (file)
@@ -35,9 +35,14 @@ public:
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream & ns) const;
+       ///
+       int width() const;
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
        /// width in em
        LyXLength wid_;
+       /// in pixels
+       mutable int wid_pix_;
+       
 };
 #endif