jnonline / ogstudio

Automatically exported from code.google.com/p/ogstudio
0 stars 0 forks source link

keyboard in interfaces #274

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Хотелось бы поддержки клавиатуры в 
интерфейсе.
Чтобы в списках можно было клавишами 
вверх-вниз выбирать пункты, плюс табом 
переключаться между 
списками/кнопками/прочим.
Также нужно листать текст правил и about 
кнопками вверх/вниз, и листать его же 
постранично с помощью page up и page down.
И, соответственно, как-то отображать фокус 
(можно например чуть светлее делать рамку 
элемента).

Ну и не забыть про фокус на ввод текста 
когда спрашиваем у игрока имя для рейтинга. 
:)

Original issue reported on code.google.com by Kai.Saerthen.Darker on 1 Jun 2011 at 5:49

GoogleCodeExporter commented 9 years ago
Also, accept ESC as Cancel in Y/N dialogs. The one upon exit doesn't work.

Original comment by korn...@gmail.com on 6 Jun 2011 at 12:04

GoogleCodeExporter commented 9 years ago

Original comment by korn...@gmail.com on 8 Jun 2011 at 8:00

GoogleCodeExporter commented 9 years ago
no key focus is implemented in CEGUI. ask CE how to implement it correctly so 
that both we and CEGUI can benefit.

Original comment by korn...@gmail.com on 9 Jun 2011 at 10:59

GoogleCodeExporter commented 9 years ago
CE said it's not easy, and i may do it with a patch, but it's not 100% 
guaranteed.

Original comment by korn...@gmail.com on 9 Jun 2011 at 1:05

GoogleCodeExporter commented 9 years ago
i thought about masquerading key focus with mouse hover, but ItemListBox does 
not have "mouse hover" state.
CE said he will experiment with how to accomplish it this weekend. contact him 
again in a week.

Original comment by korn...@gmail.com on 14 Jun 2011 at 3:27

GoogleCodeExporter commented 9 years ago
CE replied:

Not the only way of doing this - and may not be 'best' for what you want, but 
for example.

Original comment by korn...@gmail.com on 15 Jun 2011 at 9:08

Attachments:

GoogleCodeExporter commented 9 years ago
i was advised by Kulik to use animations: 
http://www.cegui.org.uk/wiki/index.php/Animation_System#Via_separate_animation_l
ist_XML_.28AnimationManager::loadAnimationsFromXML.29
this all seems difficult.

Original comment by korn...@gmail.com on 23 Jul 2011 at 12:37

GoogleCodeExporter commented 9 years ago

Original comment by korn...@gmail.com on 25 Jul 2011 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by korn...@gmail.com on 5 Dec 2011 at 8:49

GoogleCodeExporter commented 9 years ago
Nobody applied for CEGUI keyboard focus implementation, so we're out of luck 
for another year in general solution.

See if I can come up with something non-generic for each window.

Original comment by korn...@gmail.com on 14 Apr 2012 at 9:03

GoogleCodeExporter commented 9 years ago

Original comment by korn...@gmail.com on 28 Apr 2012 at 2:28

GoogleCodeExporter commented 9 years ago
Asked about it: http://forums.librocket.com/viewtopic.php?f=2&t=898

Original comment by korn...@gmail.com on 31 May 2012 at 6:19

GoogleCodeExporter commented 9 years ago

Original comment by Kai.Saerthen.Darker on 31 May 2012 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by Kai.Saerthen.Darker on 13 Oct 2012 at 4:00

GoogleCodeExporter commented 9 years ago
Keyboard support is gonna be implemented in CEGUI during GSoC 2013 and I'm 
mentoring it.

Original comment by korn...@gmail.com on 6 May 2013 at 12:52