]> git.lyx.org Git - features.git/commit
Define new inPixels helper in BufferView
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 28 Apr 2017 13:06:30 +0000 (15:06 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 28 Apr 2017 13:06:30 +0000 (15:06 +0200)
commitde990f72e1ba856ed5f8e5c617c17cdf382ab3a7
treeb290c4cbc8dcc34d179928eab4c26ce108792e92
parent4436431ea53b44d95a33f8fc94353edd49c1f06b
Define new inPixels helper in BufferView

Length::inPixels(MetricsBase const &) and VSpace::inPixels(BufferView
const &) should be moved respectuvely to MetricsBase and BufferView:
core file are not supposed to use GUI files.
src/BufferView.cpp
src/BufferView.h
src/Length.h
src/VSpace.cpp