Read-only mirror of https://gitlab.gnome.org/GNOME/gnome-shell
4902a600d5
In order for transformation animations to look good, they need to be incremental and have some order to them (e.g., fade out hidden items, then shrink to close the void left over). Chaining animations in this way can be error prone and wordy using just Tweener callbacks. This commit adds a new set of classes to help: - Task. encapsulates schedulable work to be run in a specific scope. - ConsecutiveBatch. runs a series of tasks in order and completes when the last in the series finishes. - ConcurrentBatch. runs a set of tasks at the same time and completes when the last to finish completes. - Hold. prevents a batch from completing the pending task until the hold is released. The tasks associated with a batch are specified in a list at batch construction time as either task objects or plain functions. Batches are task objects, themselves, so they can be nested. For now, these APIs are temporarily getting staged in a gdm/ specific subdirectory so they will be available for use by GDM. They aren't specific to GDM, or even to doing animations, though, so the API may eventually move in some form or another to a more general location. Alternatively, the APIs may ultimately get dropped entirely and replaced by something else. https://bugzilla.gnome.org/show_bug.cgi?id=657082 |
||
---|---|---|
.settings | ||
data | ||
js | ||
man | ||
po | ||
src | ||
tests | ||
tools | ||
.gitignore | ||
.project | ||
AUTHORS | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
gnome-shell.doap | ||
MAINTAINERS | ||
Makefile.am | ||
NEWS | ||
README |
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience. For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see: http://live.gnome.org/GnomeShell Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' product. License ======= GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.