Пример #1
0
 public void moveToActivePanel(Panel panel)
 {
     if (panel == null)
         return;
     this.panel = panel;
     if (panel is IListPanel)
     {
         if (this.targetEntry != ((IListPanel)panel).getCurrentEntry())
         {
             this.targetEntry = ((IListPanel)panel).getCurrentEntry();
             moveToTargetEntry(POP_TIME);
         }
     }
 }
Пример #2
0
 public void updateCursor()
 {
     if (this.panel is IListPanel)
     {
         if (this.targetEntry != ((IListPanel)panel).getCurrentEntry())
         {
             this.targetEntry = ((IListPanel)panel).getCurrentEntry();
             moveToTargetEntry(ARROW_SCROLL_TIME);
         }
     }
 }