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

                 Summary: Add quit and back buttons to storyscreen
                 Project: Battle for Wesnoth
            Submitted by: icelus
            Submitted on: Monday 04/05/10 at 13:53
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Here's a first attempt at a patch for the back button for story screens:

http://wiki.wesnoth.org/Good_Ideas
http://www.wesnoth.org/forum/viewtopic.php?t=8857

There is already a patch in the tracker for this:

https://gna.org/patch/?1536

However I didn't realise someone had started when I wrote this, and this is
rather further along than that one is.

Problems with that patch:

* Back doesn't work properly (try it on the last page of the intro where it
shows you the map) - can't go back.
* Doesn't wire up back button in all the situations next button is
clickable.
* Probably violates screen size in USE_TINY_GUI mode
* There's no key shortcut for back.

Features this patch has:

* Handles back properly so that you can go all the way back to the start from
the end.
* Handles skip properly so that all segments are skipped not just per segment
(but can still go back so this is ok!)
* Adds functional quit button.
* Adds key controls: RIGHT is added for next, LEFT and BACKSPACE for back.

Improves the implementation:
* no longer throws quit exception to quit (was just caught and
suppressed anyway).
* play story segments from either end so that back can work properly.
* adds reverse direction iteration for config::const_child_iterator (was
needed)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Monday 04/05/10 at 13:53  Name: storyscreen.patch  Size: 15kB   By:
icelus

<http://gna.org/patch/download.php?file_id=8816>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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