1 // Aseprite Document Library 2 // Copyright (c) 2001-2016 David Capello 3 // 4 // This file is released under the terms of the MIT license. 5 // Read LICENSE.txt for more information. 6 7 #ifndef DOC_LAYER_LIST_H_INCLUDED 8 #define DOC_LAYER_LIST_H_INCLUDED 9 #pragma once 10 11 #include <vector> 12 13 namespace doc { 14 15 class Layer; 16 17 typedef std::vector<Layer*> LayerList; 18 typedef int layer_t; 19 20 layer_t find_layer_index(const LayerList& layers, const Layer* layer); 21 bool are_layers_adjacent(const LayerList& layers); 22 23 } // namespace doc 24 25 #endif // DOC_LAYER_LIST_H_INCLUDED 26