URL:
  <http://gna.org/patch/?1639>

                 Summary: Patch to add keyboard input (using arrow keys) to
sliders in gui2
                 Project: Battle for Wesnoth
            Submitted by: greywhind
            Submitted on: Saturday 04/17/2010 at 20:51
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This patch is designed to allow the "slider" control in gui2 to get keyboard
focus when clicked and then to be changed by pressing and/or holding any of
the arrow keys.

Keyboard input is ignored when the control is disabled, and it is only parsed
when the control has keyboard focus.

This patch is designed to solve the "Arrow keys for the slider" EasyCoding
idea. <http://wiki.wesnoth.org/EasyCoding#Arrow_keys_for_the_slider>

To Test: Run wesnoth with the arguments: --new-widgets -s wesnoth.org. Click
on the "Create Game" button, deselect "Use map settings," and click on one of
the sliders on the right side. Use the arrow keys to change the slider's
value.

See the attachment for the patch file.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 04/17/2010 at 20:51  Name: sliderpatch.patch  Size: 5kB   By:
greywhind
The patch to allow gui2 sliders to take keyboard input.
<http://gna.org/patch/download.php?file_id=9003>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1639>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to