add yOffsetChange commented out (not needed for scrolling, just for UI

to show thumb.)
This commit is contained in:
ehouse 2010-01-07 14:27:20 +00:00
parent ecd5667cf0
commit 9bd51e4305
2 changed files with 12 additions and 1 deletions

View file

@ -14,4 +14,7 @@ public interface XW_UtilCtxt {
void clearTimer( int why ); void clearTimer( int why );
void requestTime(); void requestTime();
// Don't need this unless we have a scroll thumb to indicate position
//void yOffsetChange( int oldOffset, int newOffset );
} }

View file

@ -100,7 +100,15 @@ and_util_trayHiddenChange(XW_UtilCtxt* uc, XW_TrayVisState newState,
static void static void
and_util_yOffsetChange(XW_UtilCtxt* uc, XP_U16 oldOffset, XP_U16 newOffset ) 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 #ifdef XWFEATURE_TURNCHANGENOTIFY