MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / add_cursor_x

Method add_cursor_x

DSView/pv/view/viewport.cpp:2139–2144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2137}
2138
2139void Viewport::add_cursor_x()
2140{
2141 double ypos = (_cur_preY - _view.get_view_rect().top()) * 1.0 / _view.get_view_height();
2142 _view.add_xcursor(ypos, ypos);
2143 _view.show_xcursors(true);
2144}
2145
2146void Viewport::UpdateLanguage()
2147{

Callers

nothing calls this directly

Calls 4

get_view_heightMethod · 0.80
add_xcursorMethod · 0.80
show_xcursorsMethod · 0.80
get_view_rectMethod · 0.45

Tested by

no test coverage detected