Ignore:
Timestamp:
May 15, 2011, 6:22:25 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: rename Jwindow's x and y members to m_pos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/scroller.h

    r643 r659  
    2323  void drag_area(int &x1, int &y1, int &x2, int &y2);
    2424  void dragger_area(int &x1, int &y1, int &x2, int &y2);
    25   int b1x() { if (vert) return x+l; else return x; }
    26   int b1y() { if (vert) return y; else return y+h; }
    27   int b2x() { if (vert) return x+l; else return x+l-bw(); }
    28   int b2y() { if (vert) return y+h-bh(); else return y+h; }
     25  int b1x() { if (vert) return m_pos.x+l; else return m_pos.x; }
     26  int b1y() { if (vert) return m_pos.y; else return m_pos.y+h; }
     27  int b2x() { if (vert) return m_pos.x+l; else return m_pos.x+l-bw(); }
     28  int b2y() { if (vert) return m_pos.y+h-bh(); else return m_pos.y+h; }
    2929  unsigned char *b1();
    3030  unsigned char *b2();
Note: See TracChangeset for help on using the changeset viewer.