/[classpath]/classpath/native/jni/qt-peer/qtscrollpanepeer.cpp
ViewVC logotype

Diff of /classpath/native/jni/qt-peer/qtscrollpanepeer.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.1 by gnu_andrew, Tue Aug 16 16:22:39 2005 UTC revision 1.2.2.2 by gnu_andrew, Sat Sep 10 15:32:04 2005 UTC
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
38    #include <assert.h>
39  #include <QScrollArea>  #include <QScrollArea>
40  #include <QScrollBar>  #include <QScrollBar>
41  #include <gnu_java_awt_peer_qt_QtScrollPanePeer.h>  #include <gnu_java_awt_peer_qt_QtScrollPanePeer.h>
# Line 65  public: Line 66  public:
66    
67  #define I_KNOW_WHAT_IM_DOING  #define I_KNOW_WHAT_IM_DOING
68  #define PARENT QScrollArea  #define PARENT QScrollArea
69  #include "eventmethods.cpp"  #include "eventmethods.h"
70  };  };
71    
72    
# Line 130  JNIEXPORT void JNICALL Java_gnu_java_awt Line 131  JNIEXPORT void JNICALL Java_gnu_java_awt
131    
132    QWidget *child = view->viewport();    QWidget *child = view->viewport();
133    assert( child );    assert( child );
134      //  child->setGeometry( 0, 0, w, h );
135    //   child->update();
136    mainThread->postEventToMain( new AWTResizeEvent(child, 0, 0, w, h) );    mainThread->postEventToMain( new AWTResizeEvent(child, 0, 0, w, h) );
137  }  }
138    

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26