Subversion Repositories tpanel

Rev

Rev 367 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 367 Rev 368
Line 1985... Line 1985...
1985
        subPg->regCallPlayVideo(_callPlayVideo);
1985
        subPg->regCallPlayVideo(_callPlayVideo);
1986
 
1986
 
1987
        if (_setSubPage)
1987
        if (_setSubPage)
1988
        {
1988
        {
1989
            MSG_DEBUG("Drawing page " << subPg->getNumber() << ": " << subPg->getName() << "...");
1989
            MSG_DEBUG("Drawing page " << subPg->getNumber() << ": " << subPg->getName() << "...");
-
 
1990
#ifdef __ANDROID__
-
 
1991
            __android_log_print(ANDROID_LOG_DEBUG, "tpanel", "TPageManager::run: Drawing page %d: %s ...", subPg->getNumber(), subPg->getName().c_str());
-
 
1992
#endif
1990
            width = subPg->getWidth();
1993
            width = subPg->getWidth();
1991
            height = subPg->getHeight();
1994
            height = subPg->getHeight();
1992
            int left = subPg->getLeft();
1995
            int left = subPg->getLeft();
1993
            int top = subPg->getTop();
1996
            int top = subPg->getTop();
1994
#ifdef _SCALE_SKIA_
1997
#ifdef _SCALE_SKIA_
Line 4274... Line 4277...
4274
 
4277
 
4275
    ulong pageID = (bt->getHandle() >> 16) & 0x0000ffff;
4278
    ulong pageID = (bt->getHandle() >> 16) & 0x0000ffff;
4276
 
4279
 
4277
    if (pageID < REGULAR_SUBPAGE_START)
4280
    if (pageID < REGULAR_SUBPAGE_START)
4278
    {
4281
    {
4279
        TPage *pg = getPage(pageID);
4282
        TPage *pg = getPage((int)pageID);
4280
 
4283
 
4281
        if (!pg)
4284
        if (!pg)
4282
            return;
4285
            return;
4283
 
4286
 
4284
        pg->setCursorPosition(handle, oldPos, newPos);
4287
        pg->setCursorPosition(handle, oldPos, newPos);
4285
    }
4288
    }
4286
    else
4289
    else
4287
    {
4290
    {
4288
        TSubPage *pg = getSubPage(pageID);
4291
        TSubPage *pg = getSubPage((int)pageID);
4289
 
4292
 
4290
        if (!pg)
4293
        if (!pg)
4291
            return;
4294
            return;
4292
 
4295
 
4293
        pg->setCursorPosition(handle, oldPos, newPos);
4296
        pg->setCursorPosition(handle, oldPos, newPos);
Line 4309... Line 4312...
4309
    ulong pageID = (bt->getHandle() >> 16) & 0x0000ffff;
4312
    ulong pageID = (bt->getHandle() >> 16) & 0x0000ffff;
4310
    MSG_DEBUG("Searching for page " << pageID);
4313
    MSG_DEBUG("Searching for page " << pageID);
4311
 
4314
 
4312
    if (pageID < REGULAR_SUBPAGE_START)
4315
    if (pageID < REGULAR_SUBPAGE_START)
4313
    {
4316
    {
4314
        TPage *pg = getPage(pageID);
4317
        TPage *pg = getPage((int)pageID);
4315
 
4318
 
4316
        if (!pg)
4319
        if (!pg)
4317
            return;
4320
            return;
4318
 
4321
 
4319
        pg->setInputFocus(handle, in);
4322
        pg->setInputFocus(handle, in);
4320
    }
4323
    }
4321
    else
4324
    else
4322
    {
4325
    {
4323
        TSubPage *pg = getSubPage(pageID);
4326
        TSubPage *pg = getSubPage((int)pageID);
4324
 
4327
 
4325
        if (!pg)
4328
        if (!pg)
4326
            return;
4329
            return;
4327
 
4330
 
4328
        pg->setInputFocus(handle, in);
4331
        pg->setInputFocus(handle, in);