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 22 Mar 2007 07:50:12 PM UTC  
 
Should Start On: Thu 22 Mar 2007 12:00:00 AM UTCShould be Finished on: Thu 22 Mar 2007 12:00:00 AM UTC
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 02 Aug 2008 05:20:24 PM UTC, 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 01 May 2008 05:04:29 PM UTC, comment #5:

I reopen this task.

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

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

CARRE <yekcim>
Project Administrator
Tue 17 Jul 2007 09:34:40 PM UTC, 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 17 Jul 2007 03:31:34 PM UTC, 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 16 Jul 2007 02:57:06 PM UTC, comment #1:

Work in progress.

(file #2586)

Yannig <drayan>
Project Administrator
Thu 22 Mar 2007 07:50:12 PM UTC, 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)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Aug 2008 05:26:56 PM UTCgentildemonPercent Complete0%=>20%
    Thu 01 May 2008 05:05:00 PM UTCgentildemonCategoryGUI=>menu
    Thu 01 May 2008 05:04:29 PM UTCgentildemonAssigned todrayan=>gentildemon
      Open/ClosedClosed=>Open
    Wed 16 Jan 2008 01:41:54 PM UTCyekcimOpen/ClosedOpen=>Closed
    Thu 26 Jul 2007 08:16:27 PM UTCdrayanStatusNone=>In Progress
    Mon 16 Jul 2007 02:57:05 PM UTCdrayanAttached File-=>Added menu_keyboard.diff, #2586
    Mon 16 Jul 2007 11:13:57 AM UTCdrayanAssigned toNone=>drayan
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup