Lines Matching defs:wx
1491 grid_wrap_position(struct grid *gd, u_int px, u_int py, u_int *wx, u_int *wy)
1507 *wx = ax;
1513 grid_unwrap_position(struct grid *gd, u_int *px, u_int *py, u_int wx, u_int wy)
1525 * yy is now 0 on the unwrapped line which contains wx. Walk forwards
1526 * until we find the end or the line now containing wx.
1528 if (wx == UINT_MAX) {
1531 wx = gd->linedata[yy].cellused;
1534 if (wx < gd->linedata[yy].cellused)
1536 wx -= gd->linedata[yy].cellused;
1540 *px = wx;