mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-25 09:58:11 +01:00
add yOffsetChange commented out (not needed for scrolling, just for UI
to show thumb.)
This commit is contained in:
parent
ecd5667cf0
commit
9bd51e4305
2 changed files with 12 additions and 1 deletions
|
@ -14,4 +14,7 @@ public interface XW_UtilCtxt {
|
|||
void clearTimer( int why );
|
||||
void requestTime();
|
||||
|
||||
// Don't need this unless we have a scroll thumb to indicate position
|
||||
//void yOffsetChange( int oldOffset, int newOffset );
|
||||
|
||||
}
|
||||
|
|
|
@ -100,7 +100,15 @@ and_util_trayHiddenChange(XW_UtilCtxt* uc, XW_TrayVisState newState,
|
|||
static void
|
||||
and_util_yOffsetChange(XW_UtilCtxt* uc, XP_U16 oldOffset, XP_U16 newOffset )
|
||||
{
|
||||
LOG_FUNC();
|
||||
#if 0
|
||||
AndUtil* util = (AndUtil*)uc;
|
||||
JNIEnv* env = util->env;
|
||||
const char* sig = "(II)V";
|
||||
jmethodID mid = getMethodID( env, util->j_util, "yOffsetChange", sig );
|
||||
|
||||
(*env)->CallVoidMethod( env, util->j_util, mid,
|
||||
oldOffset, newOffset );
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef XWFEATURE_TURNCHANGENOTIFY
|
||||
|
|
Loading…
Reference in a new issue