/[libvob]/libvob/src/jni/Main.cxx
ViewVC logotype

Diff of /libvob/src/jni/Main.cxx

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

revision 1.20 by mudyc, Thu Jul 31 14:05:17 2003 UTC revision 1.21 by tjl, Sat Aug 2 09:07:11 2003 UTC
# Line 124  struct GZZJNIEventHandler : public Os::E Line 124  struct GZZJNIEventHandler : public Os::E
124                   env->GetMethodID(cls,                   env->GetMethodID(cls,
125                           "keystroke", "(Ljava/lang/String;)V");                           "keystroke", "(Ljava/lang/String;)V");
126              mid_mousepress =              mid_mousepress =
127                env->GetMethodID(cls, "mouse", "(IIII)V");                env->GetMethodID(cls, "mouse", "(IIIII)V");
128              mid_timeout =              mid_timeout =
129                env->GetMethodID(cls, "timeout", "(I)V");                env->GetMethodID(cls, "timeout", "(I)V");
130              mid_windowClosed =              mid_windowClosed =
# Line 153  struct GZZJNIEventHandler : public Os::E Line 153  struct GZZJNIEventHandler : public Os::E
153          DBG(dbg_event) << "Call finished\n";          DBG(dbg_event) << "Call finished\n";
154      }      }
155    
156      virtual void mouse(int x, int y, int button, int type) {      virtual void mouse(int x, int y, int button, int type, int modifiers) {
157    
158          jnienv_eventloop->CallVoidMethod(globalRef, mid_mousepress, x, y, button, type);          jnienv_eventloop->CallVoidMethod(globalRef, mid_mousepress, x, y, button, type, modifiers);
159          javaExc(jnienv_eventloop, "mouse");          javaExc(jnienv_eventloop, "mouse");
160      }      }
161      virtual void timeout(int id) {      virtual void timeout(int id) {

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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