Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 02:25:44 am
Xith3D CommunityGeneral CategoryNews (Moderators: Marvin Fröhlich, 'n ddrylliog)HUD, Button, focus, MenuSystem, etc...
Pages: [1]
Print
Author Topic: HUD, Button, focus, MenuSystem, etc...  (Read 911 times)
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« on: 11. December 2007, 11:44:27 pm »

OK, I couldn't find the original thread, where we talked about this. Did I ever say, that board-search really, really sucks in SMF? If I didn't, I will do it again Angry.

I have made the Button Widget responsive for the LEFT, RIGHT, UP and DOWN arrow keys as well as the SPACE and ENTER keys. Pressing the arrow keys on a focussed button will cause the next focusable Widget to be focused, which is closest in the requested direction.

ENTER and SPACE will fire the onClicked event of the current focussed button.

Of course this works perfectly in the HUD MenuSystem.

Marvin
Logged
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« Reply #1 on: 12. December 2007, 05:45:08 pm »

Yay!  Cheesy Thanks Marvin
Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic