struct axl::gui::CaretPos
#include <axl_gui_Def.h>
struct CaretPos
{
// fields
union
{
struct
{
int m_line;
int m_col;
};
struct
{
uint_t m_line_u;
uint_t m_col_u;
};
};
// construction
CaretPos();
CaretPos(
int line,
int col
);
// methods
bool
operator==(const CaretPos& pos2) const;
bool
operator!=(const CaretPos& pos2) const;
bool
operator<(const CaretPos& pos2) const;
bool
operator<=(const CaretPos& pos2) const;
bool
operator>(const CaretPos& pos2) const;
bool
operator>=(const CaretPos& pos2) const;
int
cmp(const CaretPos& pos2) const;
int
cmp_u(const CaretPos& pos2) const;
void
setup(
int line,
int col
);
void
clipNegative();
};