renderer_pos_info_t Struct Reference
Information about a position relative to the renderer. More...
#include <kernwin.hpp>
Public Member Functions | |
renderer_pos_info_t () | |
Constructor. | |
bool | operator== (const renderer_pos_info_t &r) const |
bool | operator!= (const renderer_pos_info_t &r) const |
Public Attributes | |
int | node |
the node, or -1 if the current renderer is not a graph renderer. More... | |
short | cx |
the X coords of the character in the current line. More... | |
short | cy |
the Y coords of the character. More... | |
short | sx |
the number of chars that are scrolled (flat mode only) | |
Detailed Description
Information about a position relative to the renderer.
Member Data Documentation
◆ node
int renderer_pos_info_t::node |
the node, or -1 if the current renderer is not a graph renderer.
◆ cx
short renderer_pos_info_t::cx |
the X coords of the character in the current line.
When in graph mode: X coords of the character in 'node'.
When in flat mode: X coords of the character in the line, w/o
taking scrolling into consideration.
◆ cy
short renderer_pos_info_t::cy |
the Y coords of the character.
When in graph mode: Y coords of the character in 'node'.
When in flat mode: Line number, starting from the top.
The documentation for this struct was generated from the following file:
Generated by 1.9.3