| 1 | // Aseprite | 
|---|
| 2 | // Copyright (C) 2018 David Capello | 
|---|
| 3 | // | 
|---|
| 4 | // This program is distributed under the terms of | 
|---|
| 5 | // the End-User License Agreement for Aseprite. | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef APP_TAGS_HANDLING_H_INCLUDED | 
|---|
| 8 | #define APP_TAGS_HANDLING_H_INCLUDED | 
|---|
| 9 | #pragma once | 
|---|
| 10 |  | 
|---|
| 11 | namespace app { | 
|---|
| 12 |  | 
|---|
| 13 | // How to adjust tags when we move a frame in the border of a tag. | 
|---|
| 14 | enum TagsHandling { | 
|---|
| 15 | // Do not move tags. | 
|---|
| 16 | kDontAdjustTags, | 
|---|
| 17 | // Move tags "in the best possible way" when the user doesn't | 
|---|
| 18 | // specify what to do about them. | 
|---|
| 19 | kDefaultTagsAdjustment, | 
|---|
| 20 | // Put frames inside tags. | 
|---|
| 21 | kFitInsideTags, | 
|---|
| 22 | // Put frames outside tags. | 
|---|
| 23 | kFitOutsideTags, | 
|---|
| 24 | }; | 
|---|
| 25 |  | 
|---|
| 26 | } // namespace app | 
|---|
| 27 |  | 
|---|
| 28 | #endif | 
|---|
| 29 |  | 
|---|