taskWarmux - Tasks: task #4950, Make menu usable using only the...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

task #4950: Make menu usable using only the keyboard

Submitted by:  Matthieu Fertré <gentildemon>
Submitted on:  Thu Mar 22 19:50:12 2007  
 
Should Start On: Thu Mar 22 00:00:00 2007Should be Finished on: Thu Mar 22 00:00:00 2007
Category: menuPriority: 1 - Later
Status: In ProgressPercent Complete: 20%
Assigned to: Matthieu Fertré <gentildemon>Open/Closed: Open

(Jump to the original submission Jump to the original submission)

Sat Aug 2 17:20:24 2008, SVN revision 4756:

[task #4950] Main menu is usable using keyboard (up/down/enter)

(Browse SVN revision 4756)

Matthieu Fertré <gentildemon>
Project AdministratorIn charge of this item.
Thu May 1 17:04:29 2008, comment #5:

I reopen this task.

Matthieu Fertré <gentildemon>
Project AdministratorIn charge of this item.
Wed Jan 16 13:41:54 2008, comment #4:

will be done with https://gna.org/task/index.php?5370

CARRE <yekcim>
Project Administrator
Tue Jul 17 21:34:40 2007, SVN revision 2830:

Work on the task #4950 : Make menu usable using only with the keyboard. Actually it just updating display. You can use up/down arrow to navigate through the button. But if you press enter, you will be bring to the play menu. Sory, you'll have to wait :)

(Browse SVN revision 2830)

Yannig <drayan>
Project Administrator
Tue Jul 17 15:31:34 2007, comment #2:

work in progress.

void WidgetList::SetFocusOnNextWidget()
{
printf("Widget = %d\n", (int)current_selected);
// No widget => exit
if(widget_list.size() == 0) {
current_selected = NULL;
return;
}
// Previous selection ?
if(current_selected != NULL)
current_selected->Unselect();
else {
printf("First selection\n");
current_selected = (*widget_list.begin());
current_selected->Select();
return;
}
// Setting previous to NULL and find next widget
std::list<Widget*>::iterator w = widget_list.begin();
for(; w != widget_list.end(); w++) {
printf("one iteration\n");
if(current_selected == (*w))
break;
}
printf("skip one\n");
w++;
// The next widget is not the end ?
if(w != widget_list.end()) {
printf("selection of next\n");
current_selected = (*w);
} else {
printf("selection of first one\n");
current_selected = (*widget_list.begin());
}
current_selected->Select();
}

Yannig <drayan>
Project Administrator
Mon Jul 16 14:57:06 2007, comment #1:

Work in progress.

(file #2586)

Yannig <drayan>
Project Administrator
Thu Mar 22 19:50:12 2007, original submission:

Currently, only ENTER and ESCAPE key are managed in the menus. ENTER valids and ESCAPE cancels.

It should be interesting to manage, at least, arrow keys in main menu for example.

Matthieu Fertré <gentildemon>
Project AdministratorIn charge of this item.

 

Attached Files
file #2586:  menu_keyboard.diff added by drayan (6kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by yekcim (Posted a comment)
  • -unavailable- added by drayan (Updated the item)
  • -unavailable- added by gentildemon (Submitted the item)
  •  

    Error: not logged in

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Aug 2 17:26:56 2008gentildemonPercent Complete0%=>20%
    Thu May 1 17:05:00 2008gentildemonCategoryGUI=>menu
    Thu May 1 17:04:29 2008gentildemonAssigned todrayan=>gentildemon
      Open/ClosedClosed=>Open
    Wed Jan 16 13:41:54 2008yekcimOpen/ClosedOpen=>Closed
    Thu Jul 26 20:16:27 2007drayanStatusNone=>In Progress
    Mon Jul 16 14:57:05 2007drayanAttached File-=>Added menu_keyboard.diff, #2586
    Mon Jul 16 11:13:57 2007drayanAssigned toNone=>drayan
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup