Changeset 117


Ignore:
Timestamp:
Mar 17, 2008, 2:53:08 AM (10 years ago)
Author:
Sam Hocevar
Message:
  • Make jwindow::redraw virtual so that subclasses can implement theirs.
  • Fix initialisation of _x1 and _y1 in argumentless jwindow::jwindow.
Location:
abuse/trunk/src/imlib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/jwindow.cpp

    r116 r117  
    379379jwindow::jwindow()
    380380{
    381     _x1 = _y1 = _x2 = _y2 = 0;
     381    _x1 = left_border();
     382    _y1 = jw_top + 5;
     383    _x2 = _y2 = 0;
     384
    382385    _hidden = true;
    383386    _moveable = true;
    384387    // property.flags = JWINDOW_NOAUTOHIDE_FLAG;
     388
    385389    inm = new input_manager(this, NULL);
    386390    reconfigure();
  • abuse/trunk/src/imlib/jwindow.hpp

    r111 r117  
    109109    ~jwindow();
    110110
    111     void redraw();
     111    virtual void redraw();
    112112    void resize(int L, int H);
    113113    void clear(int color = 0) { screen->bar(x1(), y1(), x2(), y2(), color); }
Note: See TracChangeset for help on using the changeset viewer.